承接 recruiterphp/recruiter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

recruiterphp/recruiter

Composer 安装命令:

composer require recruiterphp/recruiter

包简介

Job Queue Manager: high performance, high volume, persistent, fault tolerant. 100% PHP/MongoDB, 100% Awesome

README 文档

README

CI Pipeline Latest Stable Version License

A battle-tested job queue manager for PHP, with billions of jobs processed over the years in production environments.

✨ Features

  • 🚀 Production Ready - Billions of jobs processed over the years with proven reliability
  • 🔄 Advanced Retry Policies - Exponential backoff, custom strategies
  • 🏷️ Multi-Queue Support - Job tagging and filtering
  • 📊 Full Job History - Built-in analytics and monitoring
  • 🛡️ Fault Tolerant - Graceful failure handling and recovery
  • High Performance - Optimized for scale with MongoDB
  • 🐳 Docker Ready - Complete development environment included
  • 🧪 Fully Tested - Comprehensive test suite with property-based testing

Requirements

  • PHP 8.4+
  • MongoDB Extension >=1.15
  • MongoDB Server 4.0+

Installation

composer require recruiterphp/recruiter

Quick Start

use Recruiter\Recruiter;
use Recruiter\Workable;
use Recruiter\WorkableBehaviour;
use MongoDB\Client;

// Create a job class
class EmailJob implements Workable
{
    use WorkableBehaviour;

    public function execute(): void
    {
        // Write your logic here
        mail(
            $this->parameters['email'],
            $this->parameters['subject'],
            $this->parameters['body']
        );
    }
}

// Connect to MongoDB
$factory = new Factory();
$db = $factory->getMongoDb(
    MongoURI::fromEnvironment(),
    $options = [],
);

// Set up Recruiter
$recruiter = new Recruiter($db);

// Schedule a job
new EmailJob([
    'email' => 'user@example.com',
    'subject' => 'Welcome!',
    'body' => 'Thanks for joining us!'
])
    ->asJobOf($recruiter)
    ->inBackground()
    ->execute();

🏢 Production Heritage

Recruiter was born at Onebip in 2012, a major mobile payment platform processing millions of jobs daily. After being reengineered and open sourced in 2014, it was later adopted by EasyWelfare in 2018, with billions of jobs processed across both platforms:

  • ✅ Jobs cannot be lost (payments aren't idempotent)
  • 📋 Jobs must be traceable (for customer support)
  • ⏰ Failed jobs need smart retry logic (respecting rate limits)

After billions of jobs processed in production (2012-2024) and active development until 2020, Recruiter has proven its reliability across diverse production environments. Both original platforms have since been phased out due to corporate acquisitions, but in July 2025 Recruiter received a major modernization, ensuring it continues as a proven, independent solution with over a decade of battle-tested experience.

🚀 Development

# Clone and set up development environment
git clone https://github.com/recruiterphp/recruiter.git
cd recruiter

# Start development environment
make build && make up

# Run tests
make test

# Code quality checks
make fix-cs      # Fix code style
make phpstan     # Static analysis
make rector      # Code modernization

📚 Documentation

🤝 Related Projects

Part of the RecruiterPHP ecosystem:

  • concurrency - MongoDB-based distributed locking
  • geezer - Tools for robust long-running processes
  • clock - Testable time handling and MongoDB integration
  • precious - Value object library
  • zeiss - Event sourcing projections

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固