定制 davispeixoto/php-batch 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

davispeixoto/php-batch

Composer 安装命令:

composer require davispeixoto/php-batch

包简介

A framework for PHP batch processing

README 文档

README

Latest Stable Version Total Downloads Scrutinizer Code Quality Codacy Badge Code Climate Build Status SensioLabsInsight

A framework for PHP batch processing

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

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

Versioning

This project follows the Semantic Versioning

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.

Jetbrains

PhpStorm

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 42
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 41
  • Watchers: 5
  • Forks: 3
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-04