Downloads
Stars
Version
This package help you to create custom controller with corresponding request and model.
Use the following command to add package to your Laravel project
composer require dy05/laravel-tricks
You have one command to publish stub file into stubs\laravel-tricks directory in you base app directory, feel free to update file at your convenience
php artisan dy05:publish
You can start by creating new Laravel Controller, Model and Request for Book entity using the following command
php artisan dy05:create Book
It will create BookController in Controllers directory, BookRequest in Requests directory and Book model in Model directory
For the first, it creates BaseRequest if file doesn't exist
You can update the stub file in stubs\laravel-tricks to customize as you want
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.