{"id":2754534,"url":"https://github.com/deatil/larke-admin","last_synced_at":"2025-05-15T09:06:42.528Z","repository":{"id":49791051,"uuid":"302932972","full_name":"deatil/larke-admin","owner":"deatil","description":" larke-admin 是一套使用 Laravel 、JWT 和 RBAC 鉴权的前后端分离的通用后台管理系统。/ An admin api system with Laravel, JWT and RBAC.","archived":false,"fork":false,"pushed_at":"2025-04-02T05:04:03.000Z","size":8044,"stargazers_count":318,"open_issues_count":0,"forks_count":68,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-15T06:07:15.648Z","etag":null,"topics":["admin","admin-api","admin-dashboard","casbin","jwt","laravel","laravel-admin","laravel11","larke","larke-admin","php","php8","rabac"],"latest_commit_sha":null,"homepage":"https://github.com/deatil/larke-admin","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deatil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-10T15:34:40.000Z","updated_at":"2025-05-12T13:23:28.000Z","dependencies_parsed_at":"2024-01-20T05:27:30.535Z","dependency_job_id":"79d1ed79-b1e6-4b65-b8aa-175f736d45f7","html_url":"https://github.com/deatil/larke-admin","commit_stats":{"total_commits":202,"total_committers":1,"mean_commits":202.0,"dds":0.0,"last_synced_commit":"82b881245c4afef0819a7ade0a4707c40ba26458"},"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Flarke-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Flarke-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Flarke-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Flarke-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deatil","download_url":"https://codeload.github.com/deatil/larke-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","admin-api","admin-dashboard","casbin","jwt","laravel","laravel-admin","laravel11","larke","larke-admin","php","php8","rabac"],"created_at":"2024-01-29T06:22:28.164Z","updated_at":"2025-05-15T09:06:42.508Z","avatar_url":"https://github.com/deatil.png","language":"PHP","readme":"## larke-admin\n\nlarke-admin 是一套使用 Laravel、JWT 和 RBAC 鉴权的通用后台管理系统\n\n\n### 项目介绍\n\n*  `larke-admin` 是基于 `laravel` 框架的后台管理系统，完全 api 接口化，适用于前后端分离的项目\n*  基于 `JWT` 的用户登录态管理\n*  权限判断基于 `php-casbin` 的 `RBAC` 授权\n*  本项目为 `后台api服务`，`后台前端页面` 可查看 [Larke Admin Frontend](https://github.com/deatil/larke-admin-frontend) 项目\n\n\n### 环境要求\n\n - PHP \u003e= 8.2\n - Laravel \u003e= 11.0\n - Fileinfo PHP Extension\n\n\n### 截图预览\n\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"login\" src=\"https://user-images.githubusercontent.com/24578855/103483910-8cec8780-4e25-11eb-93c5-ea7ce7a09b60.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"index\" src=\"https://user-images.githubusercontent.com/24578855/105568367-cacd3380-5d73-11eb-98ab-55701d0068ed.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"admin\" src=\"https://user-images.githubusercontent.com/24578855/101988564-6bd8c100-3cd5-11eb-8524-21151ba3b404.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"admin-access\" src=\"https://user-images.githubusercontent.com/24578855/103433753-db393500-4c31-11eb-8d8a-b40dfa0db84e.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"attach\" src=\"https://user-images.githubusercontent.com/24578855/101988566-6da28480-3cd5-11eb-9532-69d88b2f598d.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"config\" src=\"https://user-images.githubusercontent.com/24578855/101988567-6e3b1b00-3cd5-11eb-8799-66e8ebec6020.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"menus\" src=\"https://user-images.githubusercontent.com/24578855/101988573-71cea200-3cd5-11eb-8e8b-e80ab319b216.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n        \u003ctd width=\"50%\"\u003e\n            \u003ccenter\u003e\n                \u003cimg alt=\"rule2\" src=\"https://user-images.githubusercontent.com/24578855/102609155-f9992e00-4165-11eb-93ad-82275af134ab.png\" /\u003e\n            \u003c/center\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n更多截图 \n[Larke Admin 后台截图](https://github.com/deatil/larke-admin/issues/1)\n\n\n### 安装步骤\n\n1. 首先安装 `laravel` 框架，并确认连接数据库的配置没有问题，开始执行以下命令\n\n```php\ncomposer require lake/larke-admin\n```\n\n2. 运行下面的命令安装完成系统\n\n```php\nphp artisan larke-admin:install\n```\n\n安装完成系统后\n\n你需要复制 `config/larkeadmin.php.larke` 重命名为 `config/larkeadmin.php`，\n\n复制 `config/larkeauth.php.larke` 重命名为 `config/larkeauth.php`，\n\n复制 `larkeauth-rbac-model.conf.larke` 重命名为 `larkeauth-rbac-model.conf`\n\n3. 如果需要重新获取配置文件，可以运行下面的命令，推送配置文件\n\n```php\nphp artisan vendor:publish --tag=larke-admin-config\n```\n\n如果文件已存在，请根据情况复制内容到对应配置文件\n\n4. 你可能第一次安装需要运行以下命令导入路由权限规则\n\n```php\nphp artisan larke-admin:import-route\n```\n\n5. 后台登录账号及密码：`admin` / `123456`\n\n\n### 扩展推荐\n\n| 名称 | 描述 |\n| --- | --- |\n| [系统通用配置](https://github.com/deatil/larke-configs) | 自定义数据配置，将配置信息统一到一个表 |\n| [操作日志](https://github.com/deatil/larke-operation-log) | 记录 admin 系统的相关操作日志 |\n| [签名证书](https://github.com/deatil/larke-admin-signcert) | 生成 RSA, EdDSA, ECDSA 等非对称签名证书 |\n| [日志查看器](https://github.com/deatil/larke-admin-logviewer) | laravel 日志查看扩展 |\n| [demo](https://github.com/deatil/larke-admin-demo) | 扩展示例 |\n\n注：扩展目录默认为 `/extension` 目录\n\n\n### 库推荐\n\n| 名称 | 描述 |\n| --- | --- |\n| [JWT国密SM2驱动](https://github.com/deatil/larke-jwt-sm2) | larke-admin 后台管理系统 JWT 的 SM2 驱动 |\n\n\n### 特别鸣谢\n\n感谢以下的项目,排名不分先后\n\n - laravel/framework\n\n - casbin/casbin\n\n - composer/semver\n\n - phpseclib/phpseclib\n \n - PclZip\n\n\n### 开源协议\n\n*  `larke-admin` 遵循 `Apache2` 开源协议发布，在保留本系统版权的情况下提供个人及商业免费使用。 \n\n\n### 版权\n\n*  该系统所属版权归 deatil(https://github.com/deatil) 所有。\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeatil%2Flarke-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeatil%2Flarke-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeatil%2Flarke-admin/lists"}