Skip to content

Routing config in PHP #8312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: 4.x
Choose a base branch
from
Draft

Conversation

willemverspyck
Copy link
Contributor

Subject

I am targeting this branch, because it's BC.

Symfony is making XML routing configs deprecated, so I think it's a good to start to add the PHP config for routings in SonataAdminBundle. To prevent duplicate configs, I imported the PHP config from the XML config and made the XML config deprecated. The minimum required Symfony version for Sonata is 6.4, so PHP configs are fully supported.

Changes are based on symfony/symfony#60232

Changelog

### Added

### Changed
- Converted the XML of the routing to PHP

### Deprecated
- Using XML config

### Removed

### Fixed

### Security

@willemverspyck willemverspyck marked this pull request as draft July 10, 2025 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant