```
composer命令
```
```
可以直接使用composer命令。
D:\\phpStudy>cd www
D:\\phpStudy\\WWW>cd 20210429
D:\\phpStudy\\WWW\\20210429>composer config -g repo.packagist composer https://mirr
ors.aliyun.com/composer/
D:\\phpStudy\\WWW\\20210429>composer require zoujingli/weopen-developer
Search for a package: zoujingli/weopen-developer
Warning from https://packagist.org: You are using an outdated version of Compose
r. Composer 2 is now available and you should upgrade. See https://getcomposer.o
rg/2
Enter the version constraint to require (or leave blank to use the latest versio
n): dev-master
Search for a package:直接回车
./composer.json has been updated
Loading composer repositories with package information
Warning from https://packagist.org: You are using an outdated version of Compose
r. Composer 2 is now available and you should upgrade. See https://getcomposer.o
rg/2
Updating dependencies (including require-dev)
\- Installing topthink/think-installer (v2.0.5)
Loading from cache
\- Installing zoujingli/wechat-developer (v1.2.31)
Downloading: 100%
\- Installing zoujingli/weopen-developer (dev-master 4d0d3c0)
Cloning 4d0d3c064e54556621453845fc65ba52de58a880
Failed to download zoujingli/weopen-developer from source: Failed to clone h
ttps://github.com/zoujingli/WeOpenDeveloper.git, git was not found, check that i
t is installed and in your PATH env.
'git' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Now trying to download from dist
\- Installing zoujingli/weopen-developer (dev-master 4d0d3c0)
Downloading: 100%
\- Installing topthink/framework (v5.1.41)
Loading from cache
Writing lock file
Generating autoload files
D:\\phpStudy\\WWW\\20210429>
```
- extend加入模块
- array_column() expects parameter 1 to be array, object given
- tp5.1安装No input file specified.
- ROOT
- wechatDeveloper
- ThinkLibrary
- 语法错误: unexpected '?'
- Cannot use object of type stdClass as array
- Invalid argument supplied for foreach()
- 常量上传
- 命名空间extend_email_Aindex
- Validate
- 'cross-env' 不是内部或外部命令,也不是可运行的程序
- 内置规则
- composer self-update
- cURL error 60: SSL certificate problem
- GuzzleHttp_Client_cookie_true
- cookies原始字符串转换为数组
- 设置cookie
- apidoc
- 原生安装tp5
- array_unique
- explode
- tp3修改密码
- tp打印SQL
- tp5一对一关联
- allowField
- array_column
- array_key_exists
- array_search
- tp5如何引入自定义函数
- with
- with闭包
- 绑定类
- composer A
- array_filter用回调函数过滤数组中的元素
- array_keys
- array_slice截取前两个
- fetch_assoc
- in_array是否存在指定的值
- is_null
- join
- krsort对数组排序
- array-udiff
- shuffle
- substr
- unset删除多维数组key
- 多维转一维函数
- 数组变成字符串implode
- 数组分割
- 数组取差集
- 随机函数array_rand
- 一维变二维
- 字符串包裹变量
- 字符串汉字截取mb_substr
- 直接使用composer命令
- 安装vendor
- composer命令
- 复制安装
- 空目录安装
- tp5cms
- tp5调试
- tp3调试
- TP5一对一关联
- SQL语句
- 清空数据
- 去重
- 去重保留最小id
- 去重匹配除数字外数据
- 事务
- tp5pdf乱码
- tp5column_tp3getFieldtrue
- php代码在线测试,php在线执行
- parent::_initialize