PHPackages                             perspeqtive/sulu-snippet-manager-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. perspeqtive/sulu-snippet-manager-bundle

ActiveSulu-bundle[Authentication &amp; Authorization](/categories/authentication)

perspeqtive/sulu-snippet-manager-bundle
=======================================

Transform snippets in custom managers

1.3.1(7mo ago)81.0k↑25%[1 issues](https://github.com/perspeqtive/sulu-snippet-manager-bundle/issues)MITPHPPHP ^8.2CI passing

Since Jun 18Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/perspeqtive/sulu-snippet-manager-bundle)[ Packagist](https://packagist.org/packages/perspeqtive/sulu-snippet-manager-bundle)[ RSS](/packages/perspeqtive-sulu-snippet-manager-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

SuluSnippetManagerBundle
========================

[](#sulusnippetmanagerbundle)

[![Packagist Version](https://camo.githubusercontent.com/c81dfc3d0d635d312a59baac450919e0d98710d09e67ff2a1a262b2d8890aedf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70657273706571746976652f73756c752d736e69707065742d6d616e616765722d62756e646c65)](https://camo.githubusercontent.com/c81dfc3d0d635d312a59baac450919e0d98710d09e67ff2a1a262b2d8890aedf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70657273706571746976652f73756c752d736e69707065742d6d616e616765722d62756e646c65)

The **Sulu Snippet Manager Bundle** adds configurable snippet-based navigation items to the Sulu Admin interface. This allows you to organize snippets by type and permissions within the native Sulu Admin UI.

 [ ![Navigation items](docs/navigation-items.png) ](docs/navigation-items.png) [ ![Rights management](docs/rights-management.png) ](docs/rights-management.png)

🚀 Features
----------

[](#-features)

- Custom navigation items for different snippet types
- Optional nested navigation items (e.g. under a main “Configuration” item)
- Independent permission handling per snippet type and snippet navigation item
- Easy custom snippet list view per snippet type
- Hide default snippet area with snippet types, where a certain permission is not given

🛠️ Installation
---------------

[](#️-installation)

### Install the bundle via composer:

[](#install-the-bundle-via-composer)

```
composer require perspeqtive/sulu-snippet-manager-bundle
```

### Enable the bundle

[](#enable-the-bundle)

Register it in your config/bundles.php:

```
return [
// ...
    PERSPEQTIVE\SuluSnippetManagerBundle\SuluSnippetManagerBundle::class => ['all' => true],
];
```

🛠️ Configuration
----------------

[](#️-configuration)

Create a configuration file at `config/packages/sulu_snippet_manager.yaml`. Here you define how and where your snippet navigation items appear in the Sulu Admin UI.

Example configuration:

```
sulu_snippet_manager:
    navigation:
        configuration:
            navigation_title: "Configuration"
            type: "configuration"
            order: 39
            icon: "su-news"
            children:
                settings:
                    navigation_title: "Settings"
                    type: "settings"
                    order: 0
                    icon: "su-settings"
                    snippet_list_view: "my-custom-view"
                account:
                    navigation_title: "Account Settings"
                    type: "account"
                    order: 1
                    icon: "su-account"
        services:
            navigation_title: "Services"
            type: "services"
            order: 41
            icon: "su-services"
```

### Configuration keys explained:

[](#configuration-keys-explained)

config itemrequireddescriptionnavigation\_titleyesLabel shown in the Sulu Admin navigationtypeyesThe snippet type, when it is not a nested parent item. When it is a parent item, just use an unique identifierorderyesSort order positioniconnoSulu icon name (e.g. su-settings, see [icon overview](https://jsdocs.sulu.io/2.5/#!/Icon))childrennoNested navigation items — parent items with children act as groups without detail views, parents without children behave like normal list viewssnippet\_list\_viewnoThe custom list view xml, where the view is configured### Permissions

[](#permissions)

Each snippet automatically receives its own permission key. These permissions are independent from the global snippet permissions in Sulu.

You can assign user roles to control access (view, add, edit, delete) to each snippet separately.

⚠️ **Important**: Users without the required permission won’t see the corresponding navigation item in the Sulu Admin UI.

👩‍🍳 Contribution
----------------

[](#‍-contribution)

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and adapt the documentation.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance59

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Total

5

Last Release

237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9ff41f18aa954874ee2602115e6a623bdc317e6562b036e77271923650632f6?d=identicon)[MarkusHolstein](/maintainers/MarkusHolstein)

---

Top Contributors

[![MarkusHolstein](https://avatars.githubusercontent.com/u/191744183?v=4)](https://github.com/MarkusHolstein "MarkusHolstein (59 commits)")[![alexanderbuerner](https://avatars.githubusercontent.com/u/9250626?v=4)](https://github.com/alexanderbuerner "alexanderbuerner (14 commits)")

---

Tags

managerpermissionsnavigationsulusnippet

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/perspeqtive-sulu-snippet-manager-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/perspeqtive-sulu-snippet-manager-bundle/health.svg)](https://phpackages.com/packages/perspeqtive-sulu-snippet-manager-bundle)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42542.0M544](/packages/socialiteproviders-manager)[jeremykenedy/laravel-roles

A Powerful package for handling roles and permissions in Laravel. Supports Laravel 5.3 up to 12.

1.0k826.8k7](/packages/jeremykenedy-laravel-roles)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
