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: 2

Watchers: 4

Forks: 2

Open Issues: 3

Type:sulu-bundle

pkg:composer/friendsofsulu/sulu-attributes-bundle

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

This package is auto-updated.

Last update: 2025-10-09 16:02:50 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 {}