1 Star 0 Fork 3

Techutter/filament

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Filament 后台脚手架 内置商城模块

配置指南

# 安装包管理
composer install
# 创建软连接
php artisan storage:link
# 创建配置文件并配置好数据库信息
cp .\.env.example .env
# 生成APP_KEY
php artisan key:generate
# 执行迁移
php artisan migrate
# 生成超级管理员账号,由于是手机号登录的,还需要手动去users表设置下phone字段
php artisan make:filament-user
# 配置权限,并将刚刚生成的账号设置为超级管理员
php artisan shield:generate --all
php artisan shield:super-admin --user=1
# 生成模拟数据(可选)
php artisan db:seed --class=UserSeeder # 生成会员数据以及积分余额记录

七牛云对象存储配置

# 安装网址:
https://github.com/overtrue/laravel-filesystem-qiniu
# 安装完毕后在env文件配置即可
FILAMENT_FILESYSTEM_DISK=qiniu

日志查询系统配置

# 发布前端文件
php artisan log-viewer:publish
# 必须登录users表ID=1的账户,才能查看日志,否则会报权限问题
访问地址 {APP_URL}/log-viewer

常用方法

# 省市区级联:直接在资源中的form方法里面的schema,添加如下代码即可
FilamentService::getFormArea()

使用到的包

filament后台权限管理: https://github.com/bezhanSalleh/filament-shield
filament实现tree列表:https://github.com/solutionforest/filament-tree
filament实现select组件渲染tree节点:https://github.com/codewithdennis/filament-select-tree
filament实现表格布局的中继器组件:https://github.com/icetalker/filament-table-repeater
filament富文本编辑器:https://github.com/rawilk/filament-quill
API规范响应数据格式:https://github.com/jiannei/laravel-response
Laravel的日志查看器:https://github.com/opcodesio/log-viewer
微信SDK:https://github.com/overtrue/laravel-wechat
Laravel快速构建查询:https://github.com/spatie/laravel-query-builder
Laravel实现注册路由:https://github.com/spatie/laravel-route-attributes

项目截图

输入图片说明

输入图片说明

输入图片说明

输入图片说明

MIT License Copyright (c) 2024 我许我向你看齐 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

filament-admin开发模板 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/techutter/filament.git
git@gitee.com:techutter/filament.git
techutter
filament
filament
master

搜索帮助