PHP code example of kerigard / laravel-commands

1. Go to this page and download the library: Download kerigard/laravel-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/ */

    

kerigard / laravel-commands example snippets

bash
php artisan vendor:publish --provider="Kerigard\LaravelCommands\CommandsServiceProvider" --tag=commands-config
bash
php artisan vendor:publish --provider="Kerigard\LaravelCommands\CommandsServiceProvider" --tag=commands-stubs
bash
php artisan pint
bash
php artisan pint app/Models routes/api.php -t --preset psr12 --config vendor/my-company/coding-style/pint.json
bash
php artisan make:enum Status
bash
php artisan make:trait HasRoles
bash
php artisan make:contract CreatesUser
bash
php artisan make:contract CreatesUser --action
bash
php artisan make:action CreateUser
bash
php artisan make:action CreateUser --contract CreatesUser
bash
php artisan make:action CreateUser --contract
bash
php artisan make:service UserService
bash
php artisan make:service UserService --contract User
bash
php artisan make:service UserService --contract