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
StarStarStar 49%Total: 1,313 This week: 1All time: 2,936 This week: 560Up
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: 34
All time rank: 3459 in Russian Federation Russian Federation
Week rank: 416 Down24 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,313
This week:1
All time:2,936
This week:560Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2711
 
Neat, clean , really easy to implement.
14 years ago (michel beaussart)
60%StarStarStarStar