Files
symfony-flex-recipes/symfony
Johannes WachterandGitHub 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
..
2025-01-05 15:21:02 +01:00
-
2025-11-22 22:17:05 +01:00
2018-05-11 14:28:17 +02:00
2023-12-08 15:59:21 +01:00
2023-12-16 07:17:01 +01:00
2019-09-03 09:29:34 +02:00
2019-09-03 09:29:34 +02:00
2023-06-21 08:44:04 +02:00
2017-11-21 12:59:23 +00:00
2024-08-11 18:26:48 +02:00
2021-07-09 11:23:49 +02:00
2019-08-01 09:31:53 +02:00