Open hengsoheak opened 6 years ago
Hi @hengsoheak,
This is because inventory doesn't support later versions of Laravel.
I'd love to update this package, unfortunately I'm just so strapped for time with other packages / projects along with working full time.
If you'd like to submit a PR to resolve this issue I will definitely merge it in.
Thanks!
What is PR?
@hengsoheak you can replace the fire method with handle method. and run the command..
`{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=7.0.0", "fideloper/proxy": "~3.3", "laravel/framework": "5.5.", "laravel/tinker": "~1.0", "laravelcollective/html": "^5.5", "stevebauman/inventory" : "1.6."
} `
I follow your step
Add inventory to your composer.json file:
"stevebauman/inventory" : "1.6.*" Now perform a composer update on your project's source.
Then insert the service provider in your config/app.php config file:
'Stevebauman\Inventory\InventoryServiceProvider' Either publish the assets to customize the database tables using:
php artisan vendor:publish And then run the migrations:
php artisan migrate Or use the inventory install command:
php artisan inventory:install
After that I got error
Method Stevebauman\Inventory\Commands\InstallCommand::handle() does not exist