We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`{ "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."
}, "require-dev": { "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~6.0" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "extra": { "laravel": { "dont-discover": [ ] } }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true }
} `
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
The text was updated successfully, but these errors were encountered:
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!
Sorry, something went wrong.
What is PR?
@hengsoheak you can replace the fire method with handle method. and run the command..
No branches or pull requests
`{
"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
The text was updated successfully, but these errors were encountered: