Giter VIP home page Giter VIP logo

larke-admin's Introduction

larke-admin通用后台管理系统

larke-admin 是一套使用 Laravel、JWT 和 RBAC鉴权的通用后台管理系统

项目介绍

  • larke-admin 是基于 laravel 框架的后台管理系统,完全api接口化,适用于前后端分离的项目
  • 基于 JWT 的用户登录态管理
  • 权限判断基于 php-casbinRBAC 授权
  • 本项目为 后台api服务后台前端页面 可查看 Larke Admin Frontend 项目

环境要求

  • PHP >= 8.1
  • Laravel >= 10.0
  • Fileinfo PHP Extension

截图预览

login index
admin admin-access
attach config
menus rule2

更多截图 Larke Admin 后台截图

安装步骤

  1. 首先安装 laravel 框架,并确认连接数据库的配置没有问题,开始执行以下命令
composer require lake/larke-admin
  1. 然后运行下面的命令,推送配置文件
php artisan vendor:publish --tag=larke-admin-config

运行完命令后

你需要复制 config/larkeadmin.php.larke 重命名为 config/larkeadmin.php

复制 config/larkeauth.php.larke 重命名为 config/larkeauth.php

复制 larkeauth-rbac-model.conf.larke 重命名为 larkeauth-rbac-model.conf

如果文件已存在,请根据情况复制内容到对应配置文件

  1. 最后运行下面的命令安装完成系统
php artisan larke-admin:install
  1. 你可能第一次安装需要运行以下命令导入路由权限规则
php artisan larke-admin:import-route
  1. 后台登录账号及密码:admin / 123456

扩展推荐

名称 描述
操作日志 记录 admin 系统的相关操作日志
签名证书 生成RSA,EDDSA,ECDSA等非对称签名证书
日志查看器 laravel日志查看扩展
demo 扩展示例

注:扩展目录默认为 /extension 目录

库推荐

名称 描述
JWT国密SM2驱动 larke-admin 后台管理系统 JWT 的 SM2 驱动

特别鸣谢

感谢以下的项目,排名不分先后

  • laravel/framework

  • lake/larke-jwt (代码修改自 lcobucci/jwt)

  • casbin/casbin

  • composer/semver

  • phpseclib/phpseclib

  • PclZip

开源协议

  • larke-admin 遵循 Apache2 开源协议发布,在保留本系统版权的情况下提供个人及商业免费使用。

版权

larke-admin's People

Contributors

deatil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.