News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Moon's Blog:
PHP command line progress bar
March 11, 2010 @ 10:23:41

Brian Moon has a quick post that links to a but of code that gives you a progress bar for the command line that's flexible enough to be used in an number of situations.

Was just looking through some code and came across this function I wrote some time ago. If you do a lot of your processing scripts in PHP like we do, you probably need to know what is going on sometimes. So, I made a progress bar for use on the cli. I thought I would share it.

You can see a demo of it here (screencast) or just download the code. Comments on the post also point out the PEAR Console_Progressbar package and the ez Components class for creating a more advanced progress bar.

0 comments voice your opinion now!
progressbar commandline cli screencast


blog comments powered by Disqus

Similar Posts

NETTUTS.com: CodeIgniter From Scratch: Day 4 Newsletter Signup

Davey Shafik's Blog: Debugging on the Command Line with xdebug

Jim Plush's Blog: PHP Meet Mr. FireBug - PHP Debugging for Web 2.0

Simas Toleikis' Blog: Writing a PHP daemon application

Dave Marshall' Blog: Asynchronous cache priming with progress bars via Gearman, Memcache and Dojo


Community Events

Don't see your event here?
Let us know!


extension interview api laravel5 community xdebug podcast introduction language unittest release install php7 library series laravel example voicesoftheelephpant opinion framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework