Download the PHP package sidus/admin-bundle without Composer
On this page you can find all versions of the php package sidus/admin-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sidus/admin-bundle
More information about sidus/admin-bundle
Files in sidus/admin-bundle
Package admin-bundle
Short Description Simple and extendable action-based admin management with built-in routing generation
License MIT
Homepage https://github.com/VincentChalnot/SidusAdminBundle
Informations about the package admin-bundle
Sidus/AdminBundle
The missing link between the controllers, the router component, the forms and the entities.
Example in twig:
Warning
This bundle requires the security component of Symfony, it will enforce access to any entity using the voter. This bundle is easier to use with Doctrine, it can still be used for non-doctrine entities.
Configuration
Simple example:
Configuration reference
All values are the default one except when specified otherwise.
Usage
Generating routes
When routing to an entity, the AdminRouter component will try to fetch missing route parameters from the routing context and then from the entity itself, meaning if you name your route parameters accordingly to your entity properties, you won't need to pass any parameter manually.
PHP
When dealing with multiple admins for a single class, you can use this function instead:
Twig
When dealing with multiple admins for a single class, you can use this function instead:
Additional optional arguments
For each method, you can pass additional route parameters in the argument just after the action name, you can also set the UrlGeneratorInterface reference type (absolute, relative...).
All versions of admin-bundle with dependencies
symfony/event-dispatcher Version >=6.3
symfony/form Version >=6.3
symfony/http-foundation Version >=6.3
symfony/http-kernel Version >=6.3
symfony/routing Version >=6.3
symfony/security-core Version >=6.3
symfony/translation-contracts Version >=3.0
symfony/yaml Version >=6.3
twig/twig Version >=3.0
sidus/datagrid-bundle Version ~4.0