Download the PHP package rapemer/sonata-admin-annotation-bundle without Composer
On this page you can find all versions of the php package rapemer/sonata-admin-annotation-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rapemer/sonata-admin-annotation-bundle
More information about rapemer/sonata-admin-annotation-bundle
Files in rapemer/sonata-admin-annotation-bundle
Download rapemer/sonata-admin-annotation-bundle
More information about rapemer/sonata-admin-annotation-bundle
Files in rapemer/sonata-admin-annotation-bundle
Vendor rapemer
Package sonata-admin-annotation-bundle
Short Description Manage Sonata Form, Data, List and ShowMapper over annotations
License MIT
Package sonata-admin-annotation-bundle
Short Description Manage Sonata Form, Data, List and ShowMapper over annotations
License MIT
Please rate this library. Is it a good library?
Informations about the package sonata-admin-annotation-bundle
IbrowsSonataAdminAnnotationBundle
Manage Sonata Form, Data, List and ShowMapper over annotations
Known issues
Version 1.1.*
- Using oneToMany/manyToOne relations produces an "entity not managed" doctrine error. Reason is that FormMapper-Annotation per default sets by_reference to false, using @FormMapper(options={"by_reference"=true}) will fix that.
New features
Version 1.2
- Allow reorder of FormMapper/ShowMapper and ListMapper with @Order/FormReorder, @Order/ShowReorder, @Order/ListReorder or @Order/ShowAndFormReorder annotations
Version 1.1
- New "with" and "withOptions" in FormMapper and ShowMapper Annotation for grouping -> @FormMapper(with="Main")
- Allow configuration of static callback methods in entity with @FormCallback on Method (see @FormCallback example)
How to install
Add Bundle to your composer.json
Install the bundle from console with composer.phar
Enable the bundle in AppKernel.php
The Annotations
- Ibrows\Bundle\SonataAdminAnnotationBundle\Annotation\Order on classes for global orders like "show me all properties"
- Ibrows\Bundle\SonataAdminAnnotationBundle\Annotation on properties for specific configurations and excludes if orders are used
If any FormMapperExclude Annotation is found on a property the reader assumes that there es an Order/FormMapperAll on the class (same goes for the other annotations - List/Form/Datagrid)
Have a look on the Annotations to see what options they accept
Example
Using in the Admin (maybe in an AbstractAdmin.php)
With the AbstractSonataAdminAnnotationAdmin
With Traits (PHP >=5.4)
Own implementation
All versions of sonata-admin-annotation-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
symfony/framework-bundle Version >=2.0
rapemer/annotation-reader Version ^1
symfony/framework-bundle Version >=2.0
rapemer/annotation-reader Version ^1
The package rapemer/sonata-admin-annotation-bundle contains the following files
Loading the files please wait ....