linhnh95/laravel-lumen-generate

Library Support For Structure Laravel

v1.1.17 2023-09-26 03:37 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