Login   Register  
PHP Classes
elePHPant
Icontem

Console Progress Bar: Draw a progress bar in ANSI console

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,272 This week: 1All time: 2,788 This week: 1,420Up
Version License PHP version Categories  
console-progress-bar 1.0GNU General Public Lice...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: 24
All time rank: 3327 in Russian Federation Russian Federation
Week rank: 770 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 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,272All time:2,788
 This week:1This week:1,420Up
 User Comments (1)  
 
Neat, clean , really easy to implement.
5 years ago (michel beaussart)
60%StarStarStarStar