PHP Classes

How to Use a PHP Figlet Application to Display Text Banners on a Terminal Console Using the Package Figlet Generator: Generate text banners with given fonts

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-04-20 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
figlet-generator 1.0MIT/X Consortium ...5PHP 5, Graphics, Text processing, Con...
Description 

Author

This package can generate text banners with given fonts.

It implements an application that can take a text string parameter from the command line console arguments to display as text banner.

The package calls a separate figlet class that generate text characters that display a banner with the parameter text in the console terminal.

Picture of Chun-Sheng, Li
  Performance   Level  
Innovation award
Innovation award
Nominee: 18x

Winner: 1x

 

Instructions

Example

<?php

use Illuminate\Foundation\Inspiring;

/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/

Artisan::command('inspire', function () {
   
$this->comment(Inspiring::quote());
})->
describe('Display an inspiring quote');


Details

Figlet text generator

Figlet text generator is a web application that helps you generating the funny FIGLET texts and images.

To do lists

  • ~~finish the CI testing via travis-ci~~

Unit testing

We use the `QUnit` to test the front end and AJAX code.

You can refer the folowing steps to build your own local unit testing environment.

  • clone the repo which branch name is ```qunit-testing```.
  • download the composer.phar
  • download the bowerphp.phar
  • do ```chmod 777 storage``` or let the storage folder have the writing permission.
  • run ```php composer.phar install``` in root folder
  • run ```cp .env.example .env```
  • run ```php artisan key:generate```
  • run ```php bowerphp.phar install``` in public folder
  • run ```php artisan serve```
  • open the web browser then you will see the unit testing result.

Contribution

Thank you for considering contributing to the Figlet text generator!

License

The Figlet text generator is open-sourced software licensed under the MIT license.


  Files folder image Files (76)  
File Role Description
Files folder imageapp (2 files, 4 directories)
Files folder imagebootstrap (2 files)
Files folder imageconfig (12 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (5 files, 2 directories)
Files folder imageresources (3 directories)
Files folder imageroutes (3 files)
Files folder imagetests (2 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .htaccess Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file gulpfile.js Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Configuration script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0