diff --git a/composer.json b/composer.json index 3d8df00..c1861f5 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "luthfi/simple-crud-generator", - "description": "A simple CRUD generator for Laravel 5.4.", + "description": "A simple CRUD generator for Laravel 5.5.", "license": "MIT", "authors": [ { @@ -20,10 +20,17 @@ }, "require": { "php": ">=7.0", - "illuminate/support": "5.4.*" + "illuminate/support": "5.5.*" }, "require-dev": { - "phpunit/phpunit": "~5.7", + "phpunit/phpunit": "~6.0", "orchestra/testbench": "~3.0" + }, + "extra": { + "laravel": { + "providers": [ + "Luthfi\\CrudGenerator\\ServiceProvider" + ] + } } } diff --git a/src/CrudMake.php b/src/CrudMake.php index 76f1479..d0900df 100644 --- a/src/CrudMake.php +++ b/src/CrudMake.php @@ -39,7 +39,7 @@ class CrudMake extends Command * * @return void */ - public function fire() + public function handle() { $this->getModelName();