Johannes Wachter and GitHub
04b7d39ecd
[FrameworkBundle] Add AGENTS.md for AI coding agents ( #1563 )
...
* [FrameworkBundle] Add AGENTS.md for AI coding agents
* [FrameworkBundle] Point CLAUDE.md at AGENTS.md via @-import
* [FrameworkBundle] Add heading to CLAUDE.md
* [FrameworkBundle] Apply review feedback to AGENTS.md
Split the operational bullets out of Conventions into a new Everyday
workflow section, generalise what remains around the best practices page,
and replace the stale-training-data note with a concrete list of
discovery commands.
Keeps three specifics under Conventions: MapRequestPayload over
hand-rolled json_decode(), no readonly on a service that may become
lazy, and symfony/lock for mutual exclusion. Those are the failure modes
the file exists to address, and a general rule does not change a model's
behaviour the way naming them does.
* [FrameworkBundle] Broaden the attribute and injection guidance
Attributes were only shown on controllers. They now cover properties,
commands, listeners, message handlers and service declaration.
The autowiring bullet also contradicted itself: it sent scalar arguments
to an explicit service definition, which is what #[Autowire] exists to
avoid. Injection now points at #[Autowire] and #[Target] first, with a
YAML definition as the last resort.
2026-09-04 17:44:00 +02:00
JannesD and GitHub
58dbef24ed
[symfony/framework-bundle] Load preload files using glob pattern ( #1558 )
2026-09-01 11:07:47 +02:00
Micha Ahrweiler and GitHub
b7e08038bb
[FrameworkBundle] Use static closure in front controller (8.1) ( #1532 )
...
Added missing static for framework-bundle 8.1.
2026-05-30 17:09:58 +02:00
Grégoire Pineau and GitHub
24e94e53cd
[FrameworkBundle] Use static closure in front controller ( #1529 )
2026-04-03 16:26:31 +02:00
Nicolas Grekas and GitHub
e685563fd3
[symfony/framework-bundle/8.1] Add Kernel::getAllowedEnvs() = prod+dev+test ( #1516 )
2026-03-27 13:51:25 +01:00
Nicolas Grekas and GitHub
7e70e7a5ba
Remove APP_PROJECT_DIR from APP_SHARE_DIR in .env ( #1483 )
2025-11-21 13:36:26 +01:00
Nicolas Grekas and GitHub
fbc0226691
Add link to "imports" doc in services.yaml ( #1466 )
2025-11-04 12:10:21 +01:00
Nicolas Grekas and GitHub
bf21b8a462
Configure APP_SHARE_DIR to var/share by default ( #1465 )
2025-10-29 10:37:53 +01:00
Nicolas Grekas and GitHub
0c4eb76160
Make yaml-schema declaration standard ( #1455 )
2025-09-30 19:53:46 +02:00
Nicolas Grekas
5c016aa26b
Declare JSON schema for routes.yaml and services.yaml
2025-08-21 16:50:56 +02:00
Alexander Schranz and GitHub
d7254400b0
Adjust editorconfig for docker compose and markdown files ( #1427 )
...
* Adjust editorconfig for docker compose and markdown files
* Add reference link
2025-06-03 08:05:28 -04:00
Kevin Bond
cbe85d6f8d
[symfony/framework-bundle] keep .editorconfig only in 7.3
2025-05-16 16:53:30 -04:00
Kevin Bond and GitHub
8125218382
[symfony/framework-bundle] add .editorconfig ( #1413 )
2025-05-16 12:44:30 +02:00
Fabien Potencier and GitHub
597549ef9d
Use PHP rougin config files instead of XML ones ( #1407 )
2025-04-27 19:08:28 +02:00
Fabien Potencier
cb173cf8d3
Remove configuration defaults for the container
2025-03-16 10:10:34 -05:00
Nicolas Grekas
b06f1ce2f7
Move stateless CSRF config to packages/csrf.yaml
2024-11-20 13:18:41 +01:00
Fabien Potencier and GitHub
f614c444f9
Merge pull request #1337 from symfony/csrf-double-submit
...
Enable stateless headers/cookies-based CSRF protection
2024-11-17 10:14:14 +01:00
Nicolas Grekas
21a9094ea7
Enable stateless CSRF protection for forms, logins and logouts
2024-10-12 09:32:38 +02:00
Nicolas Grekas and GitHub
d7a78f79b7
Generate APP_SECRET in .env.dev ( #1343 )
2024-10-01 22:36:03 +02:00
Nicolas Grekas and GitHub
b92382d126
[symfony/framework-bundle] Generate APP_SECRET in .env.local ( #1342 )
2024-10-01 12:19:16 +00:00
Nicolas Grekas and GitHub
c26ec2b27d
[symfony/framework-bundle] Remove "csrf_protection" line as its enabled by default ( #1336 )
2024-09-02 11:01:57 +02:00
Nicolas Grekas and GitHub
e0cf9602a7
[symfony/framework-bundle/7.2] Start with an empty APP_SECRET ( #1317 )
2024-05-28 17:35:19 +02:00
Nicolas Grekas and GitHub
8f46ee349c
[framework-bundle] Remove options that match the defaults in 7.0 ( #1237 )
2024-01-18 09:37:15 +01:00
Hubert Lenoir and GitHub
802870082e
[FrameworkBundle] Remove "framework.session.storage_factory_id" since its already the default value ( #1231 )
2023-08-10 12:29:41 -04:00
Alexander M. Turek and GitHub
5cfe31fa28
Remove http_method_override setting from recipe ( #1225 )
2023-07-25 16:40:39 +02:00
Alexander M. Turek
7352991d17
Disable doctrine/annotations integration
2023-07-25 02:32:18 +02:00
Alexander M. Turek and GitHub
40cb22763e
Move UID configuration to a dedicated recipe ( #1149 )
2022-11-21 10:21:20 +01:00
Nicolas Grekas and GitHub
f65e09cf8f
Revert "Add example how to bind arguments to the services.yaml ( #1119 )" ( #1148 )
...
This reverts commit 09648ca9a6 .
2022-11-20 21:39:14 +01:00
Yannick Ihmels and GitHub
ace2f78a4d
Use UUID v7 as default for new projects ( #1145 )
...
Symfony 6.2 introduces support for UUID v7, which is to be preferred
over UUID v6 [according to the draft RFC][1]:
> Implementations SHOULD utilize UUID version 7 over UUID version 1 and
> 6 if possible.
In order not to change the UUID generation in existing projects, UUID v7
could be configured as default for new projects via this recipe.
[1]: https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#section-5.2-2
2022-11-20 21:35:07 +01:00
Nicolas Grekas
f24b8470eb
Rename to handle_all_throwables
2022-10-18 17:46:07 +02:00
Alexander Schranz and GitHub
09648ca9a6
Add example how to bind arguments to the services.yaml ( #1119 )
2022-08-18 10:18:41 +02:00
Nyholm
21b6a3695b
[FramworkBundle] Added config framework.catch_all_throwables: true
2022-06-16 23:09:00 +02:00
HypeMC
dc6172e02d
Remove src/Tests from list of excluded folders
2022-01-14 19:06:38 +01:00
Nicolas Grekas and GitHub
1e717c84da
Kernel can be empty in 5.4 ( #1006 )
2021-09-29 12:09:46 +02:00
Fabien Potencier
1aa7d46cb0
Remove the header from post-install files (handled by Flex now)
2021-08-30 12:25:28 +02:00
Alessandro Lai
0536f7c6c8
Change for routes and services too
2021-07-12 10:55:42 +02:00
Alessandro Lai
2da7d24cf0
Target 5.4
2021-07-12 09:07:27 +02:00
Alessandro Lai
6b3d5bcebd
Duplicate 5.3 recipe into 5.4
2021-07-12 09:07:27 +02:00
Nicolas Grekas
055035503a
Revert "Merge pull request #972 "
...
This reverts commit f97d09dafd , reversing
changes made to 17f2717e12 .
2021-07-11 19:45:20 +02:00
Tobias Schultze
ccd2ff6801
Also ignore secret private key by default for non-prod environments
2021-07-11 16:25:15 +02:00
Nicolas Grekas
a1a70353f6
Remove all symlinks
2021-07-07 16:12:10 +02:00
Nicolas Grekas
ae90ab5b24
[framework-bundle/5.3] fix importing services/routes.php
2021-06-03 15:22:19 +02:00
hacfi and GitHub
038fe9ead5
Update best practices parameters link
2021-04-16 06:35:09 +02:00
symfony-flex-server[bot] and GitHub
b0a243d464
Merge pull request #902
2021-04-05 22:38:24 +00:00
Robin Chalas
6798e10016
Fix deprecation in 5.3' session config
2021-04-05 14:50:03 +02:00
Nicolas Grekas
975d0a911e
[symfony/framework-bundle/5.3] remove "controller.service_arguments"
2021-03-23 18:36:44 +01:00
Nicolas Grekas
e48de21a2f
[framework-bundle/5.3] Merge per-env settings
2021-03-23 17:50:44 +01:00
Nicolas Grekas
9a90e69785
Leverage the new Runtime component
2021-02-24 10:30:58 +01:00
Jesse Rushlow
dbb43d4616
get mock storage from the factory
2021-02-23 12:46:00 -05:00
Jérémy Derussé
1ff89adda6
[FrameworkBundle] Replace deprecated storage_id by storage_factory_id
2021-02-13 12:29:50 +01:00