friendsofsulu/sulu-attributes-bundle

There is no license information available for the latest version (dev-main) of this package.

Bundle to expand Sulu with helpful attributes

dev-main 2025-07-09 15:15 UTC

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 {}