mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -23,17 +23,6 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/routes/api_platform_admin.yaml": {
|
||||
"contents": [
|
||||
"admin:",
|
||||
" path: /admin",
|
||||
" controller: Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController",
|
||||
" defaults:",
|
||||
" template: admin.html.twig",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/js/admin.js": {
|
||||
"contents": [
|
||||
"import React from 'react';",
|
||||
@@ -47,6 +36,17 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/api_platform_admin.yaml": {
|
||||
"contents": [
|
||||
"admin:",
|
||||
" path: /admin",
|
||||
" controller: Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController",
|
||||
" defaults:",
|
||||
" template: admin.html.twig",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"templates/admin.html.twig": {
|
||||
"contents": [
|
||||
"{% extends 'base.html.twig' %}",
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/routes/api_platform.yaml": {
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
"api_platform:",
|
||||
" resource: .",
|
||||
" type: api_platform",
|
||||
" prefix: /api",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -42,8 +38,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"config/routes/api_platform.yaml": {
|
||||
"contents": [
|
||||
"api_platform:",
|
||||
" resource: .",
|
||||
" type: api_platform",
|
||||
" prefix: /api",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/routes/api_platform.yaml": {
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
"api_platform:",
|
||||
" resource: .",
|
||||
" type: api_platform",
|
||||
" prefix: /api",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -46,8 +42,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"config/routes/api_platform.yaml": {
|
||||
"contents": [
|
||||
"api_platform:",
|
||||
" resource: .",
|
||||
" type: api_platform",
|
||||
" prefix: /api",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -117,18 +129,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64"
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -126,18 +138,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e4fc55e8adf9aa89d9bba8f5a95669d33a16cb00"
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -109,18 +121,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c3d09597f211294e75b221b1d97a9c22f74957e1"
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -84,16 +96,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname: 'main_test%env(default::TEST_TOKEN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -117,14 +119,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"config/packages/test/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname: 'main_test%env(default::TEST_TOKEN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -84,16 +96,6 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
@@ -117,14 +119,12 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"config/packages/test/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine_migrations.yaml": {
|
||||
"contents": [
|
||||
"doctrine_migrations:",
|
||||
@@ -23,12 +29,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "b609494a0ab33d79acf3ead2067e3f67c9a47bd2"
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine_migrations.yaml": {
|
||||
"contents": [
|
||||
"doctrine_migrations:",
|
||||
@@ -23,12 +29,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "baaa439e3e3179e69e3da84b671f0a3e4a2f56ad"
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/doctrine_migrations.yaml": {
|
||||
"contents": [
|
||||
"doctrine_migrations:",
|
||||
@@ -24,12 +30,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"migrations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ee609429c9ee23e22d6fa5728211768f51ed2818"
|
||||
|
||||
@@ -12,16 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"#easy_admin:",
|
||||
@@ -33,6 +23,16 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "66070ea553247b0cd5275e21d0fe5399a25f40be"
|
||||
|
||||
@@ -12,16 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/EasyAdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"#easy_admin:",
|
||||
@@ -33,6 +23,16 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/EasyAdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0a51040a43c6f2172a3a0135cd15daf2043905d7"
|
||||
|
||||
@@ -18,10 +18,8 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/hautelook_alice.yaml": {
|
||||
"fixtures/.gitignore": {
|
||||
"contents": [
|
||||
"imports:",
|
||||
" - { resource: ../dev/hautelook_alice.yaml }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -34,8 +32,10 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"fixtures/.gitignore": {
|
||||
"config/packages/test/hautelook_alice.yaml": {
|
||||
"contents": [
|
||||
"imports:",
|
||||
" - { resource: ../dev/hautelook_alice.yaml }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
+2
-1
@@ -621,7 +621,8 @@
|
||||
"4.0",
|
||||
"4.2",
|
||||
"5.1",
|
||||
"5.3"
|
||||
"5.3",
|
||||
"6.0"
|
||||
],
|
||||
"symfony/security-bundle": [
|
||||
"3.3",
|
||||
|
||||
@@ -12,16 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"#easy_admin:",
|
||||
@@ -33,6 +23,16 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "eb4a4fe0e4ab0dc4337808de561b7cb0ff592a0a"
|
||||
|
||||
@@ -12,16 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"#easy_admin:",
|
||||
@@ -33,6 +23,16 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/easy_admin.yaml": {
|
||||
"contents": [
|
||||
"easy_admin_bundle:",
|
||||
" resource: '@EasyAdminBundle/Controller/AdminController.php'",
|
||||
" prefix: /admin",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e58cc3a3956761ff41c27bc9847b145655494d42"
|
||||
|
||||
@@ -13,14 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/nelmio_alice.yaml": {
|
||||
"contents": [
|
||||
"imports:",
|
||||
" - { resource: ../dev/nelmio_alice.yaml }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/nelmio_alice.yaml": {
|
||||
"contents": [
|
||||
"nelmio_alice:",
|
||||
@@ -35,6 +27,14 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/nelmio_alice.yaml": {
|
||||
"contents": [
|
||||
"imports:",
|
||||
" - { resource: ../dev/nelmio_alice.yaml }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0b9900ece737bec7752e4155c0164639dd9b0cb0"
|
||||
|
||||
+29
-29
@@ -13,6 +13,35 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -57,35 +86,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e"
|
||||
|
||||
+29
-29
@@ -13,6 +13,35 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -60,35 +89,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
|
||||
|
||||
+13
-13
@@ -12,19 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller:form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"# See the configuration reference at https://github.com/scheb/2fa/blob/master/doc/configuration.md",
|
||||
@@ -38,6 +25,19 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller:form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "62660e7d21b8b5295c5a6f8ca17dc7099881f267"
|
||||
|
||||
+48
-48
@@ -8,6 +8,54 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"bin/console": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Console\\Application;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArgvInput;",
|
||||
"use Symfony\\Component\\Debug\\Debug;",
|
||||
"",
|
||||
"if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {",
|
||||
" echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;",
|
||||
"}",
|
||||
"",
|
||||
"set_time_limit(0);",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Application::class)) {",
|
||||
" throw new LogicException('You need to add \"symfony/framework-bundle\" as a Composer dependency.');",
|
||||
"}",
|
||||
"",
|
||||
"$input = new ArgvInput();",
|
||||
"if (null !== $env = $input->getParameterOption(['--env', '-e'], null, true)) {",
|
||||
" putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);",
|
||||
"}",
|
||||
"",
|
||||
"if ($input->hasParameterOption('--no-debug', true)) {",
|
||||
" putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" if (class_exists(Debug::class)) {",
|
||||
" Debug::enable();",
|
||||
" }",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$application = new Application($kernel);",
|
||||
"$application->run($input);",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -66,54 +114,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/console": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Console\\Application;",
|
||||
"use Symfony\\Component\\Console\\Input\\ArgvInput;",
|
||||
"use Symfony\\Component\\Debug\\Debug;",
|
||||
"",
|
||||
"if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {",
|
||||
" echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;",
|
||||
"}",
|
||||
"",
|
||||
"set_time_limit(0);",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Application::class)) {",
|
||||
" throw new LogicException('You need to add \"symfony/framework-bundle\" as a Composer dependency.');",
|
||||
"}",
|
||||
"",
|
||||
"$input = new ArgvInput();",
|
||||
"if (null !== $env = $input->getParameterOption(['--env', '-e'], null, true)) {",
|
||||
" putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);",
|
||||
"}",
|
||||
"",
|
||||
"if ($input->hasParameterOption('--no-debug', true)) {",
|
||||
" putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" if (class_exists(Debug::class)) {",
|
||||
" Debug::enable();",
|
||||
" }",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$application = new Application($kernel);",
|
||||
"$application->run($input);",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
}
|
||||
},
|
||||
"ref": "524e110a6284dae4172aa8cc32db6f819428f6ac"
|
||||
|
||||
+29
-29
@@ -8,35 +8,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/console": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
@@ -84,6 +55,35 @@
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0a4841612ca4dd3464cbbe1e06b073c79ce7a7f2"
|
||||
|
||||
+29
-29
@@ -8,35 +8,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/console": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
@@ -84,6 +55,35 @@
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "fd5340d07d4c90504843b53da41525cf42e31f5c"
|
||||
|
||||
+128
-128
@@ -74,6 +74,134 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -168,134 +296,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5"
|
||||
|
||||
+129
-129
@@ -74,6 +74,135 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: 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_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
@@ -168,135 +297,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: 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_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4e582450c27d790227d2596a2ffb514fd71d5db7"
|
||||
|
||||
+120
-120
@@ -74,126 +74,6 @@
|
||||
],
|
||||
"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/configuration.html#application-related-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,Entity,Tests,Kernel.php}'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -259,6 +139,126 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"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/configuration.html#application-related-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,Entity,Tests,Kernel.php}'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1bbe9a46c76d162f0c81b4f051285d7bac45bdb8"
|
||||
|
||||
+148
-148
@@ -74,154 +74,6 @@
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.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/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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -287,6 +139,154 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.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/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3b9c85f14cad439042f88f94a1fd15fb8ed923c9"
|
||||
|
||||
+115
-115
@@ -77,121 +77,6 @@
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"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/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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -241,6 +126,121 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"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/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "02f54ab08d007f94c4655cd68526500cb8f17451"
|
||||
|
||||
+115
-115
@@ -67,121 +67,6 @@
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"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/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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -231,6 +116,121 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
" #http_method_override: 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",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"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/configuration.html#application-related-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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"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/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "7eb218d19263e5e4a0f9d1d1502d8656098ec857"
|
||||
|
||||
+107
-107
@@ -54,113 +54,6 @@
|
||||
],
|
||||
"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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"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/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",
|
||||
" http_method_override: false",
|
||||
"",
|
||||
" # 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",
|
||||
" storage_factory_id: session.storage.factory.native",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
@@ -210,6 +103,113 @@
|
||||
""
|
||||
],
|
||||
"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",
|
||||
" http_method_override: false",
|
||||
"",
|
||||
" # 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",
|
||||
" storage_factory_id: session.storage.factory.native",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"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/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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"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
|
||||
}
|
||||
},
|
||||
"ref": "414ba00ad43fa71be42c7906a551f1831716b03c"
|
||||
|
||||
@@ -54,79 +54,25 @@
|
||||
],
|
||||
"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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"src/Kernel.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';",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"src/Controller/.gitignore": {
|
||||
"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
|
||||
@@ -161,25 +107,79 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"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/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'",
|
||||
" - '../src/Tests/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -12,19 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -87,6 +74,19 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "feb9b6ee797ce47bb228d21c9a564a855d3dd00e"
|
||||
|
||||
@@ -12,24 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -90,6 +72,24 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2120e71a370db3a494b8afcc42d7cfb2cff6f910"
|
||||
|
||||
@@ -12,24 +12,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
@@ -91,6 +73,24 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a7bace7dbc5a7ed5608dbe2165e0774c87175fe6"
|
||||
|
||||
@@ -19,6 +19,58 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -56,58 +108,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f59588dbcb508b1f45097a97d5066905aa6f8f41"
|
||||
|
||||
@@ -19,6 +19,54 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -57,54 +105,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2ba17ea3190d76e6e37a52378f6bca3d84891bc5"
|
||||
|
||||
@@ -19,6 +19,54 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -58,54 +106,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0e1b186400de9d4ab83363138b4eb0072c99b2ab"
|
||||
|
||||
@@ -19,6 +19,54 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -64,54 +112,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f42c00dd9758feeafde5dfad515117753599f8f2"
|
||||
|
||||
@@ -19,6 +19,60 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!ini_get('date.timezone')) {",
|
||||
" ini_set('date.timezone', 'UTC');",
|
||||
"}",
|
||||
"",
|
||||
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
||||
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
||||
" require PHPUNIT_COMPOSER_INSTALL;",
|
||||
" PHPUnit\\TextUI\\Command::main();",
|
||||
"} else {",
|
||||
" if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
" }",
|
||||
"",
|
||||
" require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -66,60 +120,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!ini_get('date.timezone')) {",
|
||||
" ini_set('date.timezone', 'UTC');",
|
||||
"}",
|
||||
"",
|
||||
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
||||
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
||||
" require PHPUNIT_COMPOSER_INSTALL;",
|
||||
" PHPUnit\\TextUI\\Command::main();",
|
||||
"} else {",
|
||||
" if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
" }",
|
||||
"",
|
||||
" require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".env.test": {
|
||||
"contents": [
|
||||
"# define your env variables for the test env here",
|
||||
"KERNEL_CLASS='App\\Kernel'",
|
||||
"APP_SECRET='$ecretf0rt3st'",
|
||||
"SYMFONY_DEPRECATIONS_HELPER=999999",
|
||||
"PANTHER_APP_ENV=panther",
|
||||
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
|
||||
" require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
|
||||
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96"
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/routing": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource: ../src/Controller/",
|
||||
" type: annotation",
|
||||
"",
|
||||
"kernel:",
|
||||
" resource: ../src/Kernel.php",
|
||||
" type: annotation",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" utf8: true",
|
||||
"",
|
||||
" # 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
|
||||
}
|
||||
},
|
||||
"ref": "ab9ad892b7bba7ac584f6dc2ccdb659d358c63c5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,14 +18,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"swiftmailer:",
|
||||
" disable_delivery: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"swiftmailer:",
|
||||
@@ -44,6 +36,14 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/swiftmailer.yaml": {
|
||||
"contents": [
|
||||
"swiftmailer:",
|
||||
" disable_delivery: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac"
|
||||
|
||||
@@ -8,6 +8,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"translations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/translation.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -19,12 +25,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"translations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2ad9d2545bce8ca1a863e50e92141f0b9d87ffcd"
|
||||
|
||||
@@ -8,6 +8,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"translations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/translation.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
@@ -26,12 +32,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"translations/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "da64f5a2b6d96f5dc24914517c0350a5f91dee43"
|
||||
|
||||
@@ -13,11 +13,12 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/dev/twig.yaml": {
|
||||
"config/packages/twig.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
"twig:",
|
||||
" default_path: '%kernel.project_dir%/templates'",
|
||||
" debug: '%kernel.debug%'",
|
||||
" strict_variables: '%kernel.debug%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -30,12 +31,11 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/twig.yaml": {
|
||||
"config/routes/dev/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" default_path: '%kernel.project_dir%/templates'",
|
||||
" debug: '%kernel.debug%'",
|
||||
" strict_variables: '%kernel.debug%'",
|
||||
"_errors:",
|
||||
" resource: '@TwigBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -13,14 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
@@ -32,6 +24,14 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"templates/base.html.twig": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
|
||||
@@ -13,14 +13,6 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/test/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
@@ -29,6 +21,14 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/twig.yaml": {
|
||||
"contents": [
|
||||
"twig:",
|
||||
" strict_variables: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"templates/base.html.twig": {
|
||||
"contents": [
|
||||
"<!DOCTYPE html>",
|
||||
|
||||
@@ -13,15 +13,14 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/routes/dev/web_profiler.yaml": {
|
||||
"config/packages/dev/web_profiler.yaml": {
|
||||
"contents": [
|
||||
"web_profiler_wdt:",
|
||||
" resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'",
|
||||
" prefix: /_wdt",
|
||||
"web_profiler:",
|
||||
" toolbar: true",
|
||||
" intercept_redirects: false",
|
||||
"",
|
||||
"web_profiler_profiler:",
|
||||
" resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'",
|
||||
" prefix: /_profiler",
|
||||
"framework:",
|
||||
" profiler: { only_exceptions: false }",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
@@ -38,14 +37,15 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/web_profiler.yaml": {
|
||||
"config/routes/dev/web_profiler.yaml": {
|
||||
"contents": [
|
||||
"web_profiler:",
|
||||
" toolbar: true",
|
||||
" intercept_redirects: false",
|
||||
"web_profiler_wdt:",
|
||||
" resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'",
|
||||
" prefix: /_wdt",
|
||||
"",
|
||||
"framework:",
|
||||
" profiler: { only_exceptions: false }",
|
||||
"web_profiler_profiler:",
|
||||
" resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'",
|
||||
" prefix: /_profiler",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
|
||||
@@ -21,145 +21,6 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets.",
|
||||
" # This should match Encore.setOutputPath() in webpack.config.js.",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
|
||||
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
|
||||
" # Available in version 1.2",
|
||||
" #cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
@@ -240,6 +101,145 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets.",
|
||||
" # This should match Encore.setOutputPath() in webpack.config.js.",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
|
||||
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
|
||||
" # Available in version 1.2",
|
||||
" #cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2d96acce1b27ddaa12bd7405a39892928ce2b95d"
|
||||
|
||||
@@ -21,164 +21,6 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
@@ -259,6 +101,164 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "729e968bd020e8e012a7073739b6ac536e04160e"
|
||||
|
||||
@@ -28,174 +28,6 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
@@ -276,6 +108,174 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.(j|t)sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0f274572ea315eb3b5884518a50ca43f211b4534"
|
||||
|
||||
+10
-10
@@ -19,6 +19,16 @@
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/dev/zenstruck_foundry.yaml": {
|
||||
"contents": [
|
||||
"# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration",
|
||||
"zenstruck_foundry:",
|
||||
" # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)",
|
||||
" auto_refresh_proxies: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/zenstruck_foundry.yaml": {
|
||||
"contents": [
|
||||
"# Unless you want different configuration for test/dev environments,",
|
||||
@@ -29,16 +39,6 @@
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/dev/zenstruck_foundry.yaml": {
|
||||
"contents": [
|
||||
"# See full configuration: https://github.com/zenstruck/foundry#full-default-bundle-configuration",
|
||||
"zenstruck_foundry:",
|
||||
" # Whether to auto-refresh proxies by default (https://github.com/zenstruck/foundry#auto-refresh)",
|
||||
" auto_refresh_proxies: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "26a9e6291d5fc0bfd1d673bc1d6cfe3c582c7678"
|
||||
|
||||
Reference in New Issue
Block a user