survos / ez-bundle
configure EasyAdmin with attributes
Fund package maintenance!
kbond
Installs: 75
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/survos/ez-bundle
Requires
- php: ^8.4
- easycorp/easyadmin-bundle: ^4.25
- symfony/config: ^7.3||^8.0
- symfony/console: ^7.3||^8.0
- symfony/dependency-injection: ^7.3||^8.0
- symfony/framework-bundle: ^7.3
- symfony/http-kernel: ^7.3||^8.0
Requires (Dev)
- nette/php-generator: ^4.2
- symfony/phpunit-bridge: ^7.3||^8.0
- dev-main
- 2.0.51
- 2.0.50
- 2.0.49
- 2.0.48
- 2.0.47
- 2.0.46
- 2.0.45
- 2.0.44
- 2.0.43
- 2.0.42
- 2.0.41
- 2.0.40
- 2.0.39
- 2.0.38
- 2.0.37
- 2.0.36
- 2.0.35
- 2.0.34
- 2.0.33
- 2.0.32
- 2.0.31
- 2.0.30
- 2.0.29
- 2.0.28
- 2.0.27
- 2.0.26
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.21
- 2.0.20
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
This package is auto-updated.
Last update: 2025-11-15 14:24:16 UTC
README
Lightweight tools that extend EasyAdmin (easycorp/easyadmin-bundle).
Features
- Define default fields via attributes
- Generate all entity crud controllers via a single command (code-bundle?)
- Automatic configuration of filters
- Base controller defaults to read-only for non-admins
Installation
Install the bundle using Composer:
composer require survos/ez-bundle
Usage
use Survos\EzBundle\Attribute\EzAdmin; use Survos\EzBundle\Attribute\EzField; use Survos\EzBundle\Attribute\Page; #[EzAdmin(icon: 'fa-regular fa-image', defaultSort: ['year' => 'DESC'], indexMax: 12)] class ForteObj { #[EzField(index: true, order: 1, filter: true)] public ?int $year = null; #[EzField(index: true, order: 2)] public ?string $title = null; }
Testing
Run the test suite:
./vendor/bin/phpunit
License
This bundle is released under the MIT license. See the LICENSE file for details.