2017 © Pedro Peláez
 

library file-queue-failer

File based implementation of Laravel Queue Failer

image

pmatseykanets/file-queue-failer

File based implementation of Laravel Queue Failer

  • Friday, February 9, 2018
  • by pmatseykanets
  • Repository
  • 1 Watchers
  • 3 Stars
  • 1,014 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 30 % Grown

The README.md

File based implementation of Laravel Queue Failer

Laravel 5.X StyleCI Build Status Latest Stable Version License, (*1)

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., (*2)

Contents

Installation

Install through composer

Laravel 5.6, (*3)

$ composer require pmatseykanets/file-queue-failer

Laravel 5.3 - 5.5, (*4)

$ 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:, (*5)

// config/app.php
'providers' => [
    /*
     * Package Service Providers...
     */
    Pvm\FileQueueFailer\Queue\QueueServiceProvider::class,
],

Laravel 5.0 - 5.2, (*6)

$ composer require pmatseykanets/file-queue-failer:0.1.0

Swap the original QueueServiceProvider implementation in config\app.php, (*7)

// 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., (*8)

You can change the location by changing the path property in failed section of config\queue.php config file., (*9)

// config\queue.php
'failed' => [
    'path' => '/some/other/path',
],

Usage

You can use all artisan queue commands as usual to manage failed jobs, (*10)

 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

bash $ ./vendor/bin/phpunit, (*11)

Security

If you discover any security related issues, please email pmatseykanets@gmail.com instead of using the issue tracker., (*12)

Changelog

Please see CHANGELOG for more information what has changed recently., (*13)

Contributing

Please see CONTRIBUTING for details., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

09/02 2018

dev-master

9999999-dev

File based implementation of Laravel Queue Failer

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen queue job failed failer

09/02 2018

v2.0.0

2.0.0.0

File based implementation of Laravel Queue Failer

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen queue job failed failer

30/11 2017

v1.1.0

1.1.0.0

File based implementation of Laravel Queue Failer

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen queue job failed failer

25/11 2017

v1.0.0

1.0.0.0

File based implementation of Laravel Queue Failer

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel lumen queue job failed failer

09/08 2015

v0.1.0

0.1.0.0

File based implementation of Laravel Queue Failer

  Sources   Download

MIT

The Requires

 

The Development Requires