friendsofsulu / sulu-attributes-bundle
Bundle to expand Sulu with helpful attributes
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 2
Open Issues: 3
Type:sulu-bundle
Requires
- php: ^8.2 || ^8.3
- sulu/sulu: ^2.6
- symfony/config: ^4.4 || ^5.4 || ^6.3 || ^7.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.3 || ^7.0
- symfony/framework-bundle: ^4.4 || ^5.4 || ^6.3 || ^7.0
- symfony/http-foundation: ^4.4 || ^5.4 || ^6.3 || ^7.0
- symfony/http-kernel: ^4.4 || ^5.4 || ^6.3 || ^7.0
Requires (Dev)
- jackalope/jackalope-doctrine-dbal: ^1.3.4 || ^2.0
- php-cs-fixer/shim: ^3.65
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^10.5
- symfony/phpunit-bridge: ^5.4 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2025-07-09 15:26:30 UTC
README
Symfony is using using Attributes for configuring parts of your application. This bundle adds Attributes for Sulu features so no more searching for which configuration to extend.
🛠️ Installation Steps:
composer require friendsofsulu/sulu-attributes-bundle
🧐 Features
He're some of the project's features:
#[SuluResourceRoutes]
for configuring routes on the admin class
Before
resources: events: routes: list: app.get_event_list detail: app.get_event
After
<?php #[SuluResourcesRoutes([ 'list' => 'app.get_event_list', 'details' => 'app.get_event' ])] class EventAdmin {}