diff --git a/app/AppKernel.php b/app/AppKernel.php index 1059660..94c99a9 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -19,6 +19,7 @@ class AppKernel extends Kernel new Symfony\Bundle\WebServerBundle\WebServerBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), new Csa\Bundle\GuzzleBundle\CsaGuzzleBundle(), + new Leezy\PheanstalkBundle\LeezyPheanstalkBundle(), new Ob\HighchartsBundle\ObHighchartsBundle(), new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(), new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(), diff --git a/app/config/config.yml b/app/config/config.yml index f3bf799..20c460d 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -71,6 +71,13 @@ doctrine_migrations: table_name: migration_versions name: Application Migrations +leezy_pheanstalk: + pheanstalks: + primary: + server: "%beanstalkd_host%" + port: "%beanstalkd_port%" + default: true + # Swiftmailer Configuration swiftmailer: transport: "%mailer_transport%" diff --git a/composer.json b/composer.json index cb03fa9..82c2847 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,8 @@ "unreal4u/telegram-api": "^2.2", "csa/guzzle-bundle": "^3", "symfony/web-server-bundle": "^3.3", - "sentry/sentry-symfony": "^2.2" + "sentry/sentry-symfony": "^2.2", + "leezy/pheanstalk-bundle": "^3.3" }, "require-dev": { "symfony/phpunit-bridge": "^3.0", diff --git a/composer.lock b/composer.lock index a53a024..f50595f 100644 --- a/composer.lock +++ b/composer.lock @@ -2273,6 +2273,66 @@ ], "time": "2018-05-16T12:15:58+00:00" }, + { + "name": "leezy/pheanstalk-bundle", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://github.com/armetiz/LeezyPheanstalkBundle.git", + "reference": "76056c91c4021356b1bd4870f6bcd30d612d358d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/armetiz/LeezyPheanstalkBundle/zipball/76056c91c4021356b1bd4870f6bcd30d612d358d", + "reference": "76056c91c4021356b1bd4870f6bcd30d612d358d", + "shasum": "" + }, + "require": { + "pda/pheanstalk": "~3.0", + "php": ">=5.5.9", + "psr/log": "~1.0", + "symfony/console": "~2.5|~3.0|^4.0", + "symfony/framework-bundle": "~2.5|~3.0|^4.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0|~5.0", + "phpunit/phpunit-mock-objects": "2.3.0|~3.4" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Leezy\\PheanstalkBundle\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Tourlourat", + "email": "thomas@tourlourat.com", + "homepage": "http://www.armetiz.info" + } + ], + "description": "The LeezyPheanstalkBundle is a Symfony2 Bundle that provides a command line interface for manage the Beanstalkd workqueue server & a pheanstalk integration.", + "homepage": "https://github.com/armetiz/LeezyPheanstalkBundle", + "keywords": [ + "asynchronous", + "beanstalkd", + "bundle", + "messaging", + "pheanstalk", + "queueing", + "symfony" + ], + "time": "2018-03-02T15:28:52+00:00" + }, { "name": "michelf/php-markdown", "version": "1.8.0", @@ -2623,6 +2683,56 @@ ], "time": "2018-07-02T15:55:56+00:00" }, + { + "name": "pda/pheanstalk", + "version": "v3.1.0", + "source": { + "type": "git", + "url": "https://github.com/pda/pheanstalk.git", + "reference": "430e77c551479aad0c6ada0450ee844cf656a18b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pda/pheanstalk/zipball/430e77c551479aad0c6ada0450ee844cf656a18b", + "reference": "430e77c551479aad0c6ada0450ee844cf656a18b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Pheanstalk\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paul Annesley", + "email": "paul@annesley.cc", + "homepage": "http://paul.annesley.cc/", + "role": "Developer" + } + ], + "description": "PHP client for beanstalkd queue", + "homepage": "https://github.com/pda/pheanstalk", + "keywords": [ + "beanstalkd" + ], + "time": "2015-08-07T21:42:41+00:00" + }, { "name": "phpcollection/phpcollection", "version": "0.5.0",