Download the PHP package comingdemon/admin-thinkphp without Composer
On this page you can find all versions of the php package comingdemon/admin-thinkphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download comingdemon/admin-thinkphp
More information about comingdemon/admin-thinkphp
Files in comingdemon/admin-thinkphp
Download comingdemon/admin-thinkphp
More information about comingdemon/admin-thinkphp
Files in comingdemon/admin-thinkphp
Vendor comingdemon
Package admin-thinkphp
Short Description Universal PHP admin quick development library for thinkphp
License MIT
Homepage http://www.m-create.cn
Package admin-thinkphp
Short Description Universal PHP admin quick development library for thinkphp
License MIT
Homepage http://www.m-create.cn
Keywords thinkphp-admincomingdemon
Please rate this library. Is it a good library?
Informations about the package admin-thinkphp
PHP Demon Admin Library For ThinkPHP
服务说明
本服务仅支持ThinkPHP6+
正常来说是内部开发使用的,外部使用也可以(水平有限,请慎用,可能会有漏洞或者性能问题)
使用的Bootstrap4作为基础前端框架,jQuery版本为3.5
前置说明
-
入口文件手动修改
-
命令行入口文件手动修改
-
需要保持路由状态开启
- 多应用模式下参数调整(指安装了topthink/think-multi-app)
安装说明
- 使用composer安装服务
- 设置admin的数据库连接(默认是admin,单库则设置为mysql即可)以及相关database配置
- 执行命令生成建表迁移文件
- 执行迁移动作生成对应表和初始数据
- 设置静态资源文件目录(不用写public)
- 发布资源到对应目录,设置访问路径(默认是admin)
- 设置静态资源CDN(默认没有,只读本地)
- 大功告成
- 可以在vendor/comingdemon/admin-thinkphp目录中查看源码用于参考或调试
- composer require comingdemon/admin-thinkphp
- edit.env ([ADMIN]ADMIN_CONNECTION) or add config/admin.php (edit connection, default : admin)
- edit config/database.php : connections add {connection}
- php think admin:table
- edit.env ([ADMIN]ADMIN_STATIC) or add config/admin.php (edit static, default : /static/admin)
- php think admin:publish --tag=admin-all (If only the asset is updated later, --tag=admin-asset)
- edit.env ([ADMIN]ADMIN_PATH) or add config/admin.php (edit path, default : admin)
- edit.env ([ADMIN]ADMIN_CDN) or add config/admin.php (edit cdn, default : )
- browser url {address}/admin or {path}
进阶操作
- config('admin.access') = env('ADMIN.ADMIN_ACCESS', false) //开启权限校验(需要数据库支持,默认账号:admin,默认密码:demon)
- config('admin.authentication') = env('ADMIN.ADMIN_AUTHENTICATION') //自定义授权控制器
- config('admin.badge') = env('ADMIN.ADMIN_BADGE') //自定义菜单标记统计的类
- config('admin.session.*') = env('ADMIN.ADMINSESSION*') //设置session配置(和laravel自带的session一致)
- config('admin.element.*') = env('ADMIN.ADMINELEMENT*') //设置页面元素对应的视图
特殊申明
本库已发布至Composer,理论上只内部使用,如有问题请自行解决,概不提供服务
最终解释权归魔网天创信息科技:尘兵所属
All versions of admin-thinkphp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
topthink/framework Version >=6.0
comingdemon/demon Version ^1.0.3
comingdemon/admin-asset Version ^1.0
gregwar/captcha Version ^1.1.9
phpoption/phpoption Version ^1.7
vlucas/phpdotenv Version 4.0
phpoffice/phpspreadsheet Version ^1.16
illuminate/contracts Version ^6.0 || ^7.0
illuminate/events Version ^6.0 || ^7.0
illuminate/filesystem Version ^6.0 || ^7.0
illuminate/view Version ^6.0 || ^7.0
topthink/framework Version >=6.0
comingdemon/demon Version ^1.0.3
comingdemon/admin-asset Version ^1.0
gregwar/captcha Version ^1.1.9
phpoption/phpoption Version ^1.7
vlucas/phpdotenv Version 4.0
phpoffice/phpspreadsheet Version ^1.16
illuminate/contracts Version ^6.0 || ^7.0
illuminate/events Version ^6.0 || ^7.0
illuminate/filesystem Version ^6.0 || ^7.0
illuminate/view Version ^6.0 || ^7.0
The package comingdemon/admin-thinkphp contains the following files
Loading the files please wait ....