Download the PHP package sidus/base-bundle without Composer
On this page you can find all versions of the php package sidus/base-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sidus/base-bundle
More information about sidus/base-bundle
Files in sidus/base-bundle
Package base-bundle
Short Description Ease the declaration of routing and services for Symfony 3 & 4
License MIT
Homepage https://github.com/VincentChalnot/SidusBaseBundle
Informations about the package base-bundle
Sidus/BaseBundle Documentation
Service loading
If you simply inherit from the SidusBaseExtension, all the YAML files present in this directory will be loaded: `
``
Routing
Instead of using controllers, declare service for each action and then you just have to declare the routing like this: `
You don't need to declare the ` part, it will be loaded with your route name.
Param converter
Take a look at the `, declaring param converter is much more simple now
Compiler passes
The ` allows you to easily inject all services tagged with a specific tag into another service.
Utilities
DateTime parsing
` will allow you to parse date time from multiple formats easily.
Translation
Use the ` to iterate over various translation keys in order to return the first matching one.
Validator
You can use the ` class to load a sets of constraints from a PHP array with the same syntax than Yaml:
``
Forms
The ` allows choice form types to work with iterable objects. You don't need to do anything.
A new option is available for any form type: allows you to directly choose a custom block prefix for form rendering.
Serializer
See SidusBaseSerializerBundle for additional support.
All versions of base-bundle with dependencies
symfony/http-kernel Version >=3.0
symfony/http-foundation Version >=3.0
symfony/dependency-injection Version >=3.0
symfony/config Version >=3.0
symfony/finder Version >=3.0
symfony/form Version >=3.0
symfony/options-resolver Version >=3.0
symfony/validator Version >=3.0
symfony/translation Version >=3.0
symfony/var-dumper Version >=3.0