survos/ez-bundle

configure EasyAdmin with attributes

Fund package maintenance!
kbond

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/survos/ez-bundle

2.0.19 2025-09-28 12:29 UTC

This package is auto-updated.

Last update: 2025-10-03 13:17:46 UTC


README

A Symfony bundle for ez functionality.

Features

  • Console command for CLI operations

Installation

Install the bundle using Composer:

composer require survos/ez-bundle

If you're using Symfony Flex, the bundle will be automatically registered. Otherwise, add it to your config/bundles.php:

return [
    // ...
    Survos\EzBundle\SurvosEzBundle::class => ['all' => true],
];

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.