From 51fd771bb8bd193f693d275f30f7de8fc7a67fec Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Thu, 7 Sep 2017 10:37:25 +0800 Subject: [PATCH] Set support for laravel 5.5 --- composer.json | 13 ++++++++++--- src/CrudMake.php | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) 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();