mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
Remove EasyAdmin integration
- Removed EasyAdmin controllers and configurations. - Uninstalled `easycorp/easyadmin-bundle` and related dependencies. - Cleaned up all associated routes, bundles, and vendor references.
This commit is contained in:
3
.idea/TijdVoorDeTest.iml
generated
3
.idea/TijdVoorDeTest.iml
generated
@@ -116,15 +116,12 @@
|
|||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/thecodingmachine/phpstan-safe-rule" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/thecodingmachine/phpstan-safe-rule" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/thecodingmachine/safe" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/thecodingmachine/safe" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/easycorp/easyadmin-bundle" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/intl" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/intl" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mime" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mime" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/ux-twig-component" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/validator" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/validator" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/extra-bundle" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/extra-bundle" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/html-extra" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/data-fixtures" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/data-fixtures" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-fixtures-bundle" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-fixtures-bundle" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/vincentlanglet/twig-cs-fixer" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/vincentlanglet/twig-cs-fixer" />
|
||||||
|
|||||||
7
.idea/php.xml
generated
7
.idea/php.xml
generated
@@ -68,7 +68,6 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/symfony/form" />
|
<path value="$PROJECT_DIR$/vendor/symfony/form" />
|
||||||
<path value="$PROJECT_DIR$/vendor/runtime/frankenphp-symfony" />
|
<path value="$PROJECT_DIR$/vendor/runtime/frankenphp-symfony" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
|
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
|
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/serializer" />
|
<path value="$PROJECT_DIR$/vendor/symfony/serializer" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
|
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
|
||||||
@@ -78,7 +77,6 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/symfony/browser-kit" />
|
<path value="$PROJECT_DIR$/vendor/symfony/browser-kit" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/config" />
|
<path value="$PROJECT_DIR$/vendor/symfony/config" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/security-http" />
|
<path value="$PROJECT_DIR$/vendor/symfony/security-http" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
|
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
|
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/runtime" />
|
<path value="$PROJECT_DIR$/vendor/symfony/runtime" />
|
||||||
@@ -124,7 +122,6 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/symfony/error-handler" />
|
<path value="$PROJECT_DIR$/vendor/symfony/error-handler" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
|
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/console" />
|
<path value="$PROJECT_DIR$/vendor/symfony/console" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/ux-twig-component" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/password-hasher" />
|
<path value="$PROJECT_DIR$/vendor/symfony/password-hasher" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/process" />
|
<path value="$PROJECT_DIR$/vendor/symfony/process" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
|
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
|
||||||
@@ -142,7 +139,6 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/doctrine/sql-formatter" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/sql-formatter" />
|
||||||
<path value="$PROJECT_DIR$/vendor/doctrine/orm" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/orm" />
|
||||||
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
|
||||||
<path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/evenement/evenement" />
|
<path value="$PROJECT_DIR$/vendor/evenement/evenement" />
|
||||||
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
|
||||||
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-bundle" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-bundle" />
|
||||||
@@ -191,13 +187,14 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/clue/ndjson-react" />
|
<path value="$PROJECT_DIR$/vendor/clue/ndjson-react" />
|
||||||
<path value="$PROJECT_DIR$/vendor/fidry/cpu-core-counter" />
|
<path value="$PROJECT_DIR$/vendor/fidry/cpu-core-counter" />
|
||||||
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
|
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
|
||||||
<path value="$PROJECT_DIR$/vendor/twig/html-extra" />
|
|
||||||
<path value="$PROJECT_DIR$/vendor/twig/twig" />
|
<path value="$PROJECT_DIR$/vendor/twig/twig" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/ux-turbo" />
|
<path value="$PROJECT_DIR$/vendor/symfony/ux-turbo" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/stimulus-bundle" />
|
<path value="$PROJECT_DIR$/vendor/symfony/stimulus-bundle" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
|
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php84" />
|
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php84" />
|
||||||
<path value="$PROJECT_DIR$/vendor/symfony/brevo-mailer" />
|
<path value="$PROJECT_DIR$/vendor/symfony/brevo-mailer" />
|
||||||
|
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
|
||||||
|
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
|
||||||
</include_path>
|
</include_path>
|
||||||
</component>
|
</component>
|
||||||
<component name="PhpInterpreters">
|
<component name="PhpInterpreters">
|
||||||
|
|||||||
6
Justfile
6
Justfile
@@ -1,8 +1,8 @@
|
|||||||
up:
|
up *args:
|
||||||
docker compose up -d
|
docker compose up -d {{ args }}
|
||||||
|
|
||||||
down *args:
|
down *args:
|
||||||
docker compose down {{ args }} --remove-orphans
|
docker compose down --remove-orphans {{ args }}
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
docker compose stop
|
docker compose stop
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
"doctrine/doctrine-bundle": "^2.16.2",
|
"doctrine/doctrine-bundle": "^2.16.2",
|
||||||
"doctrine/doctrine-migrations-bundle": "^3.4.2",
|
"doctrine/doctrine-migrations-bundle": "^3.4.2",
|
||||||
"doctrine/orm": "^3.5.2",
|
"doctrine/orm": "^3.5.2",
|
||||||
"easycorp/easyadmin-bundle": "^4.25.1",
|
|
||||||
"phpdocumentor/reflection-docblock": "^5.6.3",
|
"phpdocumentor/reflection-docblock": "^5.6.3",
|
||||||
"phpoffice/phpspreadsheet": "^5.1",
|
"phpoffice/phpspreadsheet": "^5.1",
|
||||||
"phpstan/phpdoc-parser": "^2.3",
|
"phpstan/phpdoc-parser": "^2.3",
|
||||||
@@ -34,9 +33,11 @@
|
|||||||
"symfony/security-bundle": "7.3.*",
|
"symfony/security-bundle": "7.3.*",
|
||||||
"symfony/security-csrf": "7.3.*",
|
"symfony/security-csrf": "7.3.*",
|
||||||
"symfony/serializer": "7.3.*",
|
"symfony/serializer": "7.3.*",
|
||||||
|
"symfony/translation": "7.3.*",
|
||||||
"symfony/twig-bundle": "7.3.*",
|
"symfony/twig-bundle": "7.3.*",
|
||||||
"symfony/uid": "7.3.*",
|
"symfony/uid": "7.3.*",
|
||||||
"symfony/ux-turbo": "^2.30.0",
|
"symfony/ux-turbo": "^2.30.0",
|
||||||
|
"symfony/validator": "7.3.*",
|
||||||
"symfony/yaml": "7.3.*",
|
"symfony/yaml": "7.3.*",
|
||||||
"symfonycasts/sass-bundle": "^0.8.3",
|
"symfonycasts/sass-bundle": "^0.8.3",
|
||||||
"symfonycasts/verify-email-bundle": "^1.17.4",
|
"symfonycasts/verify-email-bundle": "^1.17.4",
|
||||||
@@ -49,11 +50,11 @@
|
|||||||
"doctrine/doctrine-fixtures-bundle": "^4.1",
|
"doctrine/doctrine-fixtures-bundle": "^4.1",
|
||||||
"friendsofphp/php-cs-fixer": "^3.88.2",
|
"friendsofphp/php-cs-fixer": "^3.88.2",
|
||||||
"phpstan/extension-installer": "^1.4.3",
|
"phpstan/extension-installer": "^1.4.3",
|
||||||
"phpstan/phpstan": "^2.1.29",
|
"phpstan/phpstan": "^2.1.30",
|
||||||
"phpstan/phpstan-doctrine": "^2.0.6",
|
"phpstan/phpstan-doctrine": "^2.0.6",
|
||||||
"phpstan/phpstan-phpunit": "^2.0.7",
|
"phpstan/phpstan-phpunit": "^2.0.7",
|
||||||
"phpstan/phpstan-symfony": "^2.0.8",
|
"phpstan/phpstan-symfony": "^2.0.8",
|
||||||
"phpunit/phpunit": "^12.3.15",
|
"phpunit/phpunit": "^12.4.0",
|
||||||
"rector/rector": "^2.1.7",
|
"rector/rector": "^2.1.7",
|
||||||
"roave/security-advisories": "dev-latest",
|
"roave/security-advisories": "dev-latest",
|
||||||
"symfony/browser-kit": "7.3.*",
|
"symfony/browser-kit": "7.3.*",
|
||||||
|
|||||||
308
composer.lock
generated
308
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "b0035e3726f72e1549e382ed9b170ae3",
|
"content-hash": "643289575c0db1293c406f8c21a598f3",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "composer/pcre",
|
"name": "composer/pcre",
|
||||||
@@ -1278,108 +1278,6 @@
|
|||||||
},
|
},
|
||||||
"time": "2025-01-24T11:45:48+00:00"
|
"time": "2025-01-24T11:45:48+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "easycorp/easyadmin-bundle",
|
|
||||||
"version": "v4.25.1",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/EasyCorp/EasyAdminBundle.git",
|
|
||||||
"reference": "954e88c9cb004c3861b6ec6ae52241642995fb86"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/EasyCorp/EasyAdminBundle/zipball/954e88c9cb004c3861b6ec6ae52241642995fb86",
|
|
||||||
"reference": "954e88c9cb004c3861b6ec6ae52241642995fb86",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"doctrine/doctrine-bundle": "^2.5",
|
|
||||||
"doctrine/orm": "^2.12|^3.0",
|
|
||||||
"ext-json": "*",
|
|
||||||
"php": ">=8.1",
|
|
||||||
"symfony/asset": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/cache": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/config": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/deprecation-contracts": "^3.0",
|
|
||||||
"symfony/doctrine-bridge": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/filesystem": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/form": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/http-foundation": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/http-kernel": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/intl": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/property-access": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/security-bundle": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/string": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/translation": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/twig-bridge": "^5.4.48|^6.4.16|^7.1.9",
|
|
||||||
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/uid": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/ux-twig-component": "^2.21",
|
|
||||||
"symfony/validator": "^5.4|^6.0|^7.0",
|
|
||||||
"twig/extra-bundle": "^3.17",
|
|
||||||
"twig/html-extra": "^3.17",
|
|
||||||
"twig/twig": "^3.20"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"doctrine/doctrine-fixtures-bundle": "^3.4|3.5.x-dev",
|
|
||||||
"phpstan/extension-installer": "^1.4",
|
|
||||||
"phpstan/phpstan": "^2.0",
|
|
||||||
"phpstan/phpstan-phpunit": "^2.0",
|
|
||||||
"phpstan/phpstan-strict-rules": "^2.0",
|
|
||||||
"phpstan/phpstan-symfony": "^2.0",
|
|
||||||
"psr/log": "^1.0",
|
|
||||||
"symfony/browser-kit": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/css-selector": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/debug-bundle": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/dom-crawler": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/expression-language": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/phpunit-bridge": "^6.1|^7.0",
|
|
||||||
"symfony/process": "^5.4|^6.0|^7.0",
|
|
||||||
"symfony/web-link": "^5.4|^6.0|^7.0"
|
|
||||||
},
|
|
||||||
"type": "symfony-bundle",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "4.0.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"EasyCorp\\Bundle\\EasyAdminBundle\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Project Contributors",
|
|
||||||
"homepage": "https://github.com/EasyCorp/EasyAdminBundle/graphs/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Admin generator for Symfony applications",
|
|
||||||
"homepage": "https://github.com/EasyCorp/EasyAdminBundle",
|
|
||||||
"keywords": [
|
|
||||||
"admin",
|
|
||||||
"backend",
|
|
||||||
"generator"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/EasyCorp/EasyAdminBundle/issues",
|
|
||||||
"source": "https://github.com/EasyCorp/EasyAdminBundle/tree/v4.25.1"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://github.com/javiereguiluz",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2025-09-10T05:00:12+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "egulias/email-validator",
|
"name": "egulias/email-validator",
|
||||||
"version": "4.0.4",
|
"version": "4.0.4",
|
||||||
@@ -7701,93 +7599,6 @@
|
|||||||
],
|
],
|
||||||
"time": "2025-08-27T15:25:48+00:00"
|
"time": "2025-08-27T15:25:48+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "symfony/ux-twig-component",
|
|
||||||
"version": "v2.30.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/symfony/ux-twig-component.git",
|
|
||||||
"reference": "2f445efda4d4400d4d1911ddf9710c366f339614"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/symfony/ux-twig-component/zipball/2f445efda4d4400d4d1911ddf9710c366f339614",
|
|
||||||
"reference": "2f445efda4d4400d4d1911ddf9710c366f339614",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=8.1",
|
|
||||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/deprecation-contracts": "^2.2|^3.0",
|
|
||||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/property-access": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"twig/twig": "^3.10.3"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"symfony/config": "<5.4.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"symfony/console": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/css-selector": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/dom-crawler": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/framework-bundle": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/phpunit-bridge": "^6.0|^7.0|^8.0",
|
|
||||||
"symfony/stimulus-bundle": "^2.9.1",
|
|
||||||
"symfony/twig-bundle": "^5.4|^6.0|^7.0|^8.0",
|
|
||||||
"symfony/webpack-encore-bundle": "^1.15|^2.3.0"
|
|
||||||
},
|
|
||||||
"type": "symfony-bundle",
|
|
||||||
"extra": {
|
|
||||||
"thanks": {
|
|
||||||
"url": "https://github.com/symfony/ux",
|
|
||||||
"name": "symfony/ux"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Symfony\\UX\\TwigComponent\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "https://symfony.com/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Twig components for Symfony",
|
|
||||||
"homepage": "https://symfony.com",
|
|
||||||
"keywords": [
|
|
||||||
"components",
|
|
||||||
"symfony-ux",
|
|
||||||
"twig"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/symfony/ux-twig-component/tree/v2.30.0"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://symfony.com/sponsor",
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/fabpot",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://github.com/nicolas-grekas",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2025-08-27T15:25:48+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "symfony/validator",
|
"name": "symfony/validator",
|
||||||
"version": "v7.3.4",
|
"version": "v7.3.4",
|
||||||
@@ -8447,74 +8258,6 @@
|
|||||||
],
|
],
|
||||||
"time": "2025-02-19T14:29:33+00:00"
|
"time": "2025-02-19T14:29:33+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "twig/html-extra",
|
|
||||||
"version": "v3.21.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/twigphp/html-extra.git",
|
|
||||||
"reference": "5442dd707601c83b8cd4233e37bb10ab8489a90f"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/twigphp/html-extra/zipball/5442dd707601c83b8cd4233e37bb10ab8489a90f",
|
|
||||||
"reference": "5442dd707601c83b8cd4233e37bb10ab8489a90f",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=8.1.0",
|
|
||||||
"symfony/deprecation-contracts": "^2.5|^3",
|
|
||||||
"symfony/mime": "^5.4|^6.4|^7.0",
|
|
||||||
"twig/twig": "^3.13|^4.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"symfony/phpunit-bridge": "^6.4|^7.0"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"files": [
|
|
||||||
"Resources/functions.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
|
||||||
"Twig\\Extra\\Html\\": ""
|
|
||||||
},
|
|
||||||
"exclude-from-classmap": [
|
|
||||||
"/Tests/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Fabien Potencier",
|
|
||||||
"email": "fabien@symfony.com",
|
|
||||||
"homepage": "http://fabien.potencier.org",
|
|
||||||
"role": "Lead Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A Twig extension for HTML",
|
|
||||||
"homepage": "https://twig.symfony.com",
|
|
||||||
"keywords": [
|
|
||||||
"html",
|
|
||||||
"twig"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/twigphp/html-extra/tree/v3.21.0"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"url": "https://github.com/fabpot",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "https://tidelift.com/funding/github/packagist/twig/twig",
|
|
||||||
"type": "tidelift"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"time": "2025-02-19T14:29:33+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "twig/intl-extra",
|
"name": "twig/intl-extra",
|
||||||
"version": "v3.21.0",
|
"version": "v3.21.0",
|
||||||
@@ -9582,16 +9325,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan",
|
"name": "phpstan/phpstan",
|
||||||
"version": "2.1.29",
|
"version": "2.1.30",
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/phpstan/phpstan-phar-composer-source.git",
|
|
||||||
"reference": "git"
|
|
||||||
},
|
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/d618573eed4a1b6b75e37b2e0b65ac65c885d88e",
|
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/a4a7f159927983dd4f7c8020ed227d80b7f39d7d",
|
||||||
"reference": "d618573eed4a1b6b75e37b2e0b65ac65c885d88e",
|
"reference": "a4a7f159927983dd4f7c8020ed227d80b7f39d7d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -9636,7 +9374,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-25T06:58:18+00:00"
|
"time": "2025-10-02T16:07:52+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan-doctrine",
|
"name": "phpstan/phpstan-doctrine",
|
||||||
@@ -10170,16 +9908,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "12.3.15",
|
"version": "12.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "b035ee2cd8ecad4091885b61017ebb1d80eb0e57"
|
"reference": "f62aab5794e36ccd26860db2d1bbf89ac19028d9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b035ee2cd8ecad4091885b61017ebb1d80eb0e57",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f62aab5794e36ccd26860db2d1bbf89ac19028d9",
|
||||||
"reference": "b035ee2cd8ecad4091885b61017ebb1d80eb0e57",
|
"reference": "f62aab5794e36ccd26860db2d1bbf89ac19028d9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -10215,7 +9953,7 @@
|
|||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-main": "12.3-dev"
|
"dev-main": "12.4-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@@ -10247,7 +9985,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/12.3.15"
|
"source": "https://github.com/sebastianbergmann/phpunit/tree/12.4.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -10271,7 +10009,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-28T12:10:54+00:00"
|
"time": "2025-10-03T04:28:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "react/cache",
|
"name": "react/cache",
|
||||||
@@ -10865,12 +10603,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||||
"reference": "684ef27cdce62b6562f77a92dc76bdfb46542a2d"
|
"reference": "60ac6a710b7b0527786041ba96200bd49aa8de7e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/684ef27cdce62b6562f77a92dc76bdfb46542a2d",
|
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/60ac6a710b7b0527786041ba96200bd49aa8de7e",
|
||||||
"reference": "684ef27cdce62b6562f77a92dc76bdfb46542a2d",
|
"reference": "60ac6a710b7b0527786041ba96200bd49aa8de7e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
@@ -10912,10 +10650,10 @@
|
|||||||
"athlon1600/php-proxy-app": "<=3",
|
"athlon1600/php-proxy-app": "<=3",
|
||||||
"athlon1600/youtube-downloader": "<=4",
|
"athlon1600/youtube-downloader": "<=4",
|
||||||
"austintoddj/canvas": "<=3.4.2",
|
"austintoddj/canvas": "<=3.4.2",
|
||||||
"auth0/auth0-php": ">=8.0.0.0-beta1,<8.14",
|
"auth0/auth0-php": ">=3.3,<=8.16",
|
||||||
"auth0/login": "<7.17",
|
"auth0/login": "<=7.18",
|
||||||
"auth0/symfony": "<5.4",
|
"auth0/symfony": "<=5.4.1",
|
||||||
"auth0/wordpress": "<5.3",
|
"auth0/wordpress": "<=5.3",
|
||||||
"automad/automad": "<2.0.0.0-alpha5",
|
"automad/automad": "<2.0.0.0-alpha5",
|
||||||
"automattic/jetpack": "<9.8",
|
"automattic/jetpack": "<9.8",
|
||||||
"awesome-support/awesome-support": "<=6.0.7",
|
"awesome-support/awesome-support": "<=6.0.7",
|
||||||
@@ -11032,7 +10770,7 @@
|
|||||||
"doctrine/mongodb-odm": "<1.0.2",
|
"doctrine/mongodb-odm": "<1.0.2",
|
||||||
"doctrine/mongodb-odm-bundle": "<3.0.1",
|
"doctrine/mongodb-odm-bundle": "<3.0.1",
|
||||||
"doctrine/orm": ">=1,<1.2.4|>=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
|
"doctrine/orm": ">=1,<1.2.4|>=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
|
||||||
"dolibarr/dolibarr": "<=21.0.2",
|
"dolibarr/dolibarr": "<21.0.3",
|
||||||
"dompdf/dompdf": "<2.0.4",
|
"dompdf/dompdf": "<2.0.4",
|
||||||
"doublethreedigital/guest-entries": "<3.1.2",
|
"doublethreedigital/guest-entries": "<3.1.2",
|
||||||
"drupal/admin_audit_trail": "<1.0.5",
|
"drupal/admin_audit_trail": "<1.0.5",
|
||||||
@@ -11221,7 +10959,7 @@
|
|||||||
"joomla/archive": "<1.1.12|>=2,<2.0.1",
|
"joomla/archive": "<1.1.12|>=2,<2.0.1",
|
||||||
"joomla/database": ">=1,<2.2|>=3,<3.4",
|
"joomla/database": ">=1,<2.2|>=3,<3.4",
|
||||||
"joomla/filesystem": "<1.6.2|>=2,<2.0.1",
|
"joomla/filesystem": "<1.6.2|>=2,<2.0.1",
|
||||||
"joomla/filter": "<1.4.4|>=2,<2.0.1",
|
"joomla/filter": "<2.0.6|>=3,<3.0.5|==4",
|
||||||
"joomla/framework": "<1.5.7|>=2.5.4,<=3.8.12",
|
"joomla/framework": "<1.5.7|>=2.5.4,<=3.8.12",
|
||||||
"joomla/input": ">=2,<2.0.2",
|
"joomla/input": ">=2,<2.0.2",
|
||||||
"joomla/joomla-cms": "<3.9.12|>=4,<4.4.13|>=5,<5.2.6",
|
"joomla/joomla-cms": "<3.9.12|>=4,<4.4.13|>=5,<5.2.6",
|
||||||
@@ -11639,7 +11377,7 @@
|
|||||||
"thelia/thelia": ">=2.1,<2.1.3",
|
"thelia/thelia": ">=2.1,<2.1.3",
|
||||||
"theonedemon/phpwhois": "<=4.2.5",
|
"theonedemon/phpwhois": "<=4.2.5",
|
||||||
"thinkcmf/thinkcmf": "<6.0.8",
|
"thinkcmf/thinkcmf": "<6.0.8",
|
||||||
"thorsten/phpmyfaq": "<=4.0.1",
|
"thorsten/phpmyfaq": "<=4.0.1|>=4.0.7,<4.0.13",
|
||||||
"tikiwiki/tiki-manager": "<=17.1",
|
"tikiwiki/tiki-manager": "<=17.1",
|
||||||
"timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1",
|
"timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1",
|
||||||
"tinymce/tinymce": "<7.2",
|
"tinymce/tinymce": "<7.2",
|
||||||
@@ -11831,7 +11569,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-24T21:05:21+00:00"
|
"time": "2025-10-03T15:05:30+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/cli-parser",
|
"name": "sebastian/cli-parser",
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ declare(strict_types=1);
|
|||||||
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
|
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
|
||||||
use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle;
|
use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle;
|
||||||
use Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle;
|
use Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle;
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle;
|
|
||||||
use Sentry\SentryBundle\SentryBundle;
|
use Sentry\SentryBundle\SentryBundle;
|
||||||
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
||||||
use Symfony\Bundle\MakerBundle\MakerBundle;
|
use Symfony\Bundle\MakerBundle\MakerBundle;
|
||||||
@@ -14,7 +13,6 @@ use Symfony\Bundle\TwigBundle\TwigBundle;
|
|||||||
use Symfony\Bundle\WebProfilerBundle\WebProfilerBundle;
|
use Symfony\Bundle\WebProfilerBundle\WebProfilerBundle;
|
||||||
use Symfony\UX\StimulusBundle\StimulusBundle;
|
use Symfony\UX\StimulusBundle\StimulusBundle;
|
||||||
use Symfony\UX\Turbo\TurboBundle;
|
use Symfony\UX\Turbo\TurboBundle;
|
||||||
use Symfony\UX\TwigComponent\TwigComponentBundle;
|
|
||||||
use SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle;
|
use SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle;
|
||||||
use Symfonycasts\SassBundle\SymfonycastsSassBundle;
|
use Symfonycasts\SassBundle\SymfonycastsSassBundle;
|
||||||
use Twig\Extra\TwigExtraBundle\TwigExtraBundle;
|
use Twig\Extra\TwigExtraBundle\TwigExtraBundle;
|
||||||
@@ -28,8 +26,6 @@ return [
|
|||||||
SecurityBundle::class => ['all' => true],
|
SecurityBundle::class => ['all' => true],
|
||||||
WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||||
TwigExtraBundle::class => ['all' => true],
|
TwigExtraBundle::class => ['all' => true],
|
||||||
TwigComponentBundle::class => ['all' => true],
|
|
||||||
EasyAdminBundle::class => ['all' => true],
|
|
||||||
DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
||||||
SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
||||||
SentryBundle::class => ['prod' => true],
|
SentryBundle::class => ['prod' => true],
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
twig_component:
|
|
||||||
anonymous_template_directory: 'components/'
|
|
||||||
defaults:
|
|
||||||
# Namespace & directory for components
|
|
||||||
Tvdt\Twig\Components\: 'components/'
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
easyadmin:
|
|
||||||
resource: .
|
|
||||||
type: easyadmin.routes
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\Answer;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<Answer> */
|
|
||||||
class AnswerCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return Answer::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\Candidate;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<Candidate> */
|
|
||||||
class CandidateCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return Candidate::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Attribute\AdminDashboard;
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Config\MenuItem;
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
use Tvdt\Entity\Answer;
|
|
||||||
use Tvdt\Entity\Candidate;
|
|
||||||
use Tvdt\Entity\GivenAnswer;
|
|
||||||
use Tvdt\Entity\Question;
|
|
||||||
use Tvdt\Entity\Quiz;
|
|
||||||
use Tvdt\Entity\QuizCandidate;
|
|
||||||
use Tvdt\Entity\Season;
|
|
||||||
use Tvdt\Entity\User;
|
|
||||||
|
|
||||||
#[AdminDashboard(routePath: '/admin', routeName: 'admin')]
|
|
||||||
class DashboardController extends AbstractDashboardController
|
|
||||||
{
|
|
||||||
#[\Override]
|
|
||||||
public function index(): Response
|
|
||||||
{
|
|
||||||
// Option 1. You can make your dashboard redirect to some common page of your backend
|
|
||||||
//
|
|
||||||
$adminUrlGenerator = $this->container->get(AdminUrlGenerator::class);
|
|
||||||
|
|
||||||
return $this->redirect($adminUrlGenerator->setController(SeasonCrudController::class)->generateUrl());
|
|
||||||
|
|
||||||
// Option 2. You can make your dashboard redirect to different pages depending on the user
|
|
||||||
//
|
|
||||||
// if ('jane' === $this->getUser()->getUsername()) {
|
|
||||||
// return $this->redirect('...');
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Option 3. You can render some custom template to display a proper dashboard with widgets, etc.
|
|
||||||
// (tip: it's easier if your template extends from @EasyAdmin/page/content.html.twig)
|
|
||||||
//
|
|
||||||
// return $this->render('some/path/my-dashboard.html.twig');
|
|
||||||
}
|
|
||||||
|
|
||||||
#[\Override]
|
|
||||||
public function configureDashboard(): Dashboard
|
|
||||||
{
|
|
||||||
return Dashboard::new()
|
|
||||||
->setTitle('TijdVoorDeTest');
|
|
||||||
}
|
|
||||||
|
|
||||||
#[\Override]
|
|
||||||
public function configureMenuItems(): iterable
|
|
||||||
{
|
|
||||||
yield MenuItem::linkToDashboard('Dashboard', 'fa fa-home');
|
|
||||||
yield MenuItem::linkToCrud('Season', 'fas fa-list', Season::class);
|
|
||||||
yield MenuItem::linkToCrud('Quiz', 'fas fa-list', Quiz::class);
|
|
||||||
yield MenuItem::linkToCrud('Question', 'fas fa-list', Question::class);
|
|
||||||
yield MenuItem::linkToCrud('Candidate', 'fas fa-list', Candidate::class);
|
|
||||||
yield MenuItem::linkToCrud('Correction', 'fas fa-list', QuizCandidate::class);
|
|
||||||
yield MenuItem::linkToCrud('User', 'fas fa-list', User::class);
|
|
||||||
yield MenuItem::linkToCrud('Given Answer', 'fas fa-list', GivenAnswer::class);
|
|
||||||
yield MenuItem::linkToCrud('Answer', 'fas fa-list', Answer::class);
|
|
||||||
yield MenuItem::linkToLogout('Logout', 'fas fa-sign-out');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\GivenAnswer;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<GivenAnswer> */
|
|
||||||
class GivenAnswerCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return GivenAnswer::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\Question;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<Question> */
|
|
||||||
class QuestionCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return Question::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\QuizCandidate;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<QuizCandidate> */
|
|
||||||
class QuizCorrectionCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return QuizCandidate::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\Quiz;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<Quiz> */
|
|
||||||
class QuizCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return Quiz::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\Season;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<Season> */
|
|
||||||
class SeasonCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return Season::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Tvdt\Controller\Admin;
|
|
||||||
|
|
||||||
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
|
|
||||||
use Tvdt\Entity\User;
|
|
||||||
|
|
||||||
/** @extends AbstractCrudController<User> */
|
|
||||||
class UserCrudController extends AbstractCrudController
|
|
||||||
{
|
|
||||||
public static function getEntityFqcn(): string
|
|
||||||
{
|
|
||||||
return User::class;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
27
symfony.lock
27
symfony.lock
@@ -47,15 +47,6 @@
|
|||||||
"migrations/.gitignore"
|
"migrations/.gitignore"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"easycorp/easyadmin-bundle": {
|
|
||||||
"version": "4.23",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "main",
|
|
||||||
"version": "3.0",
|
|
||||||
"ref": "b131e6cbfe1b898a508987851963fff485986285"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"friendsofphp/php-cs-fixer": {
|
"friendsofphp/php-cs-fixer": {
|
||||||
"version": "3.65",
|
"version": "3.65",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@@ -276,12 +267,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/translation": {
|
"symfony/translation": {
|
||||||
"version": "7.2",
|
"version": "7.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.3",
|
"version": "6.3",
|
||||||
"ref": "e28e27f53663cc34f0be2837aba18e3a1bef8e7b"
|
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/translation.yaml",
|
"config/packages/translation.yaml",
|
||||||
@@ -319,20 +310,8 @@
|
|||||||
"ref": "c85ff94da66841d7ff087c19cbcd97a2df744ef9"
|
"ref": "c85ff94da66841d7ff087c19cbcd97a2df744ef9"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"symfony/ux-twig-component": {
|
|
||||||
"version": "2.22",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "main",
|
|
||||||
"version": "2.13",
|
|
||||||
"ref": "67814b5f9794798b885cec9d3f48631424449a01"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"config/packages/twig_component.yaml"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"symfony/validator": {
|
"symfony/validator": {
|
||||||
"version": "7.2",
|
"version": "7.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
|
|||||||
Reference in New Issue
Block a user