├── .gitattributes ├── .gitignore ├── .travis.yml ├── composer.json ├── composer.lock ├── phpunit.xml ├── readme.md ├── src ├── Commands │ └── ResourceMakeCommand.php ├── ResourceGeneratorServiceProvider.php └── Stubs │ ├── controller.stub │ ├── factory.stub │ ├── migration.stub │ ├── model.stub │ └── routes.stub └── tests ├── ResourceGeneratorTest.php ├── generated ├── app │ └── Http │ │ ├── Controllers │ │ └── .gitignore │ │ └── routes.php └── database │ ├── factories │ └── ModelFactory.php │ └── migrations │ └── .gitignore └── stubs ├── ModelFactory.stub ├── controller.stub ├── date_create_badgers_table.stub ├── factory.stub ├── generated_routes.stub ├── migration_columns.stub └── routes.stub /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /.idea 3 | /app/Animal.php -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/.travis.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/phpunit.xml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/readme.md -------------------------------------------------------------------------------- /src/Commands/ResourceMakeCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Commands/ResourceMakeCommand.php -------------------------------------------------------------------------------- /src/ResourceGeneratorServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/ResourceGeneratorServiceProvider.php -------------------------------------------------------------------------------- /src/Stubs/controller.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Stubs/controller.stub -------------------------------------------------------------------------------- /src/Stubs/factory.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Stubs/factory.stub -------------------------------------------------------------------------------- /src/Stubs/migration.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Stubs/migration.stub -------------------------------------------------------------------------------- /src/Stubs/model.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Stubs/model.stub -------------------------------------------------------------------------------- /src/Stubs/routes.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/src/Stubs/routes.stub -------------------------------------------------------------------------------- /tests/ResourceGeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/ResourceGeneratorTest.php -------------------------------------------------------------------------------- /tests/generated/app/Http/Controllers/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /tests/generated/app/Http/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/generated/app/Http/routes.php -------------------------------------------------------------------------------- /tests/generated/database/factories/ModelFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/generated/database/factories/ModelFactory.php -------------------------------------------------------------------------------- /tests/generated/database/migrations/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /tests/stubs/ModelFactory.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/ModelFactory.stub -------------------------------------------------------------------------------- /tests/stubs/controller.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/controller.stub -------------------------------------------------------------------------------- /tests/stubs/date_create_badgers_table.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/date_create_badgers_table.stub -------------------------------------------------------------------------------- /tests/stubs/factory.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/factory.stub -------------------------------------------------------------------------------- /tests/stubs/generated_routes.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/generated_routes.stub -------------------------------------------------------------------------------- /tests/stubs/migration_columns.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/migration_columns.stub -------------------------------------------------------------------------------- /tests/stubs/routes.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amochohan/laravel-make-resource/HEAD/tests/stubs/routes.stub --------------------------------------------------------------------------------