mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 23:56:29 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"manifests": {
|
||||
"datana-gmbh/logz-io-handler": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"LOGZ_IO_TOKEN": "",
|
||||
"LOGZ_IO_APPLICATION_NAME": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/datana_logz_io_handler.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" Inpsyde\\LogzIoMonolog\\Handler\\LogzIoHandler:",
|
||||
" arguments:",
|
||||
" $token: '%env(LOGZ_IO_TOKEN)%'",
|
||||
" $host: 'listener-eu.logz.io'",
|
||||
"",
|
||||
" Datana\\LogzIo\\Handler\\Processor\\AddApplicationNameProcessor:",
|
||||
" arguments:",
|
||||
" - '%env(LOGZ_IO_APPLICATION_NAME)%'",
|
||||
" tags: ['monolog.processor']",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f4451b890bd52ca14812f70d68d733b5f2de6ea4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"datana-gmbh/zammad-api": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ZAMMAD_API_BASE_URI": "",
|
||||
"ZAMMAD_API_TOKEN": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/datana_zammad_api.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
"",
|
||||
" Datana\\Zammad\\Api\\ZammadClient:",
|
||||
" arguments:",
|
||||
" - '%env(ZAMMAD_API_BASE_URI)%'",
|
||||
" - '%env(ZAMMAD_API_TOKEN)%'",
|
||||
"",
|
||||
" Datana\\Zammad\\Api\\TicketsApi: null",
|
||||
" Datana\\Zammad\\Api\\NullTicketsApi: null",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\TicketsApi'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\TicketsApi'",
|
||||
"",
|
||||
"when@dev:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\NullTicketsApi'",
|
||||
"",
|
||||
"when@test:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\NullTicketsApi'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a6faf65c34a5e17f25d32c1d54a50fd06246b8ae"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jane-php/json-schema": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"bin/": "%BIN_DIR%/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Finish</> package configuration:",
|
||||
" 1. Configure <comment>config/jane/json_schema.php</> with your specification details",
|
||||
" 2. Run <comment>bin/jane-json-schema-generate</>",
|
||||
" 3. Add <comment>generated/</> directory to your composer autoload definition (eg. <comment>\"MyApp\\\\Library\\\\Generated\\\\\": \"generated/\"</>)",
|
||||
" 4. Open <comment>config/packages/jane.yaml</> and replace <comment>MyApp\\Library\\Generated\\</> namespace with your generated namespace.",
|
||||
" 5. Then remove line comments",
|
||||
"",
|
||||
"Documentation: https://jane.readthedocs.io/en/latest/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"bin/jane-json-schema-generate": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"require __DIR__ . '/../vendor/autoload.php';",
|
||||
"",
|
||||
"use Jane\\Component\\JsonSchema\\Console\\Command\\GenerateCommand;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\ConfigLoader;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\SchemaLoader;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArrayInput;",
|
||||
"use Symfony\\Component\\Console\\Output\\NullOutput;",
|
||||
"",
|
||||
"$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader());",
|
||||
"$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/json_schema.php'], $command->getDefinition());",
|
||||
"",
|
||||
"$command->execute($inputArray, new NullOutput());",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/jane/json_schema.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"return [",
|
||||
" 'json-schema-file' => __DIR__ . '/json-schema.json',",
|
||||
" 'root-class' => 'MyModel',",
|
||||
" 'namespace' => 'MyApp\\Library\\Generated',",
|
||||
" 'directory' => __DIR__ . '/../../generated',",
|
||||
"];",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/jane.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
" autoconfigure: true",
|
||||
"",
|
||||
"# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4ff67f4938664fce920aee616c112a682519e512"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jane-php/open-api-common": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"bin/": "%BIN_DIR%/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Finish</> package configuration:",
|
||||
" 1. Configure <comment>config/jane/open_api.php</> with your specification details",
|
||||
" 2. Run <comment>bin/jane-open-api-generate</>",
|
||||
" 3. Add <comment>generated/</> directory to your composer autoload definition (eg. <comment>\"MyApp\\\\Library\\\\Generated\\\\\": \"generated/\"</>)",
|
||||
" 4. Open <comment>config/packages/jane.yaml</> and replace <comment>MyApp\\Library\\Generated\\</> namespace with your generated namespace.",
|
||||
" 5. Then remove line comments",
|
||||
"",
|
||||
"Documentation: https://jane.readthedocs.io/en/latest/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"bin/jane-open-api-generate": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"require __DIR__ . '/../vendor/autoload.php';",
|
||||
"",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Command\\GenerateCommand;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\ConfigLoader;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\OpenApiMatcher;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\SchemaLoader;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArrayInput;",
|
||||
"use Symfony\\Component\\Console\\Output\\NullOutput;",
|
||||
"",
|
||||
"$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader(), new OpenApiMatcher());",
|
||||
"$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/open_api.php'], $command->getDefinition());",
|
||||
"",
|
||||
"$command->execute($inputArray, new NullOutput());",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/jane/open_api.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"return [",
|
||||
" 'openapi-file' => __DIR__ . '/open-api.yaml',",
|
||||
" 'namespace' => 'MyApp\\Library\\Generated',",
|
||||
" 'directory' => __DIR__ . '/../../generated',",
|
||||
"];",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/jane.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
" autoconfigure: true",
|
||||
"",
|
||||
"# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9443fa0142137a4a09eb7fd5caffc0710e0d7595"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"manifests": {
|
||||
"nucleos/dompdf-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Nucleos\\DompdfBundle\\NucleosDompdfBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/nucleos_dompdf.yaml": {
|
||||
"contents": [
|
||||
"nucleos_dompdf:",
|
||||
" defaults:",
|
||||
" chroot: '%kernel.project_dir%/public/assets' # See https://github.com/dompdf/dompdf/wiki/Usage#security-restrictions-for-local-files",
|
||||
" logOutputFile: '' # Prevent creating `/tmp/log.htm` which causes problems in some server configurations",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ac77a0c751bdccab42ddc73d7290719b31ecb691"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/block-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\BlockBundle\\SonataBlockBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_block.yaml": {
|
||||
"contents": [
|
||||
"sonata_block:",
|
||||
" http_cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "b4edd2a1e6ac1827202f336cac2771cb529de542"
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/doctrine-extensions": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Doctrine\\Bridge\\Symfony\\SonataDoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "4ea4a4b6730f83239608d7d4c849533645c70169"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/exporter": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Exporter\\Bridge\\Symfony\\SonataExporterBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "93d6df022ef1dc24bdfa8667ddd560bbde89a7cc"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/twig-extensions": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Twig\\Bridge\\Symfony\\SonataTwigBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "30dba2f9b719f21b497a6302f41aac07f9079e13"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"manifests": {
|
||||
"victor-prdh/recaptcha-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"VictorPrdh\\RecaptchaBundle\\RecaptchaBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"GOOGLE_RECAPTCHA_SITE_KEY": "",
|
||||
"GOOGLE_RECAPTCHA_SECRET_KEY": ""
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/recaptcha.yaml": {
|
||||
"contents": [
|
||||
"recaptcha:",
|
||||
" google_site_key: '%env(GOOGLE_RECAPTCHA_SITE_KEY)%'",
|
||||
" google_secret_key: '%env(GOOGLE_RECAPTCHA_SECRET_KEY)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f604d862b3ce4434d131a0e9b3a2eb7bb1784aff"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"manifests": {
|
||||
"datana-gmbh/logz-io-handler": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"LOGZ_IO_TOKEN": "",
|
||||
"LOGZ_IO_APPLICATION_NAME": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/datana_logz_io_handler.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" Inpsyde\\LogzIoMonolog\\Handler\\LogzIoHandler:",
|
||||
" arguments:",
|
||||
" $token: '%env(LOGZ_IO_TOKEN)%'",
|
||||
" $host: 'listener-eu.logz.io'",
|
||||
"",
|
||||
" Datana\\LogzIo\\Handler\\Processor\\AddApplicationNameProcessor:",
|
||||
" arguments:",
|
||||
" - '%env(LOGZ_IO_APPLICATION_NAME)%'",
|
||||
" tags: ['monolog.processor']",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f4451b890bd52ca14812f70d68d733b5f2de6ea4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"datana-gmbh/zammad-api": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ZAMMAD_API_BASE_URI": "",
|
||||
"ZAMMAD_API_TOKEN": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/datana_zammad_api.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
"",
|
||||
" Datana\\Zammad\\Api\\ZammadClient:",
|
||||
" arguments:",
|
||||
" - '%env(ZAMMAD_API_BASE_URI)%'",
|
||||
" - '%env(ZAMMAD_API_TOKEN)%'",
|
||||
"",
|
||||
" Datana\\Zammad\\Api\\TicketsApi: null",
|
||||
" Datana\\Zammad\\Api\\NullTicketsApi: null",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\TicketsApi'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\TicketsApi'",
|
||||
"",
|
||||
"when@dev:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\NullTicketsApi'",
|
||||
"",
|
||||
"when@test:",
|
||||
" services:",
|
||||
" Datana\\Zammad\\Api\\TicketsApiInterface: '@Datana\\Zammad\\Api\\NullTicketsApi'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a6faf65c34a5e17f25d32c1d54a50fd06246b8ae"
|
||||
}
|
||||
}
|
||||
}
|
||||
+31
-2
@@ -276,9 +276,15 @@
|
||||
"datana-gmbh/intercom-config": [
|
||||
"1.1"
|
||||
],
|
||||
"datana-gmbh/logz-io-handler": [
|
||||
"1.0"
|
||||
],
|
||||
"datana-gmbh/sendgrid-dynamic-template-mailer": [
|
||||
"1.0"
|
||||
],
|
||||
"datana-gmbh/zammad-api": [
|
||||
"1.0"
|
||||
],
|
||||
"deamon/logger-extra-bundle": [
|
||||
"4.0"
|
||||
],
|
||||
@@ -631,10 +637,12 @@
|
||||
],
|
||||
"jane-php/json-schema": [
|
||||
"5.0",
|
||||
"6.0"
|
||||
"6.0",
|
||||
"7.0"
|
||||
],
|
||||
"jane-php/open-api-common": [
|
||||
"6.0"
|
||||
"6.0",
|
||||
"7.0"
|
||||
],
|
||||
"jawira/case-converter-twig": [
|
||||
"0.0"
|
||||
@@ -1346,12 +1354,21 @@
|
||||
"3.64",
|
||||
"4.0"
|
||||
],
|
||||
"sonata-project/block-bundle": [
|
||||
"4.11"
|
||||
],
|
||||
"sonata-project/classification-bundle": [
|
||||
"3.7"
|
||||
],
|
||||
"sonata-project/core-bundle": [
|
||||
"3.9"
|
||||
],
|
||||
"sonata-project/doctrine-extensions": [
|
||||
"1.8"
|
||||
],
|
||||
"sonata-project/exporter": [
|
||||
"2.4"
|
||||
],
|
||||
"sonata-project/form-extensions": [
|
||||
"1.0",
|
||||
"1.4"
|
||||
@@ -1368,6 +1385,9 @@
|
||||
"sonata-project/translation-bundle": [
|
||||
"2.3"
|
||||
],
|
||||
"sonata-project/twig-extensions": [
|
||||
"1.2"
|
||||
],
|
||||
"spiechu/symfony-commons-bundle": [
|
||||
"0.1"
|
||||
],
|
||||
@@ -1565,6 +1585,9 @@
|
||||
"vich/uploader-bundle": [
|
||||
"1.7"
|
||||
],
|
||||
"victor-prdh/recaptcha-bundle": [
|
||||
"1.5"
|
||||
],
|
||||
"vincentchalamon/nav-bundle": [
|
||||
"1.0"
|
||||
],
|
||||
@@ -1647,11 +1670,17 @@
|
||||
"jane-php/json-schema": {
|
||||
"6.0": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"7.0": {
|
||||
"symfony/symfony": "<5.0"
|
||||
}
|
||||
},
|
||||
"jane-php/open-api-common": {
|
||||
"6.0": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"7.0": {
|
||||
"symfony/symfony": "<5.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jane-php/json-schema": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"bin/": "%BIN_DIR%/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Finish</> package configuration:",
|
||||
" 1. Configure <comment>config/jane/json_schema.php</> with your specification details",
|
||||
" 2. Run <comment>bin/jane-json-schema-generate</>",
|
||||
" 3. Add <comment>generated/</> directory to your composer autoload definition (eg. <comment>\"MyApp\\\\Library\\\\Generated\\\\\": \"generated/\"</>)",
|
||||
" 4. Open <comment>config/packages/jane.yaml</> and replace <comment>MyApp\\Library\\Generated\\</> namespace with your generated namespace.",
|
||||
" 5. Then remove line comments",
|
||||
"",
|
||||
"Documentation: https://jane.readthedocs.io/en/latest/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"bin/jane-json-schema-generate": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"require __DIR__ . '/../vendor/autoload.php';",
|
||||
"",
|
||||
"use Jane\\Component\\JsonSchema\\Console\\Command\\GenerateCommand;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\ConfigLoader;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\SchemaLoader;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArrayInput;",
|
||||
"use Symfony\\Component\\Console\\Output\\NullOutput;",
|
||||
"",
|
||||
"$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader());",
|
||||
"$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/json_schema.php'], $command->getDefinition());",
|
||||
"",
|
||||
"$command->execute($inputArray, new NullOutput());",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/jane/json_schema.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"return [",
|
||||
" 'json-schema-file' => __DIR__ . '/json-schema.json',",
|
||||
" 'root-class' => 'MyModel',",
|
||||
" 'namespace' => 'MyApp\\Library\\Generated',",
|
||||
" 'directory' => __DIR__ . '/../../generated',",
|
||||
"];",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/jane.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
" autoconfigure: true",
|
||||
"",
|
||||
"# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4ff67f4938664fce920aee616c112a682519e512"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jane-php/open-api-common": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"bin/": "%BIN_DIR%/",
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/symfony": "<5.0"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Finish</> package configuration:",
|
||||
" 1. Configure <comment>config/jane/open_api.php</> with your specification details",
|
||||
" 2. Run <comment>bin/jane-open-api-generate</>",
|
||||
" 3. Add <comment>generated/</> directory to your composer autoload definition (eg. <comment>\"MyApp\\\\Library\\\\Generated\\\\\": \"generated/\"</>)",
|
||||
" 4. Open <comment>config/packages/jane.yaml</> and replace <comment>MyApp\\Library\\Generated\\</> namespace with your generated namespace.",
|
||||
" 5. Then remove line comments",
|
||||
"",
|
||||
"Documentation: https://jane.readthedocs.io/en/latest/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"bin/jane-open-api-generate": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"require __DIR__ . '/../vendor/autoload.php';",
|
||||
"",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Command\\GenerateCommand;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\ConfigLoader;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\OpenApiMatcher;",
|
||||
"use Jane\\Component\\OpenApiCommon\\Console\\Loader\\SchemaLoader;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArrayInput;",
|
||||
"use Symfony\\Component\\Console\\Output\\NullOutput;",
|
||||
"",
|
||||
"$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader(), new OpenApiMatcher());",
|
||||
"$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/open_api.php'], $command->getDefinition());",
|
||||
"",
|
||||
"$command->execute($inputArray, new NullOutput());",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/jane/open_api.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"return [",
|
||||
" 'openapi-file' => __DIR__ . '/open-api.yaml',",
|
||||
" 'namespace' => 'MyApp\\Library\\Generated',",
|
||||
" 'directory' => __DIR__ . '/../../generated',",
|
||||
"];",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/jane.yaml": {
|
||||
"contents": [
|
||||
"services:",
|
||||
" _defaults:",
|
||||
" autowire: true",
|
||||
" autoconfigure: true",
|
||||
"",
|
||||
"# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9443fa0142137a4a09eb7fd5caffc0710e0d7595"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,12 +17,13 @@
|
||||
"nucleos_dompdf:",
|
||||
" defaults:",
|
||||
" chroot: '%kernel.project_dir%/public/assets' # See https://github.com/dompdf/dompdf/wiki/Usage#security-restrictions-for-local-files",
|
||||
" logOutputFile: '' # Prevent creating `/tmp/log.htm` which causes problems in some server configurations",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1021b8850e3d41716cd324c73160384e70a9857e"
|
||||
"ref": "ac77a0c751bdccab42ddc73d7290719b31ecb691"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/block-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\BlockBundle\\SonataBlockBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_block.yaml": {
|
||||
"contents": [
|
||||
"sonata_block:",
|
||||
" http_cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "b4edd2a1e6ac1827202f336cac2771cb529de542"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/doctrine-extensions": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Doctrine\\Bridge\\Symfony\\SonataDoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "4ea4a4b6730f83239608d7d4c849533645c70169"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/exporter": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Exporter\\Bridge\\Symfony\\SonataExporterBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "93d6df022ef1dc24bdfa8667ddd560bbde89a7cc"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/twig-extensions": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\Twig\\Bridge\\Symfony\\SonataTwigBundle": [
|
||||
"all"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"ref": "30dba2f9b719f21b497a6302f41aac07f9079e13"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"manifests": {
|
||||
"victor-prdh/recaptcha-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"VictorPrdh\\RecaptchaBundle\\RecaptchaBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"GOOGLE_RECAPTCHA_SITE_KEY": "",
|
||||
"GOOGLE_RECAPTCHA_SECRET_KEY": ""
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/recaptcha.yaml": {
|
||||
"contents": [
|
||||
"recaptcha:",
|
||||
" google_site_key: '%env(GOOGLE_RECAPTCHA_SITE_KEY)%'",
|
||||
" google_secret_key: '%env(GOOGLE_RECAPTCHA_SECRET_KEY)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f604d862b3ce4434d131a0e9b3a2eb7bb1784aff"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user