mwillbanks / mw-worker
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.
A ZF2 modules that provides a base skeleton for implementing workers.
dev-master
2014-01-15 16:07 UTC
Requires
- php: >=5.3.3
- zendframework/zend-mvc: 2.*
- zendframework/zend-servicemanager: 2.*
- zendframework/zend-stdlib: 2.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2020-01-24 14:54:35 UTC
README
- Install via composer "mwillbanks/mw-worker".
- Move bin/worker.php to your project root
- Workers to be placed as a controller invokable:
return array( 'controllers' => array( 'invokables' => array( 'myWorker' => 'Application\Worker\MyWorker', ), ), );
- php worker.php my
Todo
- Remove ControllerManager, ControllerLoaderFactory to be WorkerManager, WorkerLoaderFactory
- Update DispatchListener to work with Workers rather than controllers
- Abstract Worker to provide additional methods and functionality
- Provide adapters for working with different queue types
- Unit tests