早睡早起,方能养生!
Sleep early rise early, square can preserve one's health!

ThinkPHP 常用语句

super
2020-05-18 17:55
views 929

安装ThinkPHP 5.1.39 (cmd 根目录

composer create-project topthink/think:5.1.39 newfolder    (newfolder文件夹名 自动创建)


ThinkPHP5+ 创建新模块 (cmd

php think build --module admin    (admin:模块名)


使用阿里云源 ( -g 为全局设置)

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer config repo.packagist composer https://mirrors.aliyun.com/composer/


ThinkPHP5+ 验证码 (cmd 根目录 非public

(TP5.1.35 致命错误: Class 'think\captcha\Captcha' not found的解决方法)

composer require topthink/think-captcha=2.0.*


安装PHPExcel

composer require phpoffice/phpexcel


安装jwt

composer require firebase/php-jwt






分享
0 条讨论
top