2017 © Pedro Peláez
 

library smart-progressbar

image

jjsquady/smart-progressbar

  • Tuesday, May 2, 2017
  • by jjsquady
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Smart ProgressBar

This a little study project to make a progressbar more smarty :D, (*1)

The first goal was create a ConsoleProgressBar, that make a more easier see a task progress., (*2)

Instalation

via composer:

composer require jjsquady/smart-progressbar

Usage

$someLength = 10000;
$progressBar = ConsoleProgressBar::init($someLength);

// Inside the task
echo $progressBar->update($currentLength)->render();

//or
echo $progressBar->increment($amountLength)->render();

Output

$php // the output render some like [======> ] (25%) 2500/10000 Lines. Remaining 2 sec. Elapsed 5 sec., (*3)

Thats it! Thanks!, (*4)

Licence MIT., (*5)

The Versions

02/05 2017

dev-master

9999999-dev

  Sources   Download

The Development Requires

by Avatar zeusjammer

02/05 2017

0.1.1

0.1.1.0

  Sources   Download

The Development Requires

by Avatar zeusjammer

29/04 2017

0.1.0

0.1.0.0

  Sources   Download

The Development Requires

by Avatar zeusjammer