Download the PHP package ceekays/generators without Composer
On this page you can find all versions of the php package ceekays/generators. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ceekays/generators
More information about ceekays/generators
Files in ceekays/generators
Package generators
Short Description Extra generator files for Laravel 5.*
License MIT License
Informations about the package generators
Custom Laravel Generators
This package provides an extended list of generators to speed up your Laravel development process. These generators include:
make:reportmake:service
Additionally, the package also overrides the default location for Eloquent models.
By default, models are placed in app/ directory.
However, the directory quickly becomes messy as model files get mixed up together with other specialised directories such as Console, Http, Jobs, Policies, Providers, etc.
This package overrides Laravel's behaviour of creating models and introduces a Models directory where your models will be located.
The package is compatible with Laravel 5 or later.
Installation
This package is installed using Composer.
composer require ceekays/generators
Laravel 5.5 or Later
The package uses package auto-discovery, as such for Laravel 5.5 or later you are not required to manually add the service provider.
Laravel < 5.5
For Laravel versions lower than 5.5, add following service provider to the array of providers in config/app.php:
Ceekays\Generators\GeneratorsServiceProvider::class,
That's it! You're all set to go. Run the php artisan command from the Terminal to see the new commands.
Usage
- The
make:modelcommand has not changed its default behaviour except for the location of the models. php artisan make:report UsersReport --table=usersorphp artisan make:report UsersReport -t usersphp artisan make:service CreateUserService
License
This package is open-sourced software licensed under the MIT license.