PHPackages                             typicms/sidebar - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. typicms/sidebar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

typicms/sidebar
===============

A sidebar builder for TypiCMS

2.0.0(3mo ago)03.2k2MITPHPPHP ^8.2

Since Aug 18Pushed 3mo agoCompare

[ Source](https://github.com/typicms/sidebar)[ Packagist](https://packagist.org/packages/typicms/sidebar)[ RSS](/packages/typicms-sidebar/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (6)Dependencies (12)Versions (7)Used By (2)

TypiCMS Sidebar
===============

[](#typicms-sidebar)

This package is based on SpartnerNL/Laravel-Sidebar v1

Installation
------------

[](#installation)

Require this package in your `composer.json` and run `composer update`.

```
"typicms/sidebar": "~1.0.0"
```

After updating composer, add the ServiceProvider to the providers array in `bootstrap/providers.php`

```
'TypiCMS\Modules\Sidebar\SidebarServiceProvider::class',
```

To publish the default views use:

```
php artisan vendor:publish
```

Adding a menu
-------------

[](#adding-a-menu)

```
// Or use dependency injection
$builder = app('TypiCMS\Modules\Sidebar\SidebarManager');

$builder->group('app', function ($group)
{
    $group->addItem('dashboard', function($item)
    {
        // Route method automatically transforms it into a route
        $item->route('admin::dashboard');

        // If you want to call route() yourself to pass optional parameters
        $item->route = route('admin::dashboard');
    });
}
```

Groups
------

[](#groups)

It’s possible to group the menu items. A little header will be rendered to separate the different menu items.

Adding items
------------

[](#adding-items)

The first parameter of `$group->addItem()` is the name. The name field will automatically be translated through the `menu` translation file. (e.g. `menu.dashboard`). If the translation does not exists, the given name will be displayed.

The second parameter is optionally a callback. Alternatively you can chain the methods.

You can change the `route`, `name` and `icon`. If you route given it will automatically be translated to `acp.{$name}.index`.

Without group headings
----------------------

[](#without-group-headings)

To disable rendering of the group headings, you can easily use `$builder->withoutGroup()`. Group headings will now be ignored.

Authorization
-------------

[](#authorization)

By default, all groups and items are public for all users. You can use `->authorized(false)` on all these objects to disable them or use any condition you want.

Advanced usage
--------------

[](#advanced-usage)

If you have multiple sidebars, you can extend the SidebarManager and register a new singleton:

```
class AdminSidebar extends SidebarManager
{
    public function build($callback = null)
    {
        $this->group('application', function(SidebarGroup $group) {

            $group->addItem(...)

        });
    }

}
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance81

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~51 days

Total

6

Last Release

99d ago

Major Versions

1.2.0 → 2.0.02026-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/b93740e4c6b40a6219441696db5db9c4b635dad91339c1893dfe0813434e8d94?d=identicon)[Samuel De Backer](/maintainers/Samuel%20De%20Backer)

---

Top Contributors

[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/typicms-sidebar/health.svg)

```
[![Health](https://phpackages.com/badges/typicms-sidebar/health.svg)](https://phpackages.com/packages/typicms-sidebar)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k268.2k87](/packages/moonshine-moonshine)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

79227.1M206](/packages/laravel-mcp)[illuminate/console

The Illuminate Console package.

13046.6M7.2k](/packages/illuminate-console)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

729176.2k16](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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