fflnvb/admin
最新稳定版本:v1.0.3
Composer 安装命令:
composer require fflnvb/admin
包简介
Simple administration backend for Laravel
README 文档
README
TODO: Auth Middleware needs reroute to admin.Login Also clear cache after installation
TODO: Add PrettyDateTrait info
Simple administration backend for Laravel
Features
- Backend Area on /admin
- Login Controller
- Responsive Sidebar
- Blade Components for resource Controllers
Getting started
Install via Composer
composer install fflnvb/admin
Publish Config and Admin Route file
php artisan vendor:publish --tag=fflnvb-admin
Documentation
Component ordering
Please stick to the following order on using the blade components
- mask.index|show|edit
- mask.feedback
- mask.item
- mask.forms.*
mask.index
<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
mask.show
<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
mask.edit
<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
mask.feedback
<x-admin::mask.feedback />
Space for errors and related feedback.
No attributes
mask.item
<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.
Library Mentions
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.
License
MIT
统计信息
- 总下载量: 121
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-23