PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,311 All time: 2,935 This week: 134Up
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 is available for providing paid consulting. Contact Alex B. Snet .
Classes: 6 packages by
Country: Russian Federation Russian Federation
Age: 33
All time rank: 3449 in Russian Federation Russian Federation
Week rank: 373 Down15 in Russian Federation Russian Federation Down
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 684
Downloadconsole-progress-bar-2008-12-09.tar.gz
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,311
This week:0
All time:2,935
This week:134Up
User Comments (1)
Neat, clean , really easy to implement.
14 years ago (michel beaussart)
60%StarStarStarStar