linhnh95 / laravel-lumen-generate
Library Support For Structure Laravel
v1.1.17
2023-09-26 03:37 UTC
Requires
- php: >=7.3
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- laravel/lumen-framework: ^8
This package is auto-updated.
Last update: 2024-10-26 06:09:43 UTC
README
Laravel Lumen Generate is a package that helps to create structure and help with the project construction process.
Installation
Require this package with composer. It is recommended to only require the package.
composer require linhnh95/laravel-api-lumen-generate
Usage
After running the composer. Turn on the terminal screen and run the command
Class RepositoryProvider
Adding the text before class
/**BEGIN CONFIG USE**/
/**END CONFIG USE**/
class RepositoryProvider extends ServiceProvider
{
}
Adding the text to register
function
public function register()
{
/**BEGIN CONFIG**/
/**END CONFIG**/
}
To create a series of processing files for a Model
php artisan lumen-generate:make {name} // name can be in the form Folder/FileName