PHP code example of lwz / laravel-extend-artisan

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

    

lwz / laravel-extend-artisan example snippets


   'providers' => [
        // ...
        Lwz\LaravelExtend\Artisan\ArtisanServiceProvider::class,
    ],
   

   protected array $providers = [
       FooServiceProvider::class,
   ];
   
shell
    composer dump-autoload
    
shell
   php artisan vendor:publish --provider="Lwz\LaravelExtend\Artisan\ArtisanServiceProvider" --force