Download the PHP package tourze/easy-admin-extra-bundle without Composer
On this page you can find all versions of the php package tourze/easy-admin-extra-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package easy-admin-extra-bundle
EasyAdminExtraBundle
中文
Extension bundle for EasyAdmin, providing annotation-driven utilities and enhanced features for Symfony EasyAdmin.
Features
- AbstractCrudController: Enhanced CRUD controller with automatic field configuration, permission control, and entity copying support
- Annotation-Driven Configuration: Uses PHP 8 attributes for automatic field and filter configuration
- Field Services: Automatic field type detection and configuration based on Doctrine mapping and annotations
- Filter System: Automatic filter creation based on
@Filterableannotations - Search System: Smart search field extraction using
@Keywordannotations - Entity Copying: Built-in support for entity cloning with configurable copy rules
- Event System: Pre/post operation events for create and modify operations
- Tree Data Support: Fetch and manipulate hierarchical data structures
- Import/Export Support: Identify and process importable entity properties
- Multi-language Support: Internationalization support for labels and messages
Installation
Requirements
- PHP 8.1+
- Symfony 6.4+
- Doctrine ORM 2.17 or 3.0+
Install via Composer
Install the package via Composer:
Configuration
Add the bundle to your config/bundles.php:
Usage
AbstractCrudController
The main feature is the enhanced CRUD controller that automatically configures fields and filters based on annotations:
Annotation-Driven Entity Configuration
Use PHP 8 attributes to configure your entities:
EntityDescriber
This service reads entity information and provides methods to get property labels, column names, and field length.
ChoiceService
Create options from enum types for use in forms.
RepositoryTreeDataFetcher
Fetch and process tree-structured data from repositories.
Advanced Usage
Custom Field Creation
You can extend the FieldService to create custom field types or modify existing field behavior:
Tree Data Manipulation
For complex tree data operations, you can extend the RepositoryTreeDataFetcher:
Entity Copy Operations
Use the CopyableRepository trait for entity copying functionality:
Testing
Run tests using PHPUnit:
Or from the monorepo root:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This bundle is licensed under the MIT License. See the LICENSE file for details.
All versions of easy-admin-extra-bundle with dependencies
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
phpdocumentor/reflection-docblock Version ^5.4.0
psr/container Version ^1.1|^2.0
psr/log Version ^3|^2|^1
symfony/cache-contracts Version ^3
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/event-dispatcher-contracts Version ^3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/serializer Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/easy-admin-attribute Version 0.1.*
tourze/enum-extra Version 1.*
tourze/symfony-dependency-service-loader Version 1.*
tourze/symfony-ecol-bundle Version 1.0.*
yiisoft/strings Version ^2.1