使用 laravel5.8, bootstrap4, jquery 搭建的简洁后台
需要安装redis 及 phpredis扩展
git clone https://github.com/jzfan/admin.git
cd admin
composer install
//配置数据库...
php artisan migrate
php db:seed
url: /admin
email: admin@admin.com
password: 123
- 通知
// php
session('notice', 'some message');
// js
flash('some message')
// ajax: 删除按钮, 添加 .btn-delete 样式
<button type="button" class="btn btn-danger btn-delete">
- form表单错误提示,添加 .show-errors 样式
<form action='/some/path' method="POST" class="show-errors">
-
Excel数据导出
-
数据库导出
//在 storage 目录下创建 backup 目录,确保可写
php artisan db:backup
- api跨域 CorsMiddleware 中间件
- Chartjs
- Pikaday
- WangEditor
The JzAdmin is open-source software licensed under the MIT license.