Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
72640e9
chore: Add symplify/config-transformer
pan93412 Dec 3, 2024
7cc7453
refactor(config): Migrate routes.yaml to PHP
pan93412 Dec 3, 2024
967dd5c
refactor(config): Migrate services.yaml to PHP
pan93412 Dec 3, 2024
d0782cc
feat: Include var/cache in PHPStan and IDE configuration
pan93412 Dec 3, 2024
52a99af
refactor(config): Migrate sensiolabs_typescript.yaml to PHP
pan93412 Dec 3, 2024
654e079
refactor(config): Migrate translation.yaml to PHP
pan93412 Dec 3, 2024
5010b22
refactor(config): Migrate routing.yaml to PHP
pan93412 Dec 3, 2024
fedbc70
refactor(config): Remove lock.yaml
pan93412 Dec 3, 2024
503e7df
refactor(config): Migrate asset_mapper.yaml to PHP
pan93412 Dec 3, 2024
56d43b4
fix(phpstan): Scan dependency-injection explicitly
pan93412 Dec 3, 2024
8370d60
refactor(config): Migrate cache.yaml to PHP
pan93412 Dec 3, 2024
83a58c1
refactor(config): Migrate csrf.yaml to PHP
pan93412 Dec 3, 2024
29994e4
refactor(config): Migrate debug.yaml to PHP
pan93412 Dec 3, 2024
2cf33ba
refactor(config): Migrate doctrine_migrations.yaml to PHP
pan93412 Dec 3, 2024
cdd86fd
refactor(config): Migrate mailer.yaml to PHP
pan93412 Dec 3, 2024
6531102
refactor(config): Migrate routes to PHP
pan93412 Dec 3, 2024
3d9dca9
refactor(config): Migrate notifier.yaml to PHP
pan93412 Dec 3, 2024
a7bb8dc
refactor(config): Migrate twig_component.yaml to PHP
pan93412 Dec 3, 2024
0d6cc92
refactor(config): Migrate validator.yaml to PHP
pan93412 Dec 3, 2024
e18e121
refactor(config): Migrate web_profiler.yaml to PHP
pan93412 Dec 3, 2024
55651cb
refactor(phpstan): Add container configuration
pan93412 Dec 3, 2024
d2b3ff5
refactor: Simplify getParameter determination
pan93412 Dec 3, 2024
d854b45
refactor(config): Migrate framework.yaml to PHP
pan93412 Dec 3, 2024
96aec55
refactor(config): Migrate http_discovery.yaml to PHP
pan93412 Dec 3, 2024
6697a72
fix(frankenphp): Dependency installation
pan93412 Dec 3, 2024
0b6f5d3
refactor(config): Migrate twig.yaml to PHP
pan93412 Dec 3, 2024
8e720d4
chore: Upgrade dependencies
pan93412 Dec 3, 2024
047900a
refactor(config): Migrate meilisearch.yaml to PHP
pan93412 Dec 3, 2024
2dbe31e
refactor(config): Migrate doctrine.yaml to PHP
pan93412 Dec 3, 2024
4c853eb
fix(twig): Use underscore instead of dot for global variables
pan93412 Dec 3, 2024
48bae10
refactor(config): Migrate monolog.yaml to PHP
pan93412 Dec 3, 2024
e2cf70d
refactor(config): Migrate security.yaml to PHP
pan93412 Dec 3, 2024
9aa88c9
refactor(config): Migrate messenger.yaml to PHP
pan93412 Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .idea/app-sf.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"symfony/phpunit-bridge": "7.3.*",
"symfony/stopwatch": "7.3.*",
"symfony/web-profiler-bundle": "7.3.*",
"symplify/config-transformer": "^12.3",
"vincentlanglet/twig-cs-fixer": "dev-main"
}
}
100 changes: 70 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions config/packages/asset_mapper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use Symfony\Config\FrameworkConfig;

return static function (FrameworkConfig $frameworkConfig): void {
$frameworkConfig->assetMapper()
->path('assets/', '')
->path('vendor/twbs/bootstrap/', '')
->excludedPatterns([
'*/assets/styles/_*.scss',
'*/assets/styles/**/_*.scss',
]);
};
13 changes: 0 additions & 13 deletions config/packages/asset_mapper.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions config/packages/cache.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

use Symfony\Config\FrameworkConfig;

use function Symfony\Component\DependencyInjection\Loader\Configurator\param;

return static function (FrameworkConfig $frameworkConfig): void {
$frameworkConfig->cache()
->prefixSeed('database_playground/app')
->app('cache.adapter.redis_tag_aware')
->defaultRedisProvider(param('app.redis_uri'));
};
23 changes: 0 additions & 23 deletions config/packages/cache.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions config/packages/csrf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

declare(strict_types=1);

use Symfony\Config\FrameworkConfig;

return static function (FrameworkConfig $frameworkConfig): void {
$frameworkConfig
->form()
->csrfProtection()
->tokenId('submit');

$frameworkConfig
->csrfProtection()
->statelessTokenIds(['submit', 'authenticate', 'logout']);
};
11 changes: 0 additions & 11 deletions config/packages/csrf.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions config/packages/debug.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

declare(strict_types=1);

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Config\DebugConfig;

use function Symfony\Component\DependencyInjection\Loader\Configurator\env;

return static function (ContainerConfigurator $containerConfigurator, DebugConfig $debugConfig): void {
if ('dev' === $containerConfigurator->env()) {
// Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
// See the "server:dump" command to start a new server.
$debugConfig->dumpDestination('tcp://'.env('VAR_DUMPER_SERVER'));
}
};
5 changes: 0 additions & 5 deletions config/packages/debug.yaml

This file was deleted.

Loading
Loading