2017 © Pedro Peláez
 

library artisan-format

Format your Artisan Command Output

image

tfhinc/artisan-format

Format your Artisan Command Output

  • Friday, March 9, 2018
  • by crafuse
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Artisan Format

Software License, (*1)

Format Laravel Artisan command output., (*2)

Requirements

This package requires:, (*3)

  • PHP >= 7.0.0
  • Laravel >= 5.5

Installation

Install the package via Composer:, (*4)

``` bash composer require tfhinc/artisan-format, (*5)


The package will be found via auto discovery. You may also add the service provider in `app/config.php`: ``` php TFHInc\ArtisanFormat\ArtisanFormatServiceProvider::class,

Publish the artisan-format.php configuration file to your config/ directory:, (*6)

``` bash php artisan vendor:publish --provider="TFHInc\ArtisanFormat\ArtisanFormatServiceProvider", (*7)


## Usage Artisan Format provides a series of Traits that can be used within your Artisan command classes. - [Sections](#sections) ### Sections The Sections trait produces distinct sections of text in your command output. Include the `ArtianFormatSections` trait in your command class: ``` php use TFHInc\ArtisanFormat\Traits\ArtisanFormatSections; class Run extends Command { use ArtisanFormatSections;

Generate a Section with a Header and Content:, (*8)

php $this->sectionBox('Standard Section Box Header', 'Standard Section Box Content');, (*9)

Output:, (*10)

, (*11)

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

09/03 2018

dev-master

9999999-dev https://github.com/TFHInc/artisan-format

Format your Artisan Command Output

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php artisan tfhinc

08/03 2018

dev-develop

dev-develop https://github.com/TFHInc/artisan-format

Format your Artisan Command Output

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php artisan tfhinc

08/03 2018

1.0.3

1.0.3.0 https://github.com/TFHInc/artisan-format

Format your Artisan Command Output

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php artisan tfhinc

08/03 2018

1.0.2

1.0.2.0 https://github.com/TFHInc/artisan-format

Format your Artisan Command Output

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php artisan tfhinc

08/03 2018

1.0.1

1.0.1.0

Format your Artisan Command Output

  Sources   Download

The Requires

 

The Development Requires

08/03 2018

1.0.0

1.0.0.0

Format your Artisan Command Output

  Sources   Download

The Requires

 

The Development Requires