TODO: Auth Middleware needs reroute to admin.Login Also clear cache after installation
TODO: Add PrettyDateTrait info
Simple administration backend for Laravel
- Backend Area on /admin
- Login Controller
- Responsive Sidebar
- Blade Components for resource Controllers
Install via Composer
composer install fflnvb/admin
Publish Config and Admin Route file
php artisan vendor:publish --tag=fflnvb-admin
Please stick to the following order on using the blade components
- mask.index|show|edit
- mask.feedback
- mask.item
- mask.forms.*
<x-admin::mask.index :name="$name" :routeName="$routeName" :single="$single">{slot}</x-admin::mask.index>
Mask for listing all model Items.
Attributes
$name
(string) - Display name of the model$single
(string) - Singular name of the model$routeName
(string) - Name of the route for the (resource) controller{slot}
(string) - Space for items
<x-admin::mask.show :name="$name" :model="$model">{slot}</x-admin::mask.show>
Mask for showing a single model.
Attributes
$name
(string) - Display name of the model$model
(string) - Name of the model{slot}
(string) - Space for items
<x-admin::mask.edit :name="$name" :model="$model">{slot}</x-admin::mask.edit>
Mask for editing models.
Attributes
$name
(string) - Display name of the model$model
(string) - Name of the model{slot}
(string) - Space for items
<x-admin::mask.feedback />
Space for errors and related feedback.
No attributes
<x-admin::mask.item>{slot}</x-admin::mask.edit>
Single item inside mask (li.list-item).
Attributes
{slot}
(string) - Space for displaying Form Items or model attributes.
This Package contains compiled and minified js and css files with Bootrap with Popper.js, Bootstrap Icons, Alpine.js as well as Alpine Breakpoints Plugin.
They are all being Licensed under MIT.
MIT