Download the PHP package ctfang/swoft-admin without Composer
On this page you can find all versions of the php package ctfang/swoft-admin. 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 swoft-admin
swoft-admin
swoft的web开发辅助工具
安装
composer require ctfang/swoft-admin
下载主干 composer require ctfang/swoft-admin dev-master
配置
在 app/bean.php
新增
'adminServer' => [
'class' => AdminServer::class,
'port' => 18366,
'on' => [
SwooleEvent::REQUEST => bean(RequestListener::class),
],
/* @see HttpServer::$setting 静态文件配置 */
'setting' => [
'enable_static_handler' => true,
'document_root' => __DIR__."/../vendor/ctfang/swoft-admin/public/",
]
],
修改 .env 配置
默认 ADMIN_WEB = http://127.0.0.1/public/
# 设置ip访问限制 (默认不限制)
ADMIN_ALLOW="*.*.*.*"
# 打开登录开关 (默认登录后才能访问)
ADMIN_ENABLE_LOGIN=1
# 配置静态文件地址
ADMIN_WEB="http://127.0.0.1:18366/"
启动
php bin/swoft admin:start
如果需要在 http:start
也能访问,需要设置 .env
``
访问,默认账号密码 username = admin ; password = 123456
修改密码
复制文件 vendor/ctfang/swoft-admin/src/Config/user.config.php
到 @config/__admin.php@config/__admin.php
计划
- [x] 控制器展示&创建
- [x] 中间件展示&创建
- [x] 路由导出postmen
- [x] Model目录展示&创建
- [x] 定时器展示
- [x] 命令展示&创建
- [x] Web Terminal
- [x] 控制器代码查看
- [x] Logs查看
- [ ] 第三方登录模拟
- [x] 启动&关闭http
- [x] 界面创建路由(空函数)
- [ ] 配置查看
- [ ] 进程信息
All versions of swoft-admin with dependencies
PHP Build Version
Package Version
The package ctfang/swoft-admin contains the following files
Loading the files please wait ....