PHP code example of butcherman / artisan-dev-commands

1. Go to this page and download the library: Download butcherman/artisan-dev-commands 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/ */

    

butcherman / artisan-dev-commands example snippets


composer 

php artisan log:clean

php artisan log:purge

php artisan make:trait TraitName    //  or  Folder/TraitName

php artisan make:page Folder.pageName   //  To add the component using the Vue's Options API, add the --optionsApi flag

php artisan make:vuecomponent Folder.componentName      //  To add the component using the Vue's Options API, add the --optionsApi flag