WIP: Symfony 6 project remake #2
6
.env
6
.env
|
@ -28,12 +28,6 @@ APP_SECRET=2f4d317d4333339a10be62d339df5912
|
||||||
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
###< doctrine/doctrine-bundle ###
|
###< doctrine/doctrine-bundle ###
|
||||||
|
|
||||||
###> symfony/messenger ###
|
|
||||||
# Choose one of the transports below
|
|
||||||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
|
||||||
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
|
||||||
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|
||||||
###< symfony/messenger ###
|
|
||||||
# Point tools settings
|
# Point tools settings
|
||||||
APP_USER_ID=435
|
APP_USER_ID=435
|
||||||
APP_USER_LOGIN=point-tools
|
APP_USER_LOGIN=point-tools
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
"sensio/framework-extra-bundle": "^6.1",
|
"sensio/framework-extra-bundle": "^6.1",
|
||||||
"symfony/asset": "6.2.*",
|
"symfony/asset": "6.2.*",
|
||||||
"symfony/console": "6.2.*",
|
"symfony/console": "6.2.*",
|
||||||
"symfony/doctrine-messenger": "6.2.*",
|
|
||||||
"symfony/dotenv": "6.2.*",
|
"symfony/dotenv": "6.2.*",
|
||||||
"symfony/expression-language": "6.2.*",
|
"symfony/expression-language": "6.2.*",
|
||||||
"symfony/flex": "^2",
|
"symfony/flex": "^2",
|
||||||
|
|
161
composer.lock
generated
161
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "c5254f3d7e414fcba22a547c448e6a23",
|
"content-hash": "f5b79416b7be188ebb7b7427a2fb6522",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "doctrine/annotations",
|
"name": "doctrine/annotations",
|
||||||
|
@ -3704,78 +3704,6 @@
|
||||||
],
|
],
|
||||||
"time": "2023-02-14T08:44:56+00:00"
|
"time": "2023-02-14T08:44:56+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "symfony/doctrine-messenger",
|
|
||||||
"version": "v6.2.7",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/symfony/doctrine-messenger.git",
|
|
||||||
"reference": "4aac66cd902c91adfdf648463eb8378555b95509"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/symfony/doctrine-messenger/zipball/4aac66cd902c91adfdf648463eb8378555b95509",
|
|
||||||
"reference": "4aac66cd902c91adfdf648463eb8378555b95509",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"doctrine/dbal": "^2.13|^3.0",
|
|
||||||
"php": ">=8.1",
|
|
||||||
"symfony/messenger": "^5.4|^6.0",
|
|
||||||
"symfony/service-contracts": "^1.1|^2|^3"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"doctrine/persistence": "<1.3"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"doctrine/persistence": "^1.3|^2|^3",
|
|
||||||
"symfony/property-access": "^5.4|^6.0",
|
|
||||||
"symfony/serializer": "^5.4|^6.0"
|
|
||||||
},
|
|
||||||
"type": "symfony-messenger-bridge",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Symfony\\Component\\Messenger\\Bridge\\Doctrine\\": ""
|
|
||||||
},
|
|
||||||
"exclude-from-classmap": [
|
|
||||||
"/Tests/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Fabien Potencier",
|
|
||||||
"email": "fabien@symfony.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "https://symfony.com/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Symfony Doctrine Messenger Bridge",
|
|
||||||
"homepage": "https://symfony.com",
|
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/symfony/doctrine-messenger/tree/v6.2.7"
|
|
||||||
},
|
|
||||||
"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": "2023-02-16T09:57:23+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "symfony/dotenv",
|
"name": "symfony/dotenv",
|
||||||
"version": "v6.2.7",
|
"version": "v6.2.7",
|
||||||
|
@ -5029,93 +4957,6 @@
|
||||||
],
|
],
|
||||||
"time": "2023-02-21T10:54:55+00:00"
|
"time": "2023-02-21T10:54:55+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "symfony/messenger",
|
|
||||||
"version": "v6.2.7",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/symfony/messenger.git",
|
|
||||||
"reference": "5ca618865eb726354e5369dda38770af1a8a8331"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/symfony/messenger/zipball/5ca618865eb726354e5369dda38770af1a8a8331",
|
|
||||||
"reference": "5ca618865eb726354e5369dda38770af1a8a8331",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=8.1",
|
|
||||||
"psr/log": "^1|^2|^3"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"symfony/event-dispatcher": "<5.4",
|
|
||||||
"symfony/event-dispatcher-contracts": "<2",
|
|
||||||
"symfony/framework-bundle": "<5.4",
|
|
||||||
"symfony/http-kernel": "<5.4",
|
|
||||||
"symfony/serializer": "<5.4"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"psr/cache": "^1.0|^2.0|^3.0",
|
|
||||||
"symfony/console": "^5.4|^6.0",
|
|
||||||
"symfony/dependency-injection": "^5.4|^6.0",
|
|
||||||
"symfony/event-dispatcher": "^5.4|^6.0",
|
|
||||||
"symfony/http-kernel": "^5.4|^6.0",
|
|
||||||
"symfony/process": "^5.4|^6.0",
|
|
||||||
"symfony/property-access": "^5.4|^6.0",
|
|
||||||
"symfony/rate-limiter": "^5.4|^6.0",
|
|
||||||
"symfony/routing": "^5.4|^6.0",
|
|
||||||
"symfony/serializer": "^5.4|^6.0",
|
|
||||||
"symfony/service-contracts": "^1.1|^2|^3",
|
|
||||||
"symfony/stopwatch": "^5.4|^6.0",
|
|
||||||
"symfony/validator": "^5.4|^6.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"enqueue/messenger-adapter": "For using the php-enqueue library as a transport."
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Symfony\\Component\\Messenger\\": ""
|
|
||||||
},
|
|
||||||
"exclude-from-classmap": [
|
|
||||||
"/Tests/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Samuel Roze",
|
|
||||||
"email": "samuel.roze@gmail.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "https://symfony.com/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Helps applications send and receive messages to/from other applications or via message queues",
|
|
||||||
"homepage": "https://symfony.com",
|
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/symfony/messenger/tree/v6.2.7"
|
|
||||||
},
|
|
||||||
"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": "2023-02-16T09:57:23+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "symfony/mime",
|
"name": "symfony/mime",
|
||||||
"version": "v6.2.7",
|
"version": "v6.2.7",
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
framework:
|
|
||||||
messenger:
|
|
||||||
failure_transport: failed
|
|
||||||
|
|
||||||
transports:
|
|
||||||
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
|
||||||
async:
|
|
||||||
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
|
||||||
options:
|
|
||||||
use_notify: true
|
|
||||||
check_delayed_interval: 60000
|
|
||||||
retry_strategy:
|
|
||||||
max_retries: 3
|
|
||||||
multiplier: 2
|
|
||||||
failed: 'doctrine://default?queue_name=failed'
|
|
||||||
# sync: 'sync://'
|
|
||||||
|
|
||||||
routing:
|
|
||||||
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
|
||||||
Symfony\Component\Notifier\Message\ChatMessage: async
|
|
||||||
Symfony\Component\Notifier\Message\SmsMessage: async
|
|
||||||
|
|
||||||
# Route your messages to the transports
|
|
||||||
# 'App\Message\YourMessage': async
|
|
12
symfony.lock
12
symfony.lock
|
@ -152,18 +152,6 @@
|
||||||
"ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f"
|
"ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"symfony/messenger": {
|
|
||||||
"version": "6.2",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "main",
|
|
||||||
"version": "6.0",
|
|
||||||
"ref": "ba1ac4e919baba5644d31b57a3284d6ba12d52ee"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"config/packages/messenger.yaml"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"symfony/monolog-bundle": {
|
"symfony/monolog-bundle": {
|
||||||
"version": "3.8",
|
"version": "3.8",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
|
|
Loading…
Reference in a new issue