Changelog

All notable changes to laravel-sidebar will be documented in this file.

Next

1.0.0 - 2026-12-01

First release of wikigods/laravel-sidebar, a continuation of maatwebsite/laravel-sidebar 3.x under the Wikigods\Sidebar namespace. See the upgrade guide to move an existing application.

Added

  • php artisan sidebar:install: interactive installer that generates a sidebar class and config/sidebar.php (cache method and duration, template, permission driver, sidebar class, target view, view data key and middleware alias). Every prompt also has an option for non-interactive use, plus --publish-views and --force (replaced files are backed up as .bak).
  • sidebar.sidebar configuration: register a sidebar class and the Blade view that receives it (class, view, key) without writing a view composer.
  • sidebar.middleware configuration: the sidebar route middleware alias is registered automatically.
  • Permission drivers in sidebar.permissions: spatie (any Gate-based can() check), sentinel and none, or a custom PermissionResolver class. Items and groups gain authorizePermission().
  • AdminLTE 3 and AdminLV (Bootstrap 5) templates next to AdminLTE 2, selected with sidebar.view. Publish tags sidebar-views-adminlte2, sidebar-views-adminlte3 and sidebar-views-adminlv. AdminLV converts Bootstrap 3/4 badge classes (badge-danger) to Bootstrap 5 (bg-danger).
  • Support for Laravel 10, 11, 12 and 13 on PHP 8.1+.
  • Documentation site on GitHub Pages. Every example of the documentation is covered by a test (tests/DocumentationExamplesTest.php).

Changed

  • Namespace Maatwebsite\Sidebar is now Wikigods\Sidebar, and the package is wikigods/laravel-sidebar.
  • The service provider extends spatie/laravel-package-tools. The sidebar-config and sidebar-views publish tags keep their names.
  • sidebar.cache.duration is in minutes, as documented. It was passed to the cache store as seconds, so 1440 cached for 24 minutes instead of one day.
  • ShouldCache no longer extends the deprecated Serializable interface. It requires __serialize() / __unserialize(), which CacheableTrait provides.
  • The Console namespace is now Commands.

Fixed

  • Item::badge() and Item::append() treated a string such as 'count' or 'route' as a callback because it names a global PHP function, and failed with a TypeError. Only closures are now treated as callbacks.

Removed

  • serialize() / unserialize() methods of CacheableTrait and the Serializable interface on the domain classes. PHP's native __serialize() / __unserialize() are used.
  • The unused $defer property and provides() method of the service provider.