2017 © Pedro Peláez
 

library cli-progressbar

CLI Progress Bar

image

kanduvisla/cli-progressbar

CLI Progress Bar

  • Monday, March 27, 2017
  • by kanduvisla
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CLI ProgressBar

A basic progress bar for usage in CLI scripts. It provides the following information:, (*1)

  • Progress Bar
  • Percentage
  • Current Iteration / Total Iterations
  • Estimated Time
  • Memory Usage

Example

The output will look somewhat like this:, (*2)

example, (*3)

Installation

Installation is done simply using Composer:, (*4)

composer require kanduvisla/cli-progressbar

Usage

use Kanduvisla\ProgressBar;
ProgressBar::show($currentIteration, $totalIterations);

See examples/basic.php for a simple example., (*5)

The Versions

27/03 2017

dev-master

9999999-dev

CLI Progress Bar

  Sources   Download

MIT

by Giel Berkers