DunglasActionBundle is an alternative controller system for the Symfony framework relying on autowiring and inspirited by the ADR pattern. Thanks to this bundle, controllers, commands and event listeners are automatically detected and registered as services. All their dependencies are also automatically registered. See the GitHub repository for an extensive documentation.
A lot of work have been done in during the last months to improve the reliability and the usability of the bundle. Today I’m proud to announce a new release of this bundle (0.3.0). It is available on GitHub and includes the following changes:
- Actions and controllers (
src/*Bundle/Action
andsrc/*Bundle/Controller
directories), commands (src/*Bundle/Command
) and event listeners (src/*Bundle/EventListener
) are auto-registered by default - The name of auto-registered services are now the Fully Qualified Name of the registred class
- Directories containing classes to auto-register as services are now configurable
- Directories of third-party bundles (
vendor/
) are not tracked by default anymore - It’s not necessary anymore to clear the cache manually when a new class is added or removed from a tracked directory
- If the class of an automatically registred service implements the
ContainerAwareInterface
, the container is automatically injected into it - It’s now possible to automatically add custom tags to auto-registered services
- The custom routing annotation loader has been removed thanks to a bug fix in Symfony core (this feature still works out of the box)
- The “autodiscover” feature has been removed, paths must be configured explicitly (regex supported)
- The bundle can now be configured using the XML format
- PHP 5.5 support has been added
- Lot of a bug fixes
Thanks to @Ener-Getick, @stof and @weaverryan for their contributions and good design advices.
If you like this bundle, please give it a star on GitHub!