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  
Name: Chun-Sheng, Li <contact>
Classes: 41 packages by
Country: Taiwan Taiwan
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

  Files folder image Files (76)  /  app  
File Role Description
Files folder imageConsole (1 file)
Files folder imageExceptions (1 file)
Files folder imageHttp (1 file, 2 directories)
Files folder imageProviders (5 files)
  Accessible without login Plain text file Figlet.php Conf. Configuration script
  Plain text file User.php Class Class source

  Files folder image Files (76)  /  app  /  Console  
File Role Description
  Plain text file Kernel.php Class Class source

  Files folder image Files (76)  /  app  /  Exceptions  
File Role Description
  Plain text file Handler.php Class Class source

  Files folder image Files (76)  /  app  /  Http  
File Role Description
Files folder imageControllers (3 files, 1 directory)
Files folder imageMiddleware (3 files)
  Plain text file Kernel.php Class Class source

  Files folder image Files (76)  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageAuth (4 files)
  Plain text file Controller.php Class Class source
  Plain text file GenerateFigletController.php Class Class source
  Plain text file WelcomeController.php Class Class source

  Files folder image Files (76)  /  app  /  Http  /  Controllers  /  Auth  
File Role Description
  Plain text file ForgotPasswordController.php Class Class source
  Plain text file LoginController.php Class Class source
  Plain text file RegisterController.php Class Class source
  Plain text file ResetPasswordController.php Class Class source

  Files folder image Files (76)  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file EncryptCookies.php Class Class source
  Plain text file RedirectIfAuthenticated.php Class Class source
  Plain text file VerifyCsrfToken.php Class Class source

  Files folder image Files (76)  /  app  /  Providers  
File Role Description
  Plain text file AppServiceProvider.php Class Class source
  Plain text file AuthServiceProvider.php Class Class source
  Plain text file BroadcastServiceProvider.php Class Class source
  Plain text file EventServiceProvider.php Class Class source
  Plain text file RouteServiceProvider.php Class Class source

  Files folder image Files (76)  /  bootstrap  
File Role Description
  Plain text file app.php Class Class source
  Accessible without login Plain text file autoload.php Aux. Configuration script

  Files folder image Files (76)  /  config  
File Role Description
  Plain text file app.php Class Class source
  Plain text file auth.php Class Class source
  Accessible without login Plain text file broadcasting.php Aux. Configuration script
  Accessible without login Plain text file cache.php Aux. Configuration script
  Accessible without login Plain text file compile.php Aux. Configuration script
  Accessible without login Plain text file database.php Aux. Configuration script
  Accessible without login Plain text file filesystems.php Aux. Configuration script
  Accessible without login Plain text file mail.php Aux. Configuration script
  Accessible without login Plain text file queue.php Aux. Configuration script
  Plain text file services.php Class Class source
  Accessible without login Plain text file session.php Aux. Configuration script
  Accessible without login Plain text file view.php Aux. Configuration script

  Files folder image Files (76)  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (2 files)
Files folder imageseeds (1 file)

  Files folder image Files (76)  /  database  /  factories  
File Role Description
  Plain text file ModelFactory.php Class Class source

  Files folder image Files (76)  /  database  /  migrations  
File Role Description
  Plain text file 2014_10_12_000000_create_users_table.php Class Class source
  Plain text file 2014_10_12_100000_...rd_resets_table.php Class Class source

  Files folder image Files (76)  /  database  /  seeds  
File Role Description
  Plain text file DatabaseSeeder.php Class Class source

  Files folder image Files (76)  /  public  
File Role Description
Files folder imagecss (2 files)
Files folder imagejs (1 file)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file bower.json Data Auxiliary data
  Plain text file index.php Class Class source
  Accessible without login Plain text file robots.txt Doc. Documentation
  Accessible without login Plain text file web.config Data Auxiliary data

  Files folder image Files (76)  /  public  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data
  Accessible without login Image file favicon.ico Icon Icon image

  Files folder image Files (76)  /  public  /  js  
File Role Description
  Accessible without login Plain text file app.js Data Auxiliary data

  Files folder image Files (76)  /  resources  
File Role Description
Files folder imageassets (2 directories)
Files folder imagelang (1 directory)
Files folder imageviews (1 file, 1 directory)

  Files folder image Files (76)  /  resources  /  assets  
File Role Description
Files folder imagejs (2 files, 1 directory)
Files folder imagesass (2 files)

  Files folder image Files (76)  /  resources  /  assets  /  js  
File Role Description
Files folder imagecomponents (1 file)
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.js Data Auxiliary data

  Files folder image Files (76)  /  resources  /  assets  /  js  /  components  
File Role Description
  Accessible without login Plain text file Example.vue Data Auxiliary data

  Files folder image Files (76)  /  resources  /  assets  /  sass  
File Role Description
  Accessible without login Plain text file app.scss Data Auxiliary data
  Accessible without login Plain text file _variables.scss Data Auxiliary data

  Files folder image Files (76)  /  resources  /  lang  
File Role Description
Files folder imageen (4 files)

  Files folder image Files (76)  /  resources  /  lang  /  en  
File Role Description
  Accessible without login Plain text file auth.php Aux. Configuration script
  Accessible without login Plain text file pagination.php Aux. Configuration script
  Accessible without login Plain text file passwords.php Aux. Configuration script
  Accessible without login Plain text file validation.php Aux. Configuration script

  Files folder image Files (76)  /  resources  /  views  
File Role Description
Files folder imageerrors (3 files)
  Accessible without login Plain text file welcome.blade.php Aux. Configuration script

  Files folder image Files (76)  /  resources  /  views  /  errors  
File Role Description
  Accessible without login Plain text file 404.blade.php Aux. Configuration script
  Accessible without login Plain text file 405.blade.php Aux. Configuration script
  Accessible without login Plain text file 503.blade.php Aux. Configuration script

  Files folder image Files (76)  /  routes  
File Role Description
  Accessible without login Plain text file api.php Example Example script
  Accessible without login Plain text file console.php Example Example script
  Accessible without login Plain text file web.php Example Example script

  Files folder image Files (76)  /  tests  
File Role Description
  Plain text file ExampleTest.php Class Class source
  Plain text file TestCase.php Class Class source

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