PHPackages                             convenient/tiny-progress-bar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. convenient/tiny-progress-bar

ActiveLibrary[CLI &amp; Console](/categories/cli)

convenient/tiny-progress-bar
============================

An itty bitty, super simple, 2 line progress/loading bar for PHP command line applications.

0.1.0(11y ago)0210OSL-3.0PHP

Since May 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/convenient/php-cli-tiny-progress-bar)[ Packagist](https://packagist.org/packages/convenient/tiny-progress-bar)[ RSS](/packages/convenient-tiny-progress-bar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

php-cli-tiny-progress-bar
=========================

[](#php-cli-tiny-progress-bar)

[![Build Status](https://camo.githubusercontent.com/8459c44e74ca5a6eb1564af977d16eef495afbc2e561e12b216f52637d0f08a3/68747470733a2f2f7472617669732d63692e6f72672f636f6e76656e69656e742f7068702d636c692d74696e792d70726f67726573732d6261722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/convenient/php-cli-tiny-progress-bar)[![Coverage Status](https://camo.githubusercontent.com/4e053784435aa97f6d96aa2c923566d857aa1dd469b21a9d3f915d31e5225edd/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f636f6e76656e69656e742f7068702d636c692d74696e792d70726f67726573732d6261722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/convenient/php-cli-tiny-progress-bar?branch=master)

An itty bitty, super simple, 2 line progress bar for PHP command line applications.

Takes two parameters

1. The size of your `Traversable` or - if you're lazy - the `Traversable` itself.
2. How many characters across you want your progress bar to be.

It's hosted on packagist, so just add `convenient/tiny-progress-bar: "~0.1"` to your `composer.json` :)

Example
-------

[](#example)

[![bash example](sample.gif "Bash Example")](sample.gif)

### Passing the size of the Traversable

[](#passing-the-size-of-the-traversable)

```
