e2tmk/hunter 问题修复 & 功能扩展

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

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

e2tmk/hunter

最新稳定版本:v1.3.0

Composer 安装命令:

composer require e2tmk/hunter

包简介

Powerful utility for finding and processing Eloquent model records with a fluent, chainable API.

README 文档

README

Hunter Logo

Hunter

Latest Version on Packagist Total Downloads License

Powerful utility for finding and processing Eloquent model records with a fluent, chainable API.

Hunter provides a clean way to search for records based on specific criteria and execute multiple actions on them with comprehensive error handling, logging, and advanced flow control.

Installation

You can install the package via Composer:

composer require e2tmk/hunter

Quick Example

use Hunter\Hunter;

// Process all pending orders
$result = hunter(Order::class)
    ->find('status', 'pending')
    ->then(function (Order $order) {
        $order->process();
    })
    ->hunt();

echo $result->summary(); // "Total: 15, Successful: 14, Failed: 1, Skipped: 0"

Features

  • 🔍 Powerful Search: Find records with flexible criteria
  • 🔗 Fluent API: Chainable methods for clean code
  • 🎯 Multiple Actions: Execute several actions per record
  • Flow Control: Skip, fail, or stop processing gracefully
  • 📊 Comprehensive Reporting: Detailed statistics and error tracking

Documentation

📖 Complete Documentation

License

The project is licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固