ryoyin/inventory
Inventory (Laravel 5 Package)
This package is under development. Please come back later.
##Installation In order to install this package, you need laravel 5 and add
"ryoyin/inventory": "dev-master"
to your composer.json. Then run composer install or composer update.
or you can run the composer require command from your terminal:
composer require ryoyin/inventory dev-master
Then in your config/app.php add
Ryoyin\Inventory\InventoryServiceProvider::class,
in the providers array, and then run
composer dump-autoload
#Migration & Publish View Run
php artisan migrate
It will install 3 tables to your database "items", "warehouse" and "warehouse_item" for a "many to many" situation.
To custom template, run
php artisan vendor:publish --tag=ryoyin-inventory
two view file will copy to your view directory
#Routing
inventory/item to access the CRUD item view
#How to use Access Item model:
use Ryoyin\Inventory;
$inventory = new Inventory\Item;
Related Packages
braseidon/steam-inventory-laravel
SteamInventory is a wrapper around the JSON Steam API that grabs a user's items...
34
10
vasil7112/steam-inventory-laravel
SteamInventory is a wrapper around the JSON Steam API that grabs a user's items...
14
0