Composer手动安装

自动安装介绍

命令行:

  • composer require xxx/xxx 版本号

手动安装介绍

  • 1.复制扩展类的文件夹放到自己的vendor文件夹中
  • 2.拷贝同事vendor/composer 下的autoload_psr4.php和autoload_static.php 两个文件到桌面
  • 3.复制拷贝的autoload_psr4.php中的粘贴到自己的autoload_psr4.php中相同的位置
  • 4.复制拷贝的autoload_static.php中的 也添加到自己autoload_static.php中相应的位置
  • ps:注意要添加到autoload_static.php中 $prefixLengthsPsr4的对应扩展首字母的数组中

原文链接: Composer手动安装 版权所有,转载时请注明出处,违者必究。
注明出处格式:流沙团 ( https://www.gyarmy.com/post-703.html )

发表评论

0则评论给“Composer手动安装”