Skip to content

v0.1.0

Choose a tag to compare

@lam0819 lam0819 released this 16 Nov 16:44
· 40 commits to main since this release
7e1de45

First release: drill-down sidebar navigation for Filament v5 (PHP 8.3+, Laravel 13).

Highlights

  • One left sidebar, one level at a time, with a Back link and the section title; any depth.
  • Menu per record: NavItem::resource(XResource::class)->record(fn ($record) => [...]), including nested sub menus and nested resources.
  • Reuse Filament navigation: NavItem::fromFilamentNavigation() imports $navigationGroup, $navigationParentItem, sort, badges and canAccess().
  • NavItem::page() / NavItem::resource() / NavItem::make()->url() (any URL, e.g. React pages), badges, visibility, URL-less groups.
  • The level is computed from the URL on every request (no JS state); slide animation, dark mode and the mobile drawer work.

Quality

Pest (24), demo feature tests (12), Pint, PHPStan level 9 with no ignores; CI on a self-hosted runner.

Docs

README, docs/how-it-works.md (diagrams), AGENTS.md, SKILLS.md.

Known limits

Collapsed (icon-only) sidebar mode is not specially handled. Not on Packagist yet: install from the VCS repository (see README).

Install: composer config repositories.drilldown vcs https://github.com/solutionforest/filament-drilldown-nav && composer require solutionforest/filament-drilldown-nav:^0.1