Download the PHP package zkuyuo/airs without Composer
On this page you can find all versions of the php package zkuyuo/airs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package airs
airs
是基于 Laravel 开发的 Admin (https://github.com/zkuyuo/airs) 的服务端。
要求
- Laravel >= 7.0.0
- PHP >= 7.2.0
安装
首先安装laravel,并且确保你配置了正确的数据库连接。
然后运行下面的命令来发布资源:
命令执行成功会生成配置文件,数据迁移和构建SPA的文件。
修改 app/Http/Kernel.php
:
执行数据迁移,数据填充
后台登录的账号 admin
, 密码 secret
路由中间件
- auth:sanctum 用于鉴权
- .permission 权限验证
airs.php 可选配置
依赖扩展包
- spatie/laravel-permission
- laravel/sanctum
常见错误
- csrf token missing or incorrect , 请修改 sanctum.php 中的
stateful
, 如 vite 使用的localhost:3000
去除即可。更多详细请访问laravel/sanctum
文档。
All versions of airs with dependencies
PHP Build Version
Package Version
The package zkuyuo/airs contains the following files
Loading the files please wait ....