mirror of
https://github.com/symfony/recipes.git
synced 2026-09-15 00:56:24 +03:00
Update Flex endpoint
This commit is contained in:
+3
-3
@@ -112,7 +112,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [symfony/resend-mailer](https://packagist.org/packages/symfony/resend-mailer) | [7.1](symfony/resend-mailer/7.1) | `resend-mailer`, `resendmailer` |
|
||||
| [symfony/ring-central-notifier](https://packagist.org/packages/symfony/ring-central-notifier) | [6.3](symfony/ring-central-notifier/6.3) | `ring-central-notifier`, `ringcentralnotifier` |
|
||||
| [symfony/rocket-chat-notifier](https://packagist.org/packages/symfony/rocket-chat-notifier) | [5.1](symfony/rocket-chat-notifier/5.1) | `rocket-chat-notifier`, `rocketchatnotifier` |
|
||||
| [symfony/routing](https://packagist.org/packages/symfony/routing) | [6.2](symfony/routing/6.2) | `router`, `routing` |
|
||||
| [symfony/routing](https://packagist.org/packages/symfony/routing) | [7.0](symfony/routing/7.0) | `router`, `routing` |
|
||||
| [symfony/scaleway-mailer](https://packagist.org/packages/symfony/scaleway-mailer) | [6.4](symfony/scaleway-mailer/6.4) | `scaleway-mailer`, `scalewaymailer` |
|
||||
| [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [6.4](symfony/security-bundle/6.4) | `security`, `security-bundle`, `securitybundle` |
|
||||
| [symfony/sendberry-notifier](https://packagist.org/packages/symfony/sendberry-notifier) | [6.1](symfony/sendberry-notifier/6.1) | `sendberry-notifier`, `sendberrynotifier` |
|
||||
@@ -142,7 +142,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [symfony/twig-bundle](https://packagist.org/packages/symfony/twig-bundle) | [6.3](symfony/twig-bundle/6.3) | `twig-bundle`, `twigbundle` |
|
||||
| [symfony/twilio-notifier](https://packagist.org/packages/symfony/twilio-notifier) | [5.0](symfony/twilio-notifier/5.0) | `twilio-notifier`, `twilionotifier` |
|
||||
| [symfony/twitter-notifier](https://packagist.org/packages/symfony/twitter-notifier) | [6.3](symfony/twitter-notifier/6.3) | `twitter-notifier`, `twitternotifier` |
|
||||
| [symfony/uid](https://packagist.org/packages/symfony/uid) | [6.2](symfony/uid/6.2) | `uid` |
|
||||
| [symfony/uid](https://packagist.org/packages/symfony/uid) | [7.0](symfony/uid/7.0) | `uid` |
|
||||
| [symfony/unifonic-notifier](https://packagist.org/packages/symfony/unifonic-notifier) | [7.1](symfony/unifonic-notifier/7.1) | `unifonic-notifier`, `unifonicnotifier` |
|
||||
| [symfony/ux-autocomplete](https://packagist.org/packages/symfony/ux-autocomplete) | [2.6](symfony/ux-autocomplete/2.6) | `ux-autocomplete`, `uxautocomplete` |
|
||||
| [symfony/ux-live-component](https://packagist.org/packages/symfony/ux-live-component) | [2.6](symfony/ux-live-component/2.6) | `ux-live-component`, `uxlivecomponent` |
|
||||
@@ -151,7 +151,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [symfony/ux-translator](https://packagist.org/packages/symfony/ux-translator) | [2.9](symfony/ux-translator/2.9) | `ux-translator`, `uxtranslator` |
|
||||
| [symfony/ux-twig-component](https://packagist.org/packages/symfony/ux-twig-component) | [2.13](symfony/ux-twig-component/2.13) | `ux-twig-component`, `uxtwigcomponent` |
|
||||
| [symfony/ux-vue](https://packagist.org/packages/symfony/ux-vue) | [2.9](symfony/ux-vue/2.9) | `ux-vue`, `uxvue` |
|
||||
| [symfony/validator](https://packagist.org/packages/symfony/validator) | [5.3](symfony/validator/5.3) | `validation`, `validator` |
|
||||
| [symfony/validator](https://packagist.org/packages/symfony/validator) | [7.0](symfony/validator/7.0) | `validation`, `validator` |
|
||||
| [symfony/vonage-notifier](https://packagist.org/packages/symfony/vonage-notifier) | [5.4](symfony/vonage-notifier/5.4) | `vonage-notifier`, `vonagenotifier` |
|
||||
| [symfony/web-profiler-bundle](https://packagist.org/packages/symfony/web-profiler-bundle) | [6.1](symfony/web-profiler-bundle/6.1) | `web-profiler-bundle`, `webprofilerbundle` |
|
||||
| [symfony/web-server-bundle](https://packagist.org/packages/symfony/web-server-bundle) | [3.3](symfony/web-server-bundle/3.3) | `server`, `web-server`, `web-server-bundle`, `webserver`, `webserverbundle` |
|
||||
|
||||
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"public/": "%PUBLIC_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd",
|
||||
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"APP_ENV": "dev",
|
||||
"APP_SECRET": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/.env.local",
|
||||
"/.env.local.php",
|
||||
"/.env.*.local",
|
||||
"/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php",
|
||||
"/%PUBLIC_DIR%/bundles/",
|
||||
"/%VAR_DIR%/",
|
||||
"/vendor/"
|
||||
],
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6356c19b9ae08e7763e4ba2d9ae63043efc75db5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/routing": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
|
||||
" # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
|
||||
" #default_uri: http://localhost",
|
||||
"",
|
||||
"when@prod:",
|
||||
" framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource:",
|
||||
" path: ../src/Controller/",
|
||||
" namespace: App\\Controller",
|
||||
" type: attribute",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "21b72649d5622d8f7da329ffb5afb232a023619d"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/uid": {
|
||||
"manifest": {
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "0df5844274d871b37fc3816c57a768ffc60a43a5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/validator": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/validator.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" validation:",
|
||||
" # Enables validator auto-mapping support.",
|
||||
" # For instance, basic validation constraints will be inferred from Doctrine's metadata.",
|
||||
" #auto_mapping:",
|
||||
" # App\\Entity\\: []",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" validation:",
|
||||
" not_compromised_password: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "8c1c4e28d26a124b0bb273f537ca8ce443472bfd"
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
-3
@@ -868,7 +868,8 @@
|
||||
"5.3",
|
||||
"6.0",
|
||||
"6.1",
|
||||
"6.2"
|
||||
"6.2",
|
||||
"7.0"
|
||||
],
|
||||
"symfony/scaleway-mailer": [
|
||||
"6.4"
|
||||
@@ -975,7 +976,8 @@
|
||||
"6.3"
|
||||
],
|
||||
"symfony/uid": [
|
||||
"6.2"
|
||||
"6.2",
|
||||
"7.0"
|
||||
],
|
||||
"symfony/unifonic-notifier": [
|
||||
"7.1"
|
||||
@@ -1010,7 +1012,8 @@
|
||||
"symfony/validator": [
|
||||
"4.1",
|
||||
"4.3",
|
||||
"5.3"
|
||||
"5.3",
|
||||
"7.0"
|
||||
],
|
||||
"symfony/vonage-notifier": [
|
||||
"5.4"
|
||||
@@ -1171,6 +1174,9 @@
|
||||
},
|
||||
"6.2": {
|
||||
"symfony/framework-bundle": "<6.2"
|
||||
},
|
||||
"7.0": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"symfony/security-bundle": {
|
||||
@@ -1208,6 +1214,9 @@
|
||||
"symfony/uid": {
|
||||
"6.2": {
|
||||
"symfony/framework-bundle": "<6.2"
|
||||
},
|
||||
"7.0": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"symfony/ux-react": {
|
||||
@@ -1236,6 +1245,9 @@
|
||||
"symfony/validator": {
|
||||
"5.3": {
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"7.0": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"symfony/web-profiler-bundle": {
|
||||
|
||||
@@ -70,19 +70,12 @@
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" handle_all_throwables: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
@@ -183,7 +176,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "de6e1b3e2bbbe69e36262d72c3f3db858b1ab391"
|
||||
"ref": "6356c19b9ae08e7763e4ba2d9ae63043efc75db5"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/routing": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
|
||||
" # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
|
||||
" #default_uri: http://localhost",
|
||||
"",
|
||||
"when@prod:",
|
||||
" framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource:",
|
||||
" path: ../src/Controller/",
|
||||
" namespace: App\\Controller",
|
||||
" type: attribute",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "21b72649d5622d8f7da329ffb5afb232a023619d"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/uid": {
|
||||
"manifest": {
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "0df5844274d871b37fc3816c57a768ffc60a43a5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/validator": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.0"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/validator.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" validation:",
|
||||
" # Enables validator auto-mapping support.",
|
||||
" # For instance, basic validation constraints will be inferred from Doctrine's metadata.",
|
||||
" #auto_mapping:",
|
||||
" # App\\Entity\\: []",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" validation:",
|
||||
" not_compromised_password: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "8c1c4e28d26a124b0bb273f537ca8ce443472bfd"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user