composer 报错: - Your requirements could not be resolved to an installable set of packages xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. Potential causes: - A typo in the package name - The pac…
Your requirements could not be resolved to an installable set of packages. 以上原因:不匹配composer.json要求的版本. 解决方案: composer可以设置忽略版本匹配, composer install --ignore-platform-reqs composer update --ignore-platform-reqs 再次执行composer命令可以正常安装包了. 原文链接:https://blog.…
composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs…
使用composer下载laravel安装程序时(composer global require "laravel/installer"),报截图中的错误. 解决: 根据提示可知,没找到php的zip扩展,可执行以下的命令,再次下载没有报错.其他扩展缺失也是执行这样的命令. sudo apt-get install php7.0-zip…
昨天使用5.3.版本的laravel框架开发公司新项目, 发现将cache和session设置为了redis,执行了一下首页访问. 如图: laravel 版本号 简单配置一下控制器路由, Route::get('home', 'HomeController@index');Route::get('/', 'HomeController@index');怎么配置控制器就不细说了.说问题重点了(敲黑板!!!!!):访问出现错误!!!说找不到一个类:找不到Class 'Predis\Client'…
今天周六,在家安装yii2的advanced版本, 过程有些坎坷, 不过最后总算安装好了. 总结一下, 主要遇到下面两个问题: 1, 下载速度慢, 主要原因是网络问题 下载yii2时, 模板(除了vendor之外的文件夹和文件)一般会很快下载下来, 但是vendor文件夹下都是yii2依赖的包, 这些包好像都存放在国外的github上, 所以下载会很慢, 有时甚至下载不下来. 这个比较好解决, 方法一: FANQIANG, 方法baidu或者google即可. 方法二: 采用国内的镜像. 第二种…
Composer简介 Composer 是 PHP 的一个依赖管理工具.它允许你申明项目所依赖的代码库,它会在你的项目中为你安装他们.Composer 不是一个包管理器.是的,它涉及 "packages" 和 "libraries",但它在每个项目的基础上进行管理,在你项目的某个目录中(例如 vendor)进行安装.默认情况下它不会在全局安装任何东西.因此,这仅仅是一个依赖管理. 执行composer install遇到错误:Your requirements co…
Do you have a confusion of how do you determine the stability when using composer dependency manager? What should be the minimum stability setting? Do you receive this dreaded error when updating via composer?     1 2 Your requirements could not be r…
./configure  '--prefix=/alidata/server/php' '--enable-opcache' '--with-config-file-path=/alidata/server/php/etc' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-fpm' '--enable-static' '--enable-inline-optimization'…
我将自己开发的微信客户端类库放到了github上面去了. 然后我在我的项目里面添加了一个composer.json文件 内容如下 { "require": { "weixin/weixin": "dev-master" }} 然后利用composer install命令下载这个类库,但是发生了以下的错误 Loading composer repositories with package information Updating dependen…
Walle 一个web部署系统工具,可能也是个持续发布工具,配置简单.功能完善.界面流畅.开箱即用! 安装步骤: 1. git clone 首先配置成功(去百度找答案) 打开git bash命令窗口执行: git clone git@github.com:meolu/walle-web.git 如下为成功后结果 2.切换目录 cd walle-web 3.配置数据库 vi config/web.php # 设置mysql连接 完成 composer 的安装 4. 先安装:composer glo…
$ composer install Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - phpunit/phpunit 5.7.5 requires php ^5.6 ||…
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem - Installation request for symfony/icu v1.2.2 ->…
$ php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.jso n. You may be getting o…
一.ubuntu下用命令查询系统版本 1.在终端中执行下列指令: cat /etc/issue 该命令可查看当前正在运行的ubuntu的版本号. 效果如图: 2.使用 lsb_release 命令也可以查看 Ubuntu的版本号,内容更加详细: sudo lsb_release -a 效果如图: 二.ubuntu下搭建web服务器(这部分网上有着诸多的教程,所以不再展示运行效果,直接上代码) 1.安装apache: sudo apt-get install apache2 2.安装mysql:…
composer install 时遇到错误: Your requirements could not be resolved to an installable set of packages. 原因是我的PHP版本是7.0的,低了,默认的是7.1版本的. 项目里composer.json的PHP要求是  "php": ">=7.0.0",所以7.0版本的也是支持的. composer可以设置忽略版本匹配,命令如下: composer install --i…
一.composer.json配置注意空格 按照极光推送官网所述,在composer.json下写入: "require": { "jpush/jpush": "^3.5" }但是linux环境下注意空格问题:若空格出问题,会报无法找到服务的错误,比如我raspberry就报如下错误: 二.执行composer install后可能会遇到 Your requirements could not be resolved to an installa…
未解决 composer installLoading composer repositories with package informationUpdating dependencies (including require-dev)Your requirements could not be resolved to an installable set of packages. Problem 1 - codeception/base 2.4.0 requires codeception/…
可以尝试利用composer下载Yii框架,编辑composer.json文件: { "require":{ "yiisoft/yii2":"~2.0.0" } } 然后在这个包含composer.json文件的目录下执行命令: composer install 然后就等待下载完成 问题零:Your requirements could not be resolved to an installable set of packages. 如果出现…
问题1: Your requirements could not be resolved to an installable set of packages 则表明 未安装fxp/composer-asset-plugin : 解决方法:控制台执行 composer global require "fxp/composer-asset-plugin:~1.0.0" 或尝试运行 composer global require "fxp/composer-asset-plugin…
报错信息: Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1 - doctrine/instantiator 1.1.0 requires php…
magento2 下载地址:https://github.com/magento/magento2/archive/develop.zip 参考地址: 版本要求 这个magento2  要选择好php的版本  下载综合版服务器时看好这个服务器支持的具体版本 下边的网站有具体的版本要求页,在此就不列出了 https://www.magentochina.org/blog/download-install-magento.html XAMPP 版本上边明确提示里边带有php的版本.我选的是支持 ph…
在虚拟机上安装了CentOs6.5在上面安装了lnmp开发集成包(php7.1),对于之前没有任何开发经验的我来说,正常且安详滴在集成环境上开发着优雅的小bug. 然而我今天在Composer拉取代码的时候,出现了问题: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/pdo/pdo_mysql.so' - /usr/local/php/lib/php/exte…
wget https://getcomposer.org/download/1.3.2/composer.phar mv composer.phar /usr/local/bin/composer chmod +x composer [root@MiWiFi-R1CL-srv bin]# su - xbl [xbl@MiWiFi-R1CL-srv ~]$ composer config -g repo.packagist composer https://packagist.phpcompose…
今天克隆代码之后,在composer install 的时候出现了一些问题,在此记录一下. 错误代码如下: [root@localhost MarketingCenter]# composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not…
执行composer install后报以下错误: Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1 - laravel/horizon v1.4.…
今天想在TP5上安装workerman,实现一个后台消息提醒功能. 第一步就卡住了,根据手册里说的首先通过composer安装 $ composer require topthink/think-worker 结果报错 $ composer require topthink/think-worker Using version ^2.0 for topthink/think-worker ./composer.json has been updated Loading composer repo…
[root@localhost dreamstart]# composer installLoading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1    -…
$ composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated de…
第一按照官网安装 : https://symfony.com/doc/current/bundles/FOSUserBundle/index.html#main 可能版本无法安装 : $ composer require friendsofsymfony/user-bundle "~1.3" ./composer.json has been updated Loading composer repositories with package information Updating d…