library php-batch
A framework for PHP batch processing
davispeixoto/php-batch
A framework for PHP batch processing
- Friday, May 22, 2015
- by davispeixoto
- Repository
- 6 Watchers
- 34 Stars
- 3 Installations
- HTML
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 7 Open issues
- 1 Versions
- 0 % Grown
PHP-Batch
, (*1)
A framework for PHP batch processing, (*2)
Motivation
- scalability for medium to large applications (let the servers to serve, and keep heavy processing in another offline place)
- PHP is popular and is getting better every day, in tools and community. And there is no such tool yet for PHP.
- Aside mainframe and big data worlds, apparently there is only Spring Batch, a Java framework for this sort of processing, and yes, this work is highly inspirated by it.
Use cases
- images processing (resizing, watermarks, upload to CDN servers)
- processing credit cards payments
- weekly, end of month, quarters, etc, reports generation
- sending transactional notifications
- data sync between systems (ERP to CRM, for example)
- enterprise partners files transfer and processing
Be Warned!
More than other common software artifacts, heavy processes must be thought and architected way more thoroughly, (*3)
Features
- Parallelization
- StopWatcher (for time-boxed batches)
- Manual Stop for Business Reasons
- Retry
- Skip
- Logging
- Events
- Chaining
Installation
Configuration
Usage
License
This software is licensed under the MIT license, (*4)
Versioning
This project follows the Semantic Versioning, (*5)
Thanks
An amazing "Thank you, guys!" for Jetbrains folks,
who kindly empower this project with a free open-source license for PhpStorm which can bring a whole new level of joy for coding., (*6)
, (*7)
![PhpStorm][4], (*8)
dev-master
9999999-dev
A framework for PHP batch processing
Sources
Download
MIT
The Requires
The Development Requires
by
Davis Peixoto
php
batch processing
offline processing