nyoncode / wire-admin
The optional admin shell for wire: a layout and a sidebar over the registered catalogue.
Requires
- php: ^8.2
- illuminate/support: ^12.0|^13.0
- livewire/livewire: ^4.0
- nyoncode/laravel-package-toolkit: ^2.5.2
- nyoncode/wire-core: 2.10.8
- nyoncode/wire-panels: 2.10.8
Requires (Dev)
- laravel/pint: ^1.29
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0|^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 2.10.8
- 2.10.7
- 2.10.6
- 2.10.5
- 2.10.4
- 2.10.3
- 2.10.2
- 2.10.1
- 2.10.0
- 2.10.0-rc.2
- 2.10.0-rc.1
- 2.9.14
- 2.9.13
- 2.9.12
- 2.9.11
- 2.9.10
- 2.9.9
- 2.9.8
- 2.9.7
- 2.9.6
- 2.9.5
- 2.9.4
- 2.9.3
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.1
- 2.7.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.0
This package is auto-updated.
Last update: 2026-11-22 23:13:55 UTC
README
Wire Admin
The optional admin shell for Wire: a layout and a sidebar over everything an application already registered.
composer require nyoncode/wire-admin
{{-- resources/views/components/layouts/admin.blade.php --}} <x-wire-admin::layout :title="$title ?? config('app.name')"> <x-slot:brand>{{ config('app.name') }}</x-slot:brand> <x-slot:user><x-app-user-menu /></x-slot:user> {{ $slot }} </x-wire-admin::layout>
config()->set('livewire.component_layout', 'components.layouts.admin');
Every full-page component — the pages Route::wireResources() registers
included — now renders inside the shell, with the menu beside it.
Why a package of its own
Three ADRs (0020, 0026, 0027) held that the owner layer holds no shell, and this
does not change that: wire-panels still ships pages and routing and no chrome.
A composer boundary is the only opt-in nobody can acquire by accident — an
application that wants the pages and its own frame simply does not install this.
Installing it is still not adopting it. Nothing here sets
livewire.component_layout; a page renders inside the shell only once your own
layout says so, and the sidebar works alone inside a frame you wrote.
What it reads
| It needs | It asks |
|---|---|
| what is registered | Catalog, through Workspace |
| how it groups, orders and reads | Workspace::navigation() |
| where a key's page lives | ResolvesPageUrls — nothing at all until a package owns routing |
| which zone, which entry is active | the current route name, read once while the page renders |
No registry, no URL scheme, no Panel object. An entry this zone does not route
keeps its row and loses its link, which is the honest picture of a half-routed
application; :linked-only="true" drops those rows instead.
Documentation
Full docs: docs/admin/overview.md
(česky).
License
MIT.