composer
明日晴空
加油啦~
展开
-
php 新建目录底下文件不执行原因
看一下compose.json文件,找到autoload,需要为新建的目录配置自动加载 配置完成后,执行 composer install 然后再允许即可原创 2022-02-22 18:21:22 · 252 阅读 · 0 评论 -
php版本升级,composer install / update 失败
composer install / update 出现以下类似问题: Problem 1 - bacon/bacon-qr-code 2.0.0 requires php ^7.1 -> your php version (8.0.3) does not satisfy that requirement. - simplesoftwareio/simple-qrcode 3.0.0 requires bacon/bacon-qr-code 2.0.0 -> satisfia...原创 2021-03-17 14:40:35 · 1509 阅读 · 0 评论 -
如何创建自己的composer包
前提条件:环境已安装了composer 一、创建一个空的目录。 二、创建composer包 进入命令窗口,切换到刚新创建的目录位置,运行以下命令,初始化composer包 composer init 命令窗口返回提示; This command will guide you through creating your composer.json config.` Package name (&l...原创 2019-11-24 00:18:50 · 1157 阅读 · 0 评论 -
Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable)
** composer require xx/xx 报错 ** Could not find a version of package tomorrow-sky/test matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stab...原创 2019-11-22 16:29:27 · 2332 阅读 · 0 评论