Queuing Provides Queuing Performance Increases Laravel 4.2
Installs: 5 835
- php: >=5.4.7
- illuminate/console: ~4.2
- illuminate/queue: ~4.2
- illuminate/support: ~4.2
- aws/aws-sdk-php: ~2.4
- graham-campbell/testbench: ~1.0
- iron-io/iron_mq: ~1.4
- pda/pheanstalk: ~2.1
- aws/aws-sdk-php: Enables the aws connector.
- iron-io/iron_mq: Enables the iron connector.
- pda/pheanstalk: Enables the beanstalk connector.
- dev-master / 1.0.x-dev
This package is auto-updated.
Last update: 2022-02-01 12:30:23 UTC
Laravel Queuing was created by, and is maintained by Graham Campbell, and provides queuing performance increases for Laravel 4.2. It works by doing the actual job queuing (including the execution of sync jobs) after the response has been sent to the client (on shutdown). Feel free to check out the change log, releases, license, api docs, and contribution guidelines.
This package is no longer maintained.
PHP 5.4+ or HHVM 3.3+, and Composer are required.
To get the latest version of Laravel Queuing, simply add the following line to the require block of your
There are some additional dependencies you will need to install for some of the features:
- The beanstalk connector requires
"pda/pheanstalk": "~2.1"in your
- The aws connector requires
"aws/aws-sdk-php": "~2.4"in your
- The iron connector requires
"iron-io/iron_mq": "~1.4"in your
You'll then need to run
composer install or
composer update to download it and have the autoloader updated.
Once Laravel Queuing is installed, you need to register the service provider. Open up
app/config/app.php and add the following to the
You MUST also remove the laravel queuing service provider!
app/config/app.php and remove
Failure to do so will result in an infinite loop.
Laravel Queuing requires no configuration behond what Laravel's queuing would otherwise require, but provides a quickstart command for iron queuing where after configuring, you can simply run
php artisan queue:iron with no arguments and it will just work.
All queue classes override Laravel's queue classes. When ever you call methods such as
push, behind the scenes with package will simply queue them up in php's memory for real pushing whenever the
process method on these classes is called. By default, this package will call this on
shutdown through the queue manager, but you may manually call this earlier if you so which. After calling the function, the jobs will be removed from the internal queue so later calls to this function will not push same jobs twice.
This class extends Laravel's queue manager and will override it. It has one extra method
processAll. This will call the
process method on all active queue connections. The functionality of the
process method on each queue is described above.
This class contains no public methods of interest. This class should be added to the providers array in
app/config/app.php. This class will setup ioc bindings and register queue processing.
Illuminate\Queue\QueueServiceProvider must be removed from the service provider list before you add this class.
There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.
Feel free to check out the API Documentation for Laravel Queuing.
Laravel Queuing is licensed under The MIT License (MIT).