pmatseykanets/file-queue-failer
Composer 安装命令:
composer require pmatseykanets/file-queue-failer
包简介
File based implementation of Laravel Queue Failer
README 文档
README
If you use job queues in your Laravel or Lumen project but don't want to store failed jobs in the database, especially if you're not using a database in the project itself (i.e. an API proxi) this file based failer is to rescue.
Contents
Installation
Install through composer
Laravel 5.6
$ composer require pmatseykanets/file-queue-failer
Laravel 5.3 - 5.5
$ composer require pmatseykanets/file-queue-failer:1.1.0
If you're using Laravel < 5.5 or if you have package auto-discovery turned off you have to manually register the service provider:
// config/app.php 'providers' => [ /* * Package Service Providers... */ Pvm\FileQueueFailer\Queue\QueueServiceProvider::class, ],
Laravel 5.0 - 5.2
$ composer require pmatseykanets/file-queue-failer:0.1.0
Swap the original QueueServiceProvider implementation in config\app.php
// config/app.php 'providers' => [ // Illuminate\Queue\QueueServiceProvider::class, Pvm\FileQueueFailer\Queue\QueueServiceProvider::class, ];
Configuration
By default failed jobs will be stored in storage\failed_jobs directory.
You can change the location by changing the path property in failed section of config\queue.php config file.
// config\queue.php 'failed' => [ 'path' => '/some/other/path', ],
Usage
You can use all artisan queue commands as usual to manage failed jobs
queue queue:failed List all of the failed queue jobs queue:flush Flush all of the failed queue jobs queue:forget Delete a failed queue job queue:retry Retry a failed queue job
Testing
$ ./vendor/bin/phpunit
Security
If you discover any security related issues, please email pmatseykanets@gmail.com instead of using the issue tracker.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
pmatseykanets/file-queue-failer 适用场景与选型建议
pmatseykanets/file-queue-failer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.89k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2015 年 08 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「queue」 「laravel」 「job」 「lumen」 「failer」 「failed」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pmatseykanets/file-queue-failer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pmatseykanets/file-queue-failer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pmatseykanets/file-queue-failer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP AMQP Binding Library
Provides a possibility to auto-setup crontabs required for project based on configuration file.
SlimQ Enables You to push jobs to background workers
A Laravel package to monitor queue jobs.
PHP client for Kue priority job queue API
A lightweight task queue on top of rybakit/phive-queue
统计信息
- 总下载量: 2.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-05