PHP Classes
elePHPant
Icontem

Console Progress Bar: Draw a progress bar in ANSI console

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-12-09 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,295 All time: 2,861 This week: 904Up
Version License PHP version Categories
console-progress-bar 1.0GNU General Publi...5PHP 5, Console
Description Author

This class can be used to draw a progress bar in an ANSI console.

It extends the ANSI console class to render a progress bar.

The bar starts in a given console column and display a given percentage next to a bar made of repeated characters that represent the width of the bar relative to the total character width of the bar.

Innovation Award
PHP Programming Innovation award nominee
December 2008
Number 4
Some applications need to execute tasks that may take a long time to execute. Therefore it is useful to show a progress bar, so the user has an idea of how much was done and how much remains to complete the task.

This class provides means to render a progress bar for tasks executed by shell based applications that run on ANSI consoles.

Manuel Lemos
Picture of Alex B. Snet
Name: Alex B. Snet <contact>
Classes: 6 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file progressbar.php Class Class

Downloadconsole-progress-bar-2008-12-09.zip 666
Downloadconsole-progress-bar-2008-12-09.tar.gz 638
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Console Download .zip .tar.gz This package is extending for Console class Recommended
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,295
This week:0
All time:2,861
This week:904Up
User Comments (1)
Neat, clean , really easy to implement.
7 years ago (michel beaussart)
60%StarStarStarStar