PHPackages                             perspeqtive/sulu-snippet-tabs-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. [Admin Panels](/categories/admin)
4. /
5. perspeqtive/sulu-snippet-tabs-bundle

ActiveSulu-bundle[Admin Panels](/categories/admin)

perspeqtive/sulu-snippet-tabs-bundle
====================================

Organize snippet forms in tabs

1.0.1(4mo ago)7526↓31.7%MITPHPPHP ^8.2CI passing

Since Jun 25Pushed 4mo ago1 watchersCompare

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

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

SuluSnippetTabsBundle
=====================

[](#sulusnippettabsbundle)

[![Packagist Version](https://camo.githubusercontent.com/91579b66fb79f5a36761ed3c6bdf600e7c363d4d6a8b4115e0d1589aa07591b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70657273706571746976652f73756c752d736e69707065742d746162732d62756e646c65)](https://camo.githubusercontent.com/91579b66fb79f5a36761ed3c6bdf600e7c363d4d6a8b4115e0d1589aa07591b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70657273706571746976652f73756c752d736e69707065742d746162732d62756e646c65)

The **Sulu Snippet Tabs Bundle** lets you easily add custom tabs to your snippets through a simple YAML configuration — no need to write custom admin extensions. This makes it straightforward to organize and extend your snippets with structured content.

 [ ![Custom tab](docs/custom-tab.png) ](docs/custom-tab.png) [ ![Custom tab content](docs/custom-tab-content.png) ](docs/custom-tab-content.png)

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

[](#-features)

- Add custom tabs to snippet forms
- Store additional structured data as extension content
- Configure tabs easily - no custom PHP code required
- Integrates with [Sulu Snippet Manager Bundle](https://github.com/perspeqtive/sulu-snippet-manager-bundle)

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

[](#️-installation)

### Install the bundle via Composer:

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

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

### Enable the bundle

[](#enable-the-bundle)

Register it in your config/bundles.php:

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

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

[](#️-configuration)

Create a configuration file at `config/packages/sulu_snippet_tabs.yaml`. This defines which snippets will get extra tabs and in which order they appear in the Sulu Admin UI.

Example configuration:

```
sulu_snippet_tabs:
    configuration:
        services:
            snippet_type: 'services'
            tabs:
                tools:
                    title: tools
                    form_key: services_tools
                    order: 20
                regions:
                    title: regions
                    form_key: services_regions
                    order: 30
            events:
                snippet_type: 'events'
                tabs:
                    locations:
                        title: locations
                        form_key: events_locations
                        order: 10
                    catering:
                        title: catering
                        form_key: events_catering
                        order: 20
```

### Configuration keys explained:

[](#configuration-keys-explained)

config itemrequiredDescriptionconfigurationyesRoot node for defining snippet tab configurations.services / eventsyesYou can define multiple snippet types (e.g. services, events). These are just keys for grouping.snippet\_typeyesThe technical name of the snippet type that should receive these tabs (must match your snippet template type).tabsyesThe grouping of the tabs for the selected snippet typetitleyesThe label displayed in the admin UI for the tab.form\_keyyesThe form key that links to a custom form definition (must exist in your form configurations).orderyesControls the sort order of the tabs. Lower numbers appear first.Create your custom forms
------------------------

[](#create-your-custom-forms)

The form\_key must reference a form configuration that you define, following the [Sulu Admin Tabs Cookbook](https://docs.sulu.io/en/2.5/cookbook/add-admin-tabs.html).

⚠️ **Important**: Properties inside the forms must use the naming pattern:

```
ext/{snippet_type}/{property_name}

```

For reference, see this example from the Sulu docs — note how the property names follow the ext/ convention:

```

    page_socials

                Twitter

                ❗️

                        Twitter title

                ❗️

                        Twitter description

                ❗

                        Twitter image

```

This ensures the data is correctly stored in your snippet’s `ext` field and is available in the output.

✅ **That’s it!** Once your configuration and forms are in place, the new tabs will automatically appear in the snippet edit view in the Sulu Admin.

👩‍🍳 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

43

—

FairBetter than 91% of packages

Maintenance74

Regular maintenance activity

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.1% 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 ~45 days

Total

5

Last Release

143d ago

Major Versions

0.10.0 → 1.0.02025-09-24

### 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 (25 commits)")[![alexanderbuerner](https://avatars.githubusercontent.com/u/9250626?v=4)](https://github.com/alexanderbuerner "alexanderbuerner (5 commits)")[![Weggla](https://avatars.githubusercontent.com/u/10761634?v=4)](https://github.com/Weggla "Weggla (2 commits)")

---

Tags

adminsulutabssnippet

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sulu/article-bundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system

66409.6k2](/packages/sulu-article-bundle)

PHPackages © 2026

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