PHP Classes

PHP Console Color Text: Display colored text in a terminal console

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-06-10 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 36 All time: 10,547 This week: 189Up
Version License PHP version Categories
consolacolortextphp 1MIT/X Consortium ...7PHP 5, Time and Date, Console
Description Author

This class can display colored text in a terminal console.

It can take some parameters to render text with colors and returns a text string that will make the text appear in a terminal console with the given colors with specific color names.

Currently, it supports parameters that define the text string, the background color, the foreground color, etc.

Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Age: ???
All time rank: 76221 in Poland Poland
Week rank: 49 Up3 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x

Details

Consola Powershell Color Text To PHP

The class allows you to enter colors in the console powershell for PHP

ConsolaColorAll

This is an image

Screenshots  
  • ConsolaColorAll-640px
  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageClassApp (1 file)

  Files folder image Files  /  src  /  ClassApp  
File Role Description
  Plain text file ColorTextConsole.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 80%
Total:36
This week:0
All time:10,547
This week:189Up