Skip to content

Commit 922d62c

Browse files
committed
minor #13737 Update examples of custom route loaders (Tobion)
This PR was merged into the 4.4 branch. Discussion ---------- Update examples of custom route loaders rest-bundle route logic has been deprecated/removed and KnpRadBundle is unmaintained. Symfony provides i18n routing in core now so listing JMSI18nRoutingBundle also seems irritating. Commits ------- e4c4d7e Update list of custom route loaders
2 parents 964f4dc + e4c4d7e commit 922d62c

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

routing/custom_route_loader.rst

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,10 @@ What is a Custom Route Loader
9292
-----------------------------
9393

9494
A custom route loader enables you to generate routes based on some
95-
conventions or patterns. A great example for this use-case is the
96-
`FOSRestBundle`_ where routes are generated based on the names of the
97-
action methods in a controller.
98-
99-
You still need to modify your routing configuration (e.g.
100-
``config/routes.yaml``) manually, even when using a custom route
101-
loader.
102-
103-
.. note::
104-
105-
There are many bundles out there that use their own route loaders to
106-
accomplish cases like those described above, for instance
107-
`FOSRestBundle`_, `JMSI18nRoutingBundle`_, `KnpRadBundle`_ and
108-
`SonataAdminBundle`_.
95+
conventions, patterns or integrations. An example for this use-case is the
96+
`OpenAPI-Symfony-Routing`_ library where routes are generated based on
97+
OpenAPI/Swagger annotations. Another example is the `SonataAdminBundle`_ that
98+
creates routes based on CRUD conventions.
10999

110100
Loading Routes
111101
--------------
@@ -461,8 +451,6 @@ configuration file - you can call the
461451
combined, for example to keep using the default Symfony routing system when
462452
writing a custom router.
463453

464-
.. _`FOSRestBundle`: https://github.com/FriendsOfSymfony/FOSRestBundle
465-
.. _`JMSI18nRoutingBundle`: https://github.com/schmittjoh/JMSI18nRoutingBundle
466-
.. _`KnpRadBundle`: https://github.com/KnpLabs/KnpRadBundle
454+
.. _`OpenAPI-Symfony-Routing`: https://github.com/Tobion/OpenAPI-Symfony-Routing
467455
.. _`SonataAdminBundle`: https://github.com/sonata-project/SonataAdminBundle
468456
.. _`ChainRouter`: https://symfony.com/doc/current/cmf/components/routing/chain.html

0 commit comments

Comments
 (0)