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

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 4

Forks: 2

Open Issues: 4

Type:sulu-bundle

pkg:composer/friendsofsulu/sulu-attributes-bundle

dev-main 2026-01-20 08:49 UTC

This package is auto-updated.

Last update: 2026-01-20 08:53:53 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(
    'events',
    [
        'list' => 'app.get_event_list',
        'details' => 'app.get_event'
    ]
)]
class EventAdmin {}