PHP code example of luffluo / laravel-datitong-generators

1. Go to this page and download the library: Download luffluo/laravel-datitong-generators library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

luffluo / laravel-datitong-generators example snippets


$ php artisan admin:make ModuleName/ControllerName

$ php artisan admin:make ModuleName/ControllerName -m=ModelName

$ php artisan admin:make ModuleName/ControllerName -m=ParentDir/ModelName

$ php artisan admin:make ModuleName/ControllerName --service|-s

$ php artisan admin:make ModuleName/ControllerName -s=ServiceName

$ php artisan admin:make ModuleName/ControllerName -s=ParentDir/ServiceName

$ php artisan admin:make ModuleName/ControllerName --request|-r

$ php artisan admin:make ModuleName/ControllerName -r=RequestName

$ php artisan admin:make ModuleName/ControllerName -r=ParentDir/RequestName