• 2024-01-27thinkphp8开发简要流程
    安装,根据PHP的版本安装适合的版本composercreate-projecttopthink/thinktp开启多应用模式composerrequiretopthink/think-multi-app创建应用phpthinkbuildadminnginx配置伪静态,把下面的内容保存为nginx.htaccess文件放到应用入口public文件的同级目录下location
  • 2023-12-02tp6 composer安装workerman报错
    命令:composerrequiretopthink/think-worker错误信息:Problem1-Rootcomposer.jsonrequirestopthink/think-worker^4.0->satisfiablebytopthink/think-worker[v4.0.0].-topthink/think-workerv4.0.0requirestopthink/framework^8.0->foundtopth
  • 2023-10-07tp6的相关命令(随时更新)
    前提:执行前要在cmd下在命令行下切换到你的WEB根目录 新建一个名为tp的tp6框架composercreate-projecttopthink/thinktp 测试是否安装成功:phpthinkrun执行后在浏览器打开127.0.0.1:8000,出现下图就算成功  设置为多应用模式composerrequiretopthink/think-m
  • 2023-07-27thinkphp: thinkphp6升级到thinkphp8(8.0.1)
    一,官方文档:https://doc.thinkphp.cn/v8_0/setup.html二,查看当前的php版本是否满足升级条件:1,文档中的环境要求2,查看本地的php版本:liuhongdi@lhdpc:~$/usr/local/soft/php8/bin/php--versionPHP8.1.1(cli)(built:Dec20202116:12:16)(NTS)Copyright(c)T
  • 2023-06-02使用php easydamin
    #installcomposer[root@izbpot8zbin]#curl-sShttps://getcomposer.org/installer|phpAllsettingscorrectforusingComposerDownloading...#movefileComposer(version2.5.7)successfullyinstalledto:/usr/bin/composer.pharUseit:phpcomposer.phar[root
  • 2023-04-05thinkphp官方类库
    验证和权限控制PHP-Casbincasbin/casbin——https://github.com/php-casbin/php-casbin6.0Authorizationcasbin/think-authz——https://github.com/php-casbin/think-authz5.1访问控制库(Casbin)扩展casbin/think-adapter——https://github.com/php-casbin/think-casbinR
  • 2023-02-27thinkphp6开发cms项目之安装tp框架
    1.安装thinkphp6框架:composercreate-projecttopthink/thinktp需要安装的扩展:composerrequiretopthink/think-multi-app//多应用composerrequiretopthink/th
  • 2023-02-04【PHP 随记】—— Composer 安装项目以及项目的扩展
    文章目录​​1、Composer安装项目​​​​①项目安装示例​​​​②相关问题解决​​​​③框架搜索指南​​​​2、Composer安装项目的扩展​​使用Composer更轻松
  • 2022-12-13thinkphp6 json(captcha())为空
    首先:composerrequiretopthink/think-captchav3.0.8  把这张图片下载,后缀名png改成zip,解压到:vendor/topthink