Loading README.md +4 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,10 @@ ## Инструкция ## Воркер отправки Email квестов Запустить команду - `bin/console messenger:consume -v scheduler_quests` ## Kafka <details> <summary>Инструкция</summary> Loading app/composer.json +3 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ "doctrine/orm": "^3.2", "lexik/jwt-authentication-bundle": "^3.0", "nelmio/api-doc-bundle": "^4.27", "nelmio/cors-bundle": "^2.5", "predis/predis": "^2.2", "symfony/asset": "7.0.*", "symfony/cache": "7.0.*", "symfony/console": "7.0.*", Loading @@ -25,6 +27,7 @@ "symfony/messenger": "7.0.*", "symfony/mime": "7.0.*", "symfony/runtime": "7.0.*", "symfony/scheduler": "7.0.*", "symfony/security-bundle": "7.0.*", "symfony/serializer": "7.0.*", "symfony/twig-bundle": "7.0.*", Loading app/composer.lock +204 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], "content-hash": "a47e42ecd6c25174dcfe545065022162", "content-hash": "54d204742929222e6a66061365bec4eb", "packages": [ { "name": "doctrine/cache", Loading Loading @@ -1664,6 +1664,68 @@ }, "time": "2024-06-12T23:47:19+00:00" }, { "name": "nelmio/cors-bundle", "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioCorsBundle.git", "reference": "3a526fe025cd20e04a6a11370cf5ab28dbb5a544" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/3a526fe025cd20e04a6a11370cf5ab28dbb5a544", "reference": "3a526fe025cd20e04a6a11370cf5ab28dbb5a544", "shasum": "" }, "require": { "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { "mockery/mockery": "^1.3.6", "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { "Nelmio\\CorsBundle\\": "" }, "exclude-from-classmap": [ "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Nelmio", "homepage": "http://nelm.io" }, { "name": "Symfony Community", "homepage": "https://github.com/nelmio/NelmioCorsBundle/contributors" } ], "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application", "keywords": [ "api", "cors", "crossdomain" ], "support": { "issues": "https://github.com/nelmio/NelmioCorsBundle/issues", "source": "https://github.com/nelmio/NelmioCorsBundle/tree/2.5.0" }, "time": "2024-06-24T21:25:28+00:00" }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", Loading Loading @@ -1886,6 +1948,67 @@ }, "time": "2024-05-31T08:52:43+00:00" }, { "name": "predis/predis", "version": "v2.2.2", "source": { "type": "git", "url": "https://github.com/predis/predis.git", "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/predis/predis/zipball/b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.3", "phpstan/phpstan": "^1.9", "phpunit/phpunit": "^8.0 || ~9.4.4" }, "suggest": { "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" }, "type": "library", "autoload": { "psr-4": { "Predis\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Till Krüss", "homepage": "https://till.im", "role": "Maintainer" } ], "description": "A flexible and feature-complete Redis client for PHP.", "homepage": "http://github.com/predis/predis", "keywords": [ "nosql", "predis", "redis" ], "support": { "issues": "https://github.com/predis/predis/issues", "source": "https://github.com/predis/predis/tree/v2.2.2" }, "funding": [ { "url": "https://github.com/sponsors/tillkruss", "type": "github" } ], "time": "2023-09-13T16:42:03+00:00" }, { "name": "psr/cache", "version": "3.0.0", Loading Loading @@ -4816,6 +4939,86 @@ ], "time": "2024-04-18T09:29:19+00:00" }, { "name": "symfony/scheduler", "version": "v7.0.8", "source": { "type": "git", "url": "https://github.com/symfony/scheduler.git", "reference": "91a0c028f2183b111e92e32061bb9db9a9599133" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/scheduler/zipball/91a0c028f2183b111e92e32061bb9db9a9599133", "reference": "91a0c028f2183b111e92e32061bb9db9a9599133", "shasum": "" }, "require": { "php": ">=8.2", "symfony/clock": "^6.4|^7.0" }, "require-dev": { "dragonmantank/cron-expression": "^3.1", "symfony/cache": "^6.4|^7.0", "symfony/console": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", "symfony/event-dispatcher": "^6.4|^7.0", "symfony/lock": "^6.4|^7.0", "symfony/messenger": "^6.4|^7.0" }, "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Scheduler\\": "" }, "exclude-from-classmap": [ "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Sergey Rabochiy", "email": "upyx.00@gmail.com" }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "description": "Provides scheduling through Symfony Messenger", "homepage": "https://symfony.com", "keywords": [ "cron", "schedule", "scheduler" ], "support": { "source": "https://github.com/symfony/scheduler/tree/v7.0.8" }, "funding": [ { "url": "https://symfony.com/sponsor", "type": "custom" }, { "url": "https://github.com/fabpot", "type": "github" }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], "time": "2024-06-02T15:49:03+00:00" }, { "name": "symfony/security-bundle", "version": "v7.0.8", Loading app/config/bundles.php +1 −0 Original line number Diff line number Diff line Loading @@ -10,4 +10,5 @@ return [ Nelmio\ApiDocBundle\NelmioApiDocBundle::class => ['all' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true], ]; app/config/packages/cache.yaml +4 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,10 @@ framework: # Other options include: # Redis #app: cache.adapter.redis #default_redis_provider: redis://localhost default_redis_provider: 'redis://redis' pools: custom_cache_pool: adapter: cache.adapter.redis # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) #app: cache.adapter.apcu Loading Loading
README.md +4 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,10 @@ ## Инструкция ## Воркер отправки Email квестов Запустить команду - `bin/console messenger:consume -v scheduler_quests` ## Kafka <details> <summary>Инструкция</summary> Loading
app/composer.json +3 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ "doctrine/orm": "^3.2", "lexik/jwt-authentication-bundle": "^3.0", "nelmio/api-doc-bundle": "^4.27", "nelmio/cors-bundle": "^2.5", "predis/predis": "^2.2", "symfony/asset": "7.0.*", "symfony/cache": "7.0.*", "symfony/console": "7.0.*", Loading @@ -25,6 +27,7 @@ "symfony/messenger": "7.0.*", "symfony/mime": "7.0.*", "symfony/runtime": "7.0.*", "symfony/scheduler": "7.0.*", "symfony/security-bundle": "7.0.*", "symfony/serializer": "7.0.*", "symfony/twig-bundle": "7.0.*", Loading
app/composer.lock +204 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], "content-hash": "a47e42ecd6c25174dcfe545065022162", "content-hash": "54d204742929222e6a66061365bec4eb", "packages": [ { "name": "doctrine/cache", Loading Loading @@ -1664,6 +1664,68 @@ }, "time": "2024-06-12T23:47:19+00:00" }, { "name": "nelmio/cors-bundle", "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioCorsBundle.git", "reference": "3a526fe025cd20e04a6a11370cf5ab28dbb5a544" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/3a526fe025cd20e04a6a11370cf5ab28dbb5a544", "reference": "3a526fe025cd20e04a6a11370cf5ab28dbb5a544", "shasum": "" }, "require": { "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { "mockery/mockery": "^1.3.6", "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { "Nelmio\\CorsBundle\\": "" }, "exclude-from-classmap": [ "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Nelmio", "homepage": "http://nelm.io" }, { "name": "Symfony Community", "homepage": "https://github.com/nelmio/NelmioCorsBundle/contributors" } ], "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application", "keywords": [ "api", "cors", "crossdomain" ], "support": { "issues": "https://github.com/nelmio/NelmioCorsBundle/issues", "source": "https://github.com/nelmio/NelmioCorsBundle/tree/2.5.0" }, "time": "2024-06-24T21:25:28+00:00" }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", Loading Loading @@ -1886,6 +1948,67 @@ }, "time": "2024-05-31T08:52:43+00:00" }, { "name": "predis/predis", "version": "v2.2.2", "source": { "type": "git", "url": "https://github.com/predis/predis.git", "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/predis/predis/zipball/b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.3", "phpstan/phpstan": "^1.9", "phpunit/phpunit": "^8.0 || ~9.4.4" }, "suggest": { "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" }, "type": "library", "autoload": { "psr-4": { "Predis\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Till Krüss", "homepage": "https://till.im", "role": "Maintainer" } ], "description": "A flexible and feature-complete Redis client for PHP.", "homepage": "http://github.com/predis/predis", "keywords": [ "nosql", "predis", "redis" ], "support": { "issues": "https://github.com/predis/predis/issues", "source": "https://github.com/predis/predis/tree/v2.2.2" }, "funding": [ { "url": "https://github.com/sponsors/tillkruss", "type": "github" } ], "time": "2023-09-13T16:42:03+00:00" }, { "name": "psr/cache", "version": "3.0.0", Loading Loading @@ -4816,6 +4939,86 @@ ], "time": "2024-04-18T09:29:19+00:00" }, { "name": "symfony/scheduler", "version": "v7.0.8", "source": { "type": "git", "url": "https://github.com/symfony/scheduler.git", "reference": "91a0c028f2183b111e92e32061bb9db9a9599133" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/scheduler/zipball/91a0c028f2183b111e92e32061bb9db9a9599133", "reference": "91a0c028f2183b111e92e32061bb9db9a9599133", "shasum": "" }, "require": { "php": ">=8.2", "symfony/clock": "^6.4|^7.0" }, "require-dev": { "dragonmantank/cron-expression": "^3.1", "symfony/cache": "^6.4|^7.0", "symfony/console": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", "symfony/event-dispatcher": "^6.4|^7.0", "symfony/lock": "^6.4|^7.0", "symfony/messenger": "^6.4|^7.0" }, "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Scheduler\\": "" }, "exclude-from-classmap": [ "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { "name": "Sergey Rabochiy", "email": "upyx.00@gmail.com" }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "description": "Provides scheduling through Symfony Messenger", "homepage": "https://symfony.com", "keywords": [ "cron", "schedule", "scheduler" ], "support": { "source": "https://github.com/symfony/scheduler/tree/v7.0.8" }, "funding": [ { "url": "https://symfony.com/sponsor", "type": "custom" }, { "url": "https://github.com/fabpot", "type": "github" }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], "time": "2024-06-02T15:49:03+00:00" }, { "name": "symfony/security-bundle", "version": "v7.0.8", Loading
app/config/bundles.php +1 −0 Original line number Diff line number Diff line Loading @@ -10,4 +10,5 @@ return [ Nelmio\ApiDocBundle\NelmioApiDocBundle::class => ['all' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true], ];
app/config/packages/cache.yaml +4 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,10 @@ framework: # Other options include: # Redis #app: cache.adapter.redis #default_redis_provider: redis://localhost default_redis_provider: 'redis://redis' pools: custom_cache_pool: adapter: cache.adapter.redis # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) #app: cache.adapter.apcu Loading