2017 © Pedro Peláez
 

library redistracker

Use Redis to track progress during large jobs

image

robrogers/redistracker

Use Redis to track progress during large jobs

  • Sunday, March 26, 2017
  • by robrogers3
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

RedisTracker

Latest Version on Packagist ![Software License][ico-license] ![Total Downloads][ico-downloads], (*1)

Instead of rolling your own tracker to track the progress of a large job, you can use this., (*2)

As your job progresses, track what you have processed. So when it fails, you can retry without having to figure out what you have done and what you have not., (*3)

Install

Via Composer, (*4)

``` bash $ composer require robrogers/redistracker, (*5)


## Usage ``` php /** use Config lib or your choice * @see https://github.com/Luracast */ use Luracast\Config\Config; use robrogers\Tracker\RedisTracker; Config::init(__DIR__ . '/config'); $config = Config::get('tracker.config'); $tracker = RedisTracker::singleton('your-key',1); $tracker->push('xxx'); $tracker->has('xxx'); $tracker->get('xxx');

Change log

Please see CHANGELOG for more information what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*8)

Security

If you discover any security related issues, please email robrogers@me.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

26/03 2017

dev-master

9999999-dev

Use Redis to track progress during large jobs

  Sources   Download

MIT

The Requires

 

The Development Requires

26/03 2017

1.0

1.0.0.0

Use Redis to track progress during large jobs

  Sources   Download

MIT

The Requires

 

The Development Requires