limen/php-jobs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

limen/php-jobs

Composer 安装命令:

composer require limen/php-jobs

包简介

A package who helps to organize jobs easily

README 文档

README

Build Status Packagist

Features

  • jobs are packed into jobset
  • jobs can be executed orderly or not orderly or combined
  • job's execution time is settable
  • job would be retried after failed until reached the max retry count
  • the max retry count is adjustable
  • job's next execution time is settable
  • job can be asynchronous (execute and wait feedback)

Installation

Recommend to install via composer.

composer require "limen/php-jobs"

Usage

see examples tests

Objects

Jobset

A jobset is consist of one or more jobs.

The jobs can be executed orderly or not orderly or combined.

Job

Job has execution time, so you can decide when the job should be executed.

If a job failed, its tried count would increase by 1 and its next execution time is up to you.

The max retry count is also up to you.

If the tried count reached the max retry count, the job would be marked as "failed".

Want to use in Laravel?

see laravel-jobs

Development

Test

$ phpunit --bootstrap tests/bootstrap.php tests/

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固