PHP code example of riozzaki / artisan-moose

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

    

riozzaki / artisan-moose example snippets


  use \Riozzaki\ArtisanMoose;
  
  $this->moose(['Message']);


  
  namespace App\Console\Commands;
  
  use Illuminate\Console\Command;
  use Riozzaki\ArtisanMoose;
  
  class YourCommand extends Command
  {
      use ArtisanMoose;
  
      /**
       * The name and signature of the console command.
       *
       * @var string
       */
      protected $signature = 'moose:test';
  
      /**
       * Execute the console command.
       *
       * @return void
       */
      public function handle()
      {
          $this->moose([
              'Test message!',
              "All is OK!"
          ]);
      }
  }