appsorigin / dashboard
A package to scafford sidemenu navigation and permissions based on spatie
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- spatie/laravel-permission: ^5.7
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-06 18:59:14 UTC
README
A simple package to add a sidebar to a laravel tailwind css
Usage
add this on app.blade.php after the body tag
-
@extends('dashboard::master')
-
open publish dashboard.php config file.
-
'navigations' => [ 'dashboard' => [ 'url' => 'dashboard', 'icon' => 'heroicon-o-home', 'canAccess' => "dashboard_browse", ], ], 'permissions' => [ 'dashboard' => [ 'browse', ], ],
changes the above to match your navigation and your permissions schema.