Changelog
All the changes made to the Larasell admin panel.
0.6.0 (2026-11-03)
⚠ BREAKING CHANGES
- upgrade Chronicle to 0.4
- require PHP 8.4
- audit sign-ins and admin management (#216)
Features
- add a make:larasell-audit-record command (9d8d7dd)
- audit sign-ins and admin management (#216) (0bc1cfe)
- hide the audit log filters behind a Pennant feature (#218) (a3d52b5)
- let apps turn the categories module off (0dd9ed0)
- prune audit records after their retention period (#217) (f255558)
- reorder categories by drag and drop (2bbcea6)
- show the audit log in the settings (#215) (cf4c282)
- start new products without backorders (14d43b1)
- upgrade Chronicle to 0.4 (0049d39)
Bug Fixes
Build System
- require PHP 8.4 (7484983)
Upgrade guide
CreateAdminandDeleteAdminnow require an actorAdding and deleting admins now writes an audit record in the same transaction as the change. The record says who made the change, so both actions now take that actor as a required argument.
Who is affected
Apps that call
Larasell\Admin\Actions\CreateAdmin::handle()orLarasell\Admin\Actions\DeleteAdmin::handle()from their own code, such as a command, a job or an SSO sync. Adding and deleting admins in the admin panel, and thelarasell:create-adminandlarasell:remove-admincommands, are not affected: they pass their actor for you.How to upgrade
Pass who made the change. In jobs and commands, use a
SystemActornamed for what the code does. In your own admin pages, pass the signed-inAdmin.1use Larasell\Admin\Audit\SystemActor; 2 3// Before 4app(CreateAdmin::class)->handle(['name' => 'Grace Hopper', 'email' => 'grace@example.com', 'password' => $password]); 5app(DeleteAdmin::class)->handle($admin); 6 7// After 8app(CreateAdmin::class)->handle(['name' => 'Grace Hopper', 'email' => 'grace@example.com', 'password' => $password], new SystemActor('sso-sync')); 9app(DeleteAdmin::class)->handle($admin, new SystemActor('sso-sync'));If the actor truly can't be known, pass an
UnknownActorwith the reason, e.g.new UnknownActor('Imported from the previous shop system.').Both actions now also throw
Larasell\Admin\Exceptions\AuditFailedwhen the audit record can't be stored. No admin is then added or deleted, and a deleted admin keeps their avatar.The admin panel uses Chronicle 0.4
The admin panel's structured exceptions now implement Chronicle 0.4's
Larasell\Chronicle\Exceptions\StructuredExceptioninstead ofLarasell\Chronicle\StructuredError. This coversAuditFailed,AdminRemovalFailed,InvalidNavigationItem,InvalidTableAction,InvalidTableColumnandInvalidTableEmptyState. Chronicle 0.4 bounds and redacts every event it logs and adds a fake for tests. The admin panel also requires Larasell 1.23, the first version on Chronicle 0.4.Who is affected
- Apps that catch the admin panel's exceptions as
Larasell\Chronicle\StructuredError. - Apps that use Chronicle themselves, e.g. its
LogRequestsmiddleware or structured exceptions. Composer now installs Chronicle 0.4, so follow Chronicle's upgrade guide.
Apps that catch these exceptions by name, or only read
errorCode(),errorWhy(),errorFix()anderrorLink(), are not affected.How to upgrade
Update Larasell and the admin panel together:
1composer update larasell-dev/larasell larasell-dev/admin --with-dependenciesCatch the new interface:
1// Before 2use Larasell\Chronicle\StructuredError; 3 4try { 5 // Code that builds an admin table, navigation or audit record 6} catch (StructuredError $exception) { 7 report($exception); 8} 9 10// After 11use Larasell\Chronicle\Exceptions\StructuredException; 12 13try { 14 // Code that builds an admin table, navigation or audit record 15} catch (StructuredException $exception) { 16 report($exception); 17}The admin panel requires PHP 8.4
The admin panel now needs PHP 8.4 or newer, like Larasell and Chronicle, which it is built on. Both require PHP 8.4 from their current versions, so the admin panel can't upgrade them while it still allows PHP 8.3.
Who is affected
Apps that run on PHP 8.3. Composer won't install this version of the admin panel there. Apps on PHP 8.4 or 8.5 are not affected.
How to upgrade
Upgrade PHP to 8.4 or newer on every server and in CI, then raise the PHP requirement in your app's
composer.json:1// Before 2"require": { 3 "php": "^8.3" 4} 5 6// After 7"require": { 8 "php": "^8.4" 9}0.5.0 (2026-10-29)
⚠ BREAKING CHANGES
- let extensions register admin pages through @larasell-dev/admin (#191)
- add an orders index page
- list products with Route::index and renumber the navigation
- make the admin config publishable (#151)
Features
- add a read-only order page (446ac8f)
- add admins from the settings (6fa3043)
- add an orders index page (e511842)
- add and edit customers (b4fb93a)
- add table actions to table headers and empty states (#156) (18f8539)
- ask for the password again once the session expires (a412ac5)
- create and edit products (#157) (43772d6)
- cycle the theme with a rebindable keyboard shortcut (#145) (e377c01)
- delete admins from the admins table (4814085)
- delete customers from the customers table (e8c45a9)
- delete products from the products table (1f1a318)
- edit a product's SKU and barcode (#159) (59d738e)
- edit a product's stock, backorders and quantity limits (eb3c45e)
- edit a product's weight and dimensions (d1004df)
- edit admins from the settings (47206f6)
- fill a new category's slug from its name (#118) (e61875f)
- freeze the navigation once the app has booted (#134) (9c51714)
- hide a row action, for every row or per record (0f541cc)
- hold off saving while a field in the form is busy (dddf955)
- let admins choose a light, dark, or system theme on the profile page (87b016f)
- let apps turn the customers module off (2190ec5)
- let extensions register admin pages through @larasell-dev/admin (#191) (f3ce5c7)
- limit navigation items to 100 children per parent (#132) (f7a4f57)
- link the dashboard to the first onboarding steps (672ad5b)
- link the products on a category's page to their edit page (768b640)
- link to creating a product from a category's empty products (af39a9b)
- list a customer's orders on their page (003a162)
- list admins under a new Settings navigation item (dc0fed7)
- list products on a new Products page (5cbda18)
- list products with Route::index and renumber the navigation (ec98739)
- make the admin config publishable (#151) (41d12de)
- open a product's images in a lightbox to edit their alt text (85ca66e)
- pick a product's categories from a checkbox tree (b07a0b1)
- prefetch link actions in a category's products menu on hover (a90804d)
- put the profile fields in a General section (2350974)
- register a table route and its navigation item with Navigation::index (87367c9)
- remove a product's images from a menu on each image (70e9969)
- render the admin 404 pages through Inertia's exception handling (1ccf765)
- reorder a product's images by dragging them (27fda6a)
- report navigation items with an unregistered route as a structured error (#135) (7ed7c40)
- shorten the category products menu's view item to "View" (b402a0a)
- shorten the category tree menu's view item to "View" (96c6bb8)
- show a 404 page inside the admin panel (6cb9000)
- show a loading card per image while it uploads (3291b48)
- show a loading state on the dev login link (#126) (1cda394)
- show an icon or picture in table cells with image() (#150) (b16c152)
- show Products above Categories in the navigation (27270eb)
- show toasts and say why a stale image link didn't open (ff15aea)
- show values in a coloured badge with BadgeColumn (#152) (96cfc25)
- support nested navigation items (#128) (efb1f9e)
- upload a product's images and link them on save (24f48f2)
- use PasswordInput for the login password field (#124) (455715d)
- use the unsaved changes toast on the profile page (#125) (c24acf7)
- view a product from a category's products menu (ced44be)
Bug Fixes
- animate the session expired dialog out after signing back in (ebc1bb4)
- break navigation position ties by id instead of label (#130) (045b94a)
- control the image lightbox with an open prop and drop stale image links (6f35a71)
- freeze the mobile nav while it closes (6a81c0e)
- keep the add images input inside its square (870e464)
- keep the confirmation dialog's content unchanged while it closes (#123) (0d6d1a0)
- keep the product form's last field clear of the unsaved changes toast (8a15c17)
- leave out the actions menu on rows whose actions are all hidden (c0a5016)
- let the category delete dialog animate out after deleting (#122) (4dd69e5)
- only let siblings stop a navigation item from matching its pages (#131) (60898db)
- put dialogs opened later above earlier ones (c6c87bc)
- shorten the stale image link toast so it fits on one line (520b3a4)
- show a back link instead of the category tree trigger when there are no categories (#121) (d7fd8b9)
- stack the add product search above its buttons on narrow screens (#120) (891acd0)
- stop avatar uploads on cancel and explain why they fail (fd66549)
- stop the page jumping when the rows per page select opens (675a52a)
- upload product images one at a time and explain each failure (13ee622)
- visit the dev login with an Inertia link to avoid a full reload (24d13ac)
Miscellaneous Chores
- add a phpstan rule that prefers route() over hard-coded URLs in tests (41679fb)
- add an oxlint rule that asks for cn() in class lists (258ceee)
- add an oxlint rule that forbids positive margins (#147) (7776bf5)
- enable oxlint plugins and type-aware linting (#148) (95b8672)
- report oxlint correctness rules as errors (#149) (27d9ad5)
- store product images on the public disk in the workbench (d6510c4)
- update @larasell-dev/ui to 0.1.19 (#138) (f50b174)
- update @larasell-dev/ui to 0.1.25 (f677aef)
Upgrade guide
Admin pages import
@larasell-dev/adminand register withLarasell.booting()The
larasell-admin/register,larasell-admin/componentsandlarasell-admin/layoutsmodules are now one module,@larasell-dev/admin. Pages are registered in aLarasell.booting()callback and load when they're first opened instead of on every admin page. Every export of React, Inertia and@larasell-dev/uiis now available to admin pages, not only the hooks and components that were listed by hand.Who is affected
Apps with their own admin pages in
resources/js/admin, built with theadmin()Vite plugin. Apps without that directory are not affected.How to upgrade
Register pages with a loader in
resources/js/admin/app.tsx:1// Before 2import { page } from "larasell-admin/register"; 3import Report from "./pages/Report"; 4 5page.add("Report", Report); 6 7// After 8import { Larasell } from "@larasell-dev/admin"; 9 10Larasell.booting(({ pages }) => { 11 pages.register("Report", () => import("./pages/Report")); 12});Import components and layouts from
@larasell-dev/admin:1// Before 2import { ResourceTable } from "larasell-admin/components"; 3import { SidebarLayout } from "larasell-admin/layouts"; 4 5// After 6import { ResourceTable, SidebarLayout } from "@larasell-dev/admin";The
TableResourcetype and its parts now match what tables send: they includeheaderActions,pagination, badge columns and row links.The config now lives in
config/larasell/admin/panel.phpunderlarasell.admin.panelThe admin config can now be published with
php artisan vendor:publish --tag=larasell-admin-config. It is published into its ownconfig/larasell/adminfolder, so future config files can sit next topanel.phpwithout crowding the app'sconfigdirectory. Laravel names config keys after their folder, so the key changed fromlarasell-admintolarasell.admin.panel.Who is affected
- Apps that read or set
larasell-admin.path,larasell-admin.disk, orlarasell-admin.tables.namespace, for example withconfig(). - Apps with their own
config/larasell-admin.php. The panel no longer reads that file, so its values are silently ignored.
Apps that only set
LARASELL_ADMIN_PATHorLARASELL_ADMIN_DISKin.envare not affected.How to upgrade
Rename the config keys:
1// Before 2config('larasell-admin.path'); 3config('larasell-admin.disk'); 4config(['larasell-admin.tables.namespace' => 'App\\Admin\\Tables']); 5 6// After 7config('larasell.admin.panel.path'); 8config('larasell.admin.panel.disk'); 9config(['larasell.admin.panel.tables.namespace' => 'App\\Admin\\Tables']);If you have a
config/larasell-admin.php, publish the new file, copy your values into it, and delete the old one:1php artisan vendor:publish --tag=larasell-admin-config 2# copy your values from config/larasell-admin.php into config/larasell/admin/panel.php 3rm config/larasell-admin.phpCustomers and Settings moved down one navigation position
The new Orders navigation item takes position 4000, between Categories and Customers. To keep the built-in items 1000 apart, Customers moved from 4000 to 5000 and Settings from 5000 to 6000.
Who is affected
Apps that add navigation items with a fixed
position()above 3000. An item at 4500 used to sit between Customers and Settings; it now sits between Orders and Customers. Apps that place items withbefore()orafter(), or withNavItem::...->position(), keep their order and are not affected.How to upgrade
Add 1000 to positions above 3000 to keep an item where it was. Better, place it relative to a built-in item so it follows any future change:
1use Larasell\Admin\Enums\NavItem; 2use Larasell\Admin\Facades\Navigation; 3 4// Before: between Customers and Settings 5Navigation::add('Reports', 'reports.index', 'bar-chart')->position(4500); 6 7// After 8Navigation::add('Reports', 'reports.index', 'bar-chart')->position(5500); 9 10// Or 11Navigation::add('Reports', 'reports.index', 'bar-chart')->after(NavItem::Customers);Customers and Settings moved down one navigation position
The new Products navigation item takes position 3000, between Categories and Customers. To keep the built-in items 1000 apart, Customers moved from 3000 to 4000 and Settings from 4000 to 5000.
Who is affected
Apps that add navigation items with a fixed
position()above 2000. An item at 3500 used to sit between Customers and Settings; it now sits between Products and Customers. Apps that place items withbefore()orafter(), or withNavItem::...->position(), keep their order and are not affected.How to upgrade
Add 1000 to positions above 2000 to keep an item where it was. Better, place it relative to a built-in item so it follows any future change:
1use Larasell\Admin\Enums\NavItem; 2use Larasell\Admin\Facades\Navigation; 3 4// Before: between Customers and Settings 5Navigation::add('Reports', 'reports.index', 'bar-chart')->position(3500); 6 7// After 8Navigation::add('Reports', 'reports.index', 'bar-chart')->position(4500); 9 10// Or 11Navigation::add('Reports', 'reports.index', 'bar-chart')->after(NavItem::Customers);0.4.0 (2026-10-23)
⚠ BREAKING CHANGES
Features
- add a category tree (#89) (708fe19)
- add a headless tree component (#88) (b4e13f5)
- add a log in as admin button to the login page in local (dc4732e)
- add a subcategory from the category tree (cea1408)
- add an unsaved changes toast for Inertia forms (835b0e4)
- add category pages (#90) (8c97b5e)
- add Section, SectionStack and Inset layout components (9745bbf)
- always show the category menu button (#105) (514f7bf)
- create and edit categories (5d6c67c)
- delete a category with all categories below it (b8f5607)
- give every admin page its own title (#99) (6de6534)
- give the panel's own tables larasell: slugs (07e59a7)
- infer the model a table lists from its class name (#101) (9e3bbd6)
- let tables take constructor arguments for their actions (#93) (aec3460)
- list, add and remove a category's products (d913115)
- move categories by dragging them in the tree (436323f)
- offer to add the first category when there are none (50c6876)
- open categories with a chevron and show their number of children (#106) (7588d1a)
- open the category tree in a dialog on mobile (#98) (3ef1c06)
- open the current category instead of the clicked one (#107) (46c791e)
- position built-in nav items via the NavItem enum (#103) (40094b6)
- show an empty state for a category that no longer exists (#102) (c8c4610)
Bug Fixes
- align the mobile header with the sidebar content (15b9cc7)
- clear the category tree's scroll fade once it no longer scrolls (#111) (bf517e6)
- flush every prefetched page after a change (67eb6b9)
- keep deeply nested category names readable in the tree (#110) (b84b397)
- keep the mobile category tree unchanged while its dialog closes (#108) (9157791)
- open the path to the current category on every page load (a652495)
- remember the mobile category tree's open categories (#109) (da08fd1)
Miscellaneous Chores
- fix the Amp orb setup when it runs without root (9dcd95e)
Upgrade guide
Admin page titles now come from Laravel Head
Every admin page now has its own title, such as "Customers - Admin", set on the server with Laravel Head instead of Inertia's
<Head>component. The admin panel no longer adds " - Admin" to titles set with<Head title="...">.Who is affected
Apps with their own admin pages, registered in
resources/js/admin/pages, that set a title with Inertia's<Head>component. Such a title now shows without the " - Admin" suffix and competes with the title Laravel Head sets. Apps that only useRoute::index()table pages are not affected: those pages are titled after their table.How to upgrade
Remove the
<Head>component from your page and set the title on its route inroutes/admin.phpinstead. The admin panel adds the " - Admin" suffix.1// Before: resources/js/admin/pages/Reports.tsx 2<Head title="Reports" />1// After: routes/admin.php 2Route::get('reports', ReportController::class) 3 ->name('reports') 4 ->withHead(title: 'Reports');For a title that depends on the request, call
Head::title()in the controller:1use Laravel\Head\Facades\Head; 2 3Head::title($report->name);Default table titles no longer end in "table"
A table's default title now leaves out a
Tablesuffix in its class name, soProductReviewsTableis titled "Product reviews" instead of "Product reviews table". Tables can now be named with the suffix they infer their model from, likeProductReviewTable, without it showing up in the title.Who is affected
Tables whose class name ends in
Tableand that don't overridetitle(). The new title also shows up in the page title of theirRoute::indexroute. Tables without the suffix, and tables that definetitle(), are not affected.How to upgrade
To keep the old title, return it from
title():1use Larasell\Admin\Tables\Table; 2 3class ProductReviewsTable extends Table 4{ 5 // Before: no title() method, titled "Product reviews table" 6 7 // After 8 public function title(): string 9 { 10 return 'Product reviews table'; 11 } 12}0.3.0 (2026-10-20)
⚠ BREAKING CHANGES
- reject configuring a table column or action twice (#77)
Features
- compute table column values with map() (#75) (036c505)
- let a table list the records of a query or relationship (#82) (90b33f9)
- reject a mapped text column value that is not text (#78) (05010ef)
- reject configuring a table column or action twice (#77) (b2775de)
Upgrade guide
Action configuration methods can only be called once
Calling
to(),route(),confirm(),destructive(),disabled()oricon()a second time on the same action used to silently replace the first call. It now throws anInvalidTableActionexception with the codelarasell-admin.table.action.configured-twice, so a call that has no effect can't hide in a table definition.Who is affected
Tables that call one of these methods more than once on the same
Larasell\Admin\Tables\Actions\Action, includingto()followed byroute(), since both set the link. If every method is called at most once per action, you can skip this entry.How to upgrade
Keep only the call you want to take effect, usually the last one:
1use Larasell\Admin\Tables\Actions\Action; 2 3// Before 4Action::make('Delete', handle: fn (Book $book) => $book->delete()) 5 ->disabled() 6 ->disabled(fn (Book $book) => $book->is_locked); 7 8// After 9Action::make('Delete', handle: fn (Book $book) => $book->delete()) 10 ->disabled(fn (Book $book) => $book->is_locked);Table column names must be unique and not reserved
A table whose columns share a name, or that has a column named
_actionsor_link, now throws anInvalidTableColumnexception when it renders. Each row stores a column's value under its name, so such a column silently overwrote another column's value or the row's actions or link.Who is affected
Tables whose
columns()return two columns with the same name, or a column named_actionsor_link. Tables with unique column names that don't start with an underscore are not affected. Anidcolumn is still allowed.How to upgrade
Give the second column its own name and read the attribute in
map():1use Larasell\Admin\Tables\Columns\TextColumn; 2 3// Before 4TextColumn::make('created_at', 'Received')->map(fn ($value) => $value?->diffForHumans()), 5TextColumn::make('created_at', 'Date'), 6 7// After 8TextColumn::make('received')->map(fn ($value, ContactRequest $request) => $request->created_at?->diffForHumans()), 9TextColumn::make('created_at', 'Date'),0.2.0 (2026-10-20)
⚠ BREAKING CHANGES
- validate icons the same way everywhere (#70)
- Larasell\Admin\Enums\NavIcon is now Larasell\Admin\Enums\Icon. Cases and values are unchanged; replace NavIcon imports and references with Icon.
Features
- link table rows with rowLink() (#67) (148d467)
- paginate tables (#72) (15520d9)
- show icons on table actions with icon() (#69) (373fdf6)
Bug Fixes
- rename NavIcon enum to Icon (#63) (9f4c87a)
- stop tables from overriding query() (#71) (d1dff3e)
- validate icons the same way everywhere (#70) (f26235e)
Upgrade guide
An empty empty-state icon now throws
empty-iconA table whose
emptyState()returns an empty or whitespace-only'icon'now fails with the error codelarasell-admin.table.empty-state.empty-iconinstead oflarasell-admin.table.empty-state.unknown-icon. A blank icon is a different mistake than a misspelled one, so it now gets its own error and fix, the same way navigation items and table actions already report it.Who is affected
Apps that catch
Larasell\Admin\Exceptions\InvalidTableEmptyStateand compare itserrorCode()tolarasell-admin.table.empty-state.unknown-iconfor blank icons. The exception class is unchanged, and so is the error for icon names that are not empty. Apps that don't inspect error codes are not affected.How to upgrade
Check for the new code where you handle blank icons:
1use Larasell\Admin\Exceptions\InvalidTableEmptyState; 2 3// Before 4if ($exception->errorCode() === 'larasell-admin.table.empty-state.unknown-icon') { 5 // ... 6} 7 8// After 9if (in_array($exception->errorCode(), [ 10 'larasell-admin.table.empty-state.empty-icon', 11 'larasell-admin.table.empty-state.unknown-icon', 12], true)) { 13 // ... 14}To avoid the error, leave
'icon'out ofemptyState()for the default icon instead of returning''.The
NavIconenum is nowIconLarasell\Admin\Enums\NavIconis renamed toLarasell\Admin\Enums\Icon. The enum is no longer only for navigation items: tables use it for their empty state too, so the old name was misleading. Its cases and values are unchanged.Who is affected
Apps that import
Larasell\Admin\Enums\NavIcon, for example to register navigation items or to set a table's empty state icon. Apps that pass icons as strings such as'home'are not affected.How to upgrade
Replace every
NavIconimport and reference withIcon:1// Before 2use Larasell\Admin\Enums\NavIcon; 3 4Navigation::add('Orders', 'orders.index', NavIcon::ShoppingBag); 5 6// After 7use Larasell\Admin\Enums\Icon; 8 9Navigation::add('Orders', 'orders.index', Icon::ShoppingBag);Cases and their string values stay the same, so a find-and-replace of
Enums\NavIconandNavIcon::is enough.0.1.9 (2026-10-19)
Features
- add make:larasell-table command (#58) (066fac0)
- add PHP-defined admin tables with Route::index() (#57) (c8b9fe7)
- add roving focus to sidebar navigation (#53) (68bb688)
- add row actions to admin tables (#60) (2741a6f)
- declare a table's model with the UseModel attribute (#62) (039cbba)
- generate Inertia page prop types with laravel-data (#56) (0fb5e78)
- let tables define their empty state (#61) (72fffda)
Miscellaneous Chores
0.1.0 (2026-10-16)
Features
- add a sidebar layout to the admin panel (#15) (cc6dd88)
- add admin panel (#1) (629f029)
- add mobile header with off-canvas navigation (#21) (804f955)
- add profile page to update name and email (e8e1624)
- allow admins to upload a profile picture (#19) (9f55158)
- replace sidebar logout button with a user menu (#22) (41ba0dd)
- style the login page with @larasell-dev/ui (#8) (3282e4d)
- use fullWidth button prop on login page (0248b00)
- use ui progress color token for the Inertia loader (#11) (6c9faf1)
Bug Fixes
- match website backdrop and align mobile header with menu (#23) (22772f0)
- share validation errors with admin pages (19acbd3)
- type the Inertia page resolver (d525f39)
Miscellaneous Chores
- add Amp orb setup script (954fc15)
- add pint (#2) (04e37fe)
- add test (6359f6e)
- ban commit scopes and drop scope from release PR title (49079eb)
- deps: upgrade @larasell-dev/ui to 0.1.5 (0a522f2)
- improve errors for NavigationItem (d1f8746)
- initial commit (1eb9a74)
- serve the admin panel in Amp orbs over HTTPS (#14) (c6c6b12)