Commit 6da91d7d authored by i.vasilenko@iq-adv.ru's avatar i.vasilenko@iq-adv.ru
Browse files

init mercure

parent b9f46ef4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
    "symfony/flex": "^2",
    "symfony/framework-bundle": "7.0.*",
    "symfony/mailer": "7.0.*",
    "symfony/mercure-bundle": "^0.3.9",
    "symfony/messenger": "7.0.*",
    "symfony/mime": "7.0.*",
    "symfony/property-access": "7.0.*",
+338 −171
Original line number Diff line number Diff line
@@ -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": "5df50b18b564c984ccc4431f60ca2151",
    "content-hash": "79af1a622fafd3ef7ead04ea924e5edb",
    "packages": [
        {
            "name": "api-platform/core",
@@ -4028,6 +4028,176 @@
            ],
            "time": "2024-04-18T09:29:19+00:00"
        },
        {
            "name": "symfony/http-client",
            "version": "v7.0.9",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/http-client.git",
                "reference": "10be5723e079acf878f7c4350021539e2071fac2"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/http-client/zipball/10be5723e079acf878f7c4350021539e2071fac2",
                "reference": "10be5723e079acf878f7c4350021539e2071fac2",
                "shasum": ""
            },
            "require": {
                "php": ">=8.2",
                "psr/log": "^1|^2|^3",
                "symfony/http-client-contracts": "^3.4.1",
                "symfony/service-contracts": "^2.5|^3"
            },
            "conflict": {
                "php-http/discovery": "<1.15",
                "symfony/http-foundation": "<6.4"
            },
            "provide": {
                "php-http/async-client-implementation": "*",
                "php-http/client-implementation": "*",
                "psr/http-client-implementation": "1.0",
                "symfony/http-client-implementation": "3.0"
            },
            "require-dev": {
                "amphp/amp": "^2.5",
                "amphp/http-client": "^4.2.1",
                "amphp/http-tunnel": "^1.0",
                "amphp/socket": "^1.1",
                "guzzlehttp/promises": "^1.4|^2.0",
                "nyholm/psr7": "^1.0",
                "php-http/httplug": "^1.0|^2.0",
                "psr/http-client": "^1.0",
                "symfony/dependency-injection": "^6.4|^7.0",
                "symfony/http-kernel": "^6.4|^7.0",
                "symfony/messenger": "^6.4|^7.0",
                "symfony/process": "^6.4|^7.0",
                "symfony/stopwatch": "^6.4|^7.0"
            },
            "type": "library",
            "autoload": {
                "psr-4": {
                    "Symfony\\Component\\HttpClient\\": ""
                },
                "exclude-from-classmap": [
                    "/Tests/"
                ]
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Nicolas Grekas",
                    "email": "p@tchwork.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",
            "homepage": "https://symfony.com",
            "keywords": [
                "http"
            ],
            "support": {
                "source": "https://github.com/symfony/http-client/tree/v7.0.9"
            },
            "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-28T07:59:17+00:00"
        },
        {
            "name": "symfony/http-client-contracts",
            "version": "v3.5.0",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/http-client-contracts.git",
                "reference": "20414d96f391677bf80078aa55baece78b82647d"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/20414d96f391677bf80078aa55baece78b82647d",
                "reference": "20414d96f391677bf80078aa55baece78b82647d",
                "shasum": ""
            },
            "require": {
                "php": ">=8.1"
            },
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-main": "3.5-dev"
                },
                "thanks": {
                    "name": "symfony/contracts",
                    "url": "https://github.com/symfony/contracts"
                }
            },
            "autoload": {
                "psr-4": {
                    "Symfony\\Contracts\\HttpClient\\": ""
                },
                "exclude-from-classmap": [
                    "/Test/"
                ]
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Nicolas Grekas",
                    "email": "p@tchwork.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Generic abstractions related to HTTP clients",
            "homepage": "https://symfony.com",
            "keywords": [
                "abstractions",
                "contracts",
                "decoupling",
                "interfaces",
                "interoperability",
                "standards"
            ],
            "support": {
                "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.0"
            },
            "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-04-18T09:32:20+00:00"
        },
        {
            "name": "symfony/http-foundation",
            "version": "v7.0.7",
@@ -4298,6 +4468,173 @@
            ],
            "time": "2024-05-31T14:55:39+00:00"
        },
        {
            "name": "symfony/mercure",
            "version": "v0.6.5",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/mercure.git",
                "reference": "304cf84609ef645d63adc65fc6250292909a461b"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/mercure/zipball/304cf84609ef645d63adc65fc6250292909a461b",
                "reference": "304cf84609ef645d63adc65fc6250292909a461b",
                "shasum": ""
            },
            "require": {
                "php": ">=7.1.3",
                "symfony/deprecation-contracts": "^2.0|^3.0|^4.0",
                "symfony/http-client": "^4.4|^5.0|^6.0|^7.0",
                "symfony/http-foundation": "^4.4|^5.0|^6.0|^7.0",
                "symfony/polyfill-php80": "^1.22",
                "symfony/web-link": "^4.4|^5.0|^6.0|^7.0"
            },
            "require-dev": {
                "lcobucci/jwt": "^3.4|^4.0|^5.0",
                "symfony/event-dispatcher": "^4.4|^5.0|^6.0|^7.0",
                "symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0",
                "symfony/phpunit-bridge": "^5.2|^6.0|^7.0",
                "symfony/stopwatch": "^4.4|^5.0|^6.0|^7.0",
                "twig/twig": "^2.0|^3.0|^4.0"
            },
            "suggest": {
                "symfony/stopwatch": "Integration with the profiler performances"
            },
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-main": "0.6.x-dev"
                },
                "thanks": {
                    "name": "dunglas/mercure",
                    "url": "https://github.com/dunglas/mercure"
                }
            },
            "autoload": {
                "psr-4": {
                    "Symfony\\Component\\Mercure\\": "src/"
                }
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Kévin Dunglas",
                    "email": "dunglas@gmail.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Symfony Mercure Component",
            "homepage": "https://symfony.com",
            "keywords": [
                "mercure",
                "push",
                "sse",
                "updates"
            ],
            "support": {
                "issues": "https://github.com/symfony/mercure/issues",
                "source": "https://github.com/symfony/mercure/tree/v0.6.5"
            },
            "funding": [
                {
                    "url": "https://github.com/dunglas",
                    "type": "github"
                },
                {
                    "url": "https://tidelift.com/funding/github/packagist/symfony/mercure",
                    "type": "tidelift"
                }
            ],
            "time": "2024-04-08T12:51:34+00:00"
        },
        {
            "name": "symfony/mercure-bundle",
            "version": "v0.3.9",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/mercure-bundle.git",
                "reference": "77435d740b228e9f5f3f065b6db564f85f2cdb64"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/mercure-bundle/zipball/77435d740b228e9f5f3f065b6db564f85f2cdb64",
                "reference": "77435d740b228e9f5f3f065b6db564f85f2cdb64",
                "shasum": ""
            },
            "require": {
                "lcobucci/jwt": "^3.4|^4.0|^5.0",
                "php": ">=7.1.3",
                "symfony/config": "^4.4|^5.0|^6.0|^7.0",
                "symfony/dependency-injection": "^4.4|^5.4|^6.0|^7.0",
                "symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0",
                "symfony/mercure": "^0.6.1",
                "symfony/web-link": "^4.4|^5.0|^6.0|^7.0"
            },
            "require-dev": {
                "symfony/phpunit-bridge": "^4.3.7|^5.0|^6.0|^7.0",
                "symfony/stopwatch": "^4.3.7|^5.0|^6.0|^7.0",
                "symfony/ux-turbo": "*",
                "symfony/var-dumper": "^4.3.7|^5.0|^6.0|^7.0"
            },
            "suggest": {
                "symfony/messenger": "To use the Messenger integration"
            },
            "type": "symfony-bundle",
            "extra": {
                "branch-alias": {
                    "dev-main": "0.3.x-dev"
                }
            },
            "autoload": {
                "psr-4": {
                    "Symfony\\Bundle\\MercureBundle\\": "src/"
                }
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Kévin Dunglas",
                    "email": "dunglas@gmail.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Symfony MercureBundle",
            "homepage": "https://symfony.com",
            "keywords": [
                "mercure",
                "push",
                "sse",
                "updates"
            ],
            "support": {
                "issues": "https://github.com/symfony/mercure-bundle/issues",
                "source": "https://github.com/symfony/mercure-bundle/tree/v0.3.9"
            },
            "funding": [
                {
                    "url": "https://github.com/dunglas",
                    "type": "github"
                },
                {
                    "url": "https://tidelift.com/funding/github/packagist/symfony/mercure-bundle",
                    "type": "tidelift"
                }
            ],
            "time": "2024-05-31T09:07:18+00:00"
        },
        {
            "name": "symfony/messenger",
            "version": "v7.0.8",
@@ -10207,176 +10544,6 @@
            ],
            "time": "2024-05-31T14:55:39+00:00"
        },
        {
            "name": "symfony/http-client",
            "version": "v7.0.9",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/http-client.git",
                "reference": "10be5723e079acf878f7c4350021539e2071fac2"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/http-client/zipball/10be5723e079acf878f7c4350021539e2071fac2",
                "reference": "10be5723e079acf878f7c4350021539e2071fac2",
                "shasum": ""
            },
            "require": {
                "php": ">=8.2",
                "psr/log": "^1|^2|^3",
                "symfony/http-client-contracts": "^3.4.1",
                "symfony/service-contracts": "^2.5|^3"
            },
            "conflict": {
                "php-http/discovery": "<1.15",
                "symfony/http-foundation": "<6.4"
            },
            "provide": {
                "php-http/async-client-implementation": "*",
                "php-http/client-implementation": "*",
                "psr/http-client-implementation": "1.0",
                "symfony/http-client-implementation": "3.0"
            },
            "require-dev": {
                "amphp/amp": "^2.5",
                "amphp/http-client": "^4.2.1",
                "amphp/http-tunnel": "^1.0",
                "amphp/socket": "^1.1",
                "guzzlehttp/promises": "^1.4|^2.0",
                "nyholm/psr7": "^1.0",
                "php-http/httplug": "^1.0|^2.0",
                "psr/http-client": "^1.0",
                "symfony/dependency-injection": "^6.4|^7.0",
                "symfony/http-kernel": "^6.4|^7.0",
                "symfony/messenger": "^6.4|^7.0",
                "symfony/process": "^6.4|^7.0",
                "symfony/stopwatch": "^6.4|^7.0"
            },
            "type": "library",
            "autoload": {
                "psr-4": {
                    "Symfony\\Component\\HttpClient\\": ""
                },
                "exclude-from-classmap": [
                    "/Tests/"
                ]
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Nicolas Grekas",
                    "email": "p@tchwork.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",
            "homepage": "https://symfony.com",
            "keywords": [
                "http"
            ],
            "support": {
                "source": "https://github.com/symfony/http-client/tree/v7.0.9"
            },
            "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-28T07:59:17+00:00"
        },
        {
            "name": "symfony/http-client-contracts",
            "version": "v3.5.0",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/http-client-contracts.git",
                "reference": "20414d96f391677bf80078aa55baece78b82647d"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/20414d96f391677bf80078aa55baece78b82647d",
                "reference": "20414d96f391677bf80078aa55baece78b82647d",
                "shasum": ""
            },
            "require": {
                "php": ">=8.1"
            },
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-main": "3.5-dev"
                },
                "thanks": {
                    "name": "symfony/contracts",
                    "url": "https://github.com/symfony/contracts"
                }
            },
            "autoload": {
                "psr-4": {
                    "Symfony\\Contracts\\HttpClient\\": ""
                },
                "exclude-from-classmap": [
                    "/Test/"
                ]
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Nicolas Grekas",
                    "email": "p@tchwork.com"
                },
                {
                    "name": "Symfony Community",
                    "homepage": "https://symfony.com/contributors"
                }
            ],
            "description": "Generic abstractions related to HTTP clients",
            "homepage": "https://symfony.com",
            "keywords": [
                "abstractions",
                "contracts",
                "decoupling",
                "interfaces",
                "interoperability",
                "standards"
            ],
            "support": {
                "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.0"
            },
            "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-04-18T09:32:20+00:00"
        },
        {
            "name": "symfony/maker-bundle",
            "version": "v1.59.1",
+1 −0
Original line number Diff line number Diff line
@@ -17,4 +17,5 @@ return [
    Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
    Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true],
    Gesdinet\JWTRefreshTokenBundle\GesdinetJWTRefreshTokenBundle::class => ['all' => true],
    Symfony\Bundle\MercureBundle\MercureBundle::class => ['all' => true],
];
+9 −0
Original line number Diff line number Diff line
mercure:
    hubs:
        default:
            url: '%env(MERCURE_URL)%'
            public_url: '%env(MERCURE_PUBLIC_URL)%'
            jwt:
                secret: '%env(MERCURE_JWT_SECRET)%'
                publish: '*'
                subscribe: '*'
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ nelmio_cors:
        max_age: 3600
    paths:
        '^/api/': ~
        '^/.well-known/': ~
Loading