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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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

前置说明

  1. 入口文件手动修改

  2. 命令行入口文件手动修改

  3. 需要保持路由状态开启

  4. 多应用模式下参数调整(指安装了topthink/think-multi-app)

安装说明

  1. 使用composer安装服务
  2. 设置admin的数据库连接(默认是admin,单库则设置为mysql即可)以及相关database配置
  3. 执行命令生成建表迁移文件
  4. 执行迁移动作生成对应表和初始数据
  5. 设置静态资源文件目录(不用写public)
  6. 发布资源到对应目录,设置访问路径(默认是admin)
  7. 设置静态资源CDN(默认没有,只读本地)
  8. 大功告成
  9. 可以在vendor/comingdemon/admin-thinkphp目录中查看源码用于参考或调试
  1. composer require comingdemon/admin-thinkphp
  2. edit.env ([ADMIN]ADMIN_CONNECTION) or add config/admin.php (edit connection, default : admin)
  3. edit config/database.php : connections add {connection}
  4. php think admin:table
  5. edit.env ([ADMIN]ADMIN_STATIC) or add config/admin.php (edit static, default : /static/admin)
  6. php think admin:publish --tag=admin-all (If only the asset is updated later, --tag=admin-asset)
  7. edit.env ([ADMIN]ADMIN_PATH) or add config/admin.php (edit path, default : admin)
  8. edit.env ([ADMIN]ADMIN_CDN) or add config/admin.php (edit cdn, default : )
  9. browser url {address}/admin or {path}

进阶操作

  1. config('admin.access') = env('ADMIN.ADMIN_ACCESS', false) //开启权限校验(需要数据库支持,默认账号:admin,默认密码:demon)
  2. config('admin.authentication') = env('ADMIN.ADMIN_AUTHENTICATION') //自定义授权控制器
  3. config('admin.badge') = env('ADMIN.ADMIN_BADGE') //自定义菜单标记统计的类
  4. config('admin.session.*') = env('ADMIN.ADMINSESSION*') //设置session配置(和laravel自带的session一致)
  5. 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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package comingdemon/admin-thinkphp contains the following files

Loading the files please wait ....