riozzaki/artisan-moose

A Laravel package for moosing artisan info message.

v1.0.0 2018-08-16 14:53 UTC

This package is not auto-updated.

Last update: 2025-07-06 10:58:47 UTC


README

A Laravel package for moosing artisan info message.

Installation

composer require riozzaki/artisan-moose

Usage

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

Example

<?php
  
  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!"
          ]);
      }
  }

Result

result