ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## composer安装 * 前提需要先配置php的环境变量 [TOC] >[info] #### window环境安装Composer * 官方下载 [https://getcomposer.org/download/](https://getcomposer.org/download/) * 将composer.phar文件拷贝到php.exe同目录下 * 在php.exe根目录下创建一个composer.bat文件 ~~~ @php "%~dp0composer.phar" %* ~~~ >[info] #### Linux环境安装Composer * 官方下载并安装 ~~~bash wget https://getcomposer.org/download/1.5.2/composer.phar mv composer.phar /usr/local/bin/composer (全局安装) composer -v ~~~ >[info] #### 切换到国内镜像 ~~~ composer config -g repo.packagist composer https://packagist.phpcomposer.com 查看:composer config -gl repo.packagist ~~~