riozzaki/artisan-moose

A Laravel package for moosing artisan info message.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/riozzaki/artisan-moose

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

This package is not auto-updated.

Last update: 2026-01-18 13:45:20 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