The execution composer install encountered an error: Your requirements could is resolved to a installable set of packages. This is because it does not match the version requested by Composer.json.
The complete error is as follows:
Php
vagrant@homestead:/usr/share/nginx/html/laravel-blog$ sudo composer installLoading Composer repositories with package informati
Preface:
This blog is mainly to introduce composer installation and use, and load Phpmailer code library as an example for everyone to do a demo.
Environment: Centos7 + LAMP
Because of the example involved in PHP email, so before starting this blog, we suggest that you first read my previous blog: "PHP use Phpmailer with QQ mailbox implementation of email ," A, prepare to work:
Now we create a new testmail directory in the WWW directory, create a new
There is a pear library and a composer library. Who has more content in these two libraries? Does dependency management choose paer or composer? What is the difference between pear and composer? There is a pear library and a composer library. Who has more content in these two libraries? Does dependency management choos
We often add expansion packs to existing projects, sometimes because of incorrect documentation, such as from this document:composer updateThis command, in our present logic, can cause great damage to the project.Because composer update the logic is to update all expansion packs to the latest version according to the extension package version rules specified by Composer.json, note 所有扩展包 that, for example, you used monolog at the beginning of the pr
Original address: http://muxucao.cn/news-132.htmlUsage:There are two ways to enable this mirroring service:1 Add the following configuration information to the Composer configuration file Config.json (System global Configuration). See "Example 1"2 Add the following configuration information to your project's Composer.json file (configured for a single project). See "Example 2"In order to avoid the installation of the package two times to execute the q
: This article mainly introduces how to change the configuration of the domestic Image website when the composer is not updated successfully. if you are interested in the PHP Tutorial, refer to it. Usage:
You can enable the image service in either of the following ways:
Add the following configuration information to the configuration file config. json of Composer (global configuration of the system ). Se
In Windows, Composer depends on the Controller to download the pure version of laravel and composerlaravel.
Install Composer:Download composer. phar to the project and create composer. bat and composer. json in the same level directory.
In composer. bat, enter
@php "%~dp0com
"The time has come for Composer eminence!" 』
--Bai Yansong
"An era is over and another era begins. ”
Framework Interoperability Group (framework Interoperability Group), referred to as FIG, was established in 2009. The FIG was originally initiated by several well-known PHP framework developers, and after absorbing many excellent brains and strong physique, PSR-0 to PSR-4 five sets of PHP unofficial specifications:
1. PSR-0 (autoloading standard) auto
Usage:There are two ways to enable this mirroring service:
Add the following configuration information to the Composer configuration file Config.json (System global Configuration). See "Example 1"
Add the following configuration information to your project's Composer.json file (configured for a single project). See "Example 2"
in order to avoid the installation of the package two times to execute the query, remember to add t
What is the Application Scenario of php Composer? I have read the documentation, but I have not understood the php Composer. I have not read the documentation.
Reply content:
Php Composer does not understand the Application Scenario or the document.
Composer is a php package management system.
Use ORM and composerorm to build your own PHP framework with Composer. Using Composer to build your own PHP framework using ORM, composerorm review after the basic preparation of the first three articles, build routing and design MVC, we have obtained a structure comparison using Composer to build our own PHP framework using ORM and composerorm.
Review
After the
OneDownload Composer.pharHttp://pan.baidu.com/s/1nuDQBzzCMD command line switch to the Composer.phar file directoryRun:Modify the system environment variable to add the current directory to use the composer command in the global environmentTwoDownload the certificate filehttp://pan.baidu.com/s/1qYBsR96Modify PHP.ini at the same timeSearch SSL in Ctrl+f and modifyOpenssl.cafile= D:/www/cacert.pemChange based on personal directoryThreeRun
Problem description
We often add expansion packs to existing projects, sometimes because of incorrect documentation, such as from this document:
Composer Update This command may cause significant damage to the project in our current logic.
Because the logic of composer update is to update all expansion packs to the latest version with the extension package version rules specified by Composer.json, note
Use the Curl command to download:Curl-ss Https://getcomposer.org/installer | Phpor Curl-ss-k Https://getcomposer.org/installer | PhpOr if there is no installation curl, you can also download it using PHP commands:Php-r "ReadFile (' Https://getcomposer.org/installer ');" | Phpor manually download the Composer.pharWhen you download the Composer.phar, you can put it in the directory, but each time you create a new directory, you have to copy a copy to the new directory, which is more troublesome. S
Follow the instructions in the Document. 1. First install composer and then download the laravel installation package: composerglobalrequire quot; laravelinstaller ~ 1.1 quot; Command executed successfully. 2. Change the directory ~. Add composervendorbin to system environment variables. 3. Run laravelnewtest,
1. First install composer and then download the laravel installation package:composer global re
The examples in this article describe the method of installing the Yii framework using composer. Share to everyone for your reference, as follows:
It is now popular to use composer to install the PHP framework, composer is the tool that PHP uses to manage dependencies, yii,laravel, seven cows and other frameworks or services use
Usage:
There are two ways to enable this mirroring service:
Add the following configuration information to the Composer configuration file Config.json (System global Configuration). See "Example 1"
Add the following configuration information to your project's Composer.json file (configured for a single project). See "Example 2"
in order to avoid the installation of the package two times to execute the query, remember to add the disa
We are developing a blog plug-in. we need to use this project Parser. how can we reference this project in the PHP file in an environment without composer, or directly install composer and this library in the PHP file? We are developing a blog plug-in. we need to use this project Parser. how can we reference this project in the PHP file in an environment without compose
By configuring the classes and namespaces that need to be loaded in the Composer.json file, the mapping of the class name and the corresponding class file is automatically generated by executing the composer Install command, and then by registering the LoadClass method, Realize the automatic loading of many classes of composer management;
How do I configure classes and namespaces in the Composer.json file?
is developing the blog plug-in, need to use this project parser, how to reference the project in a php file without composer, or directly in the PHP file to install composer and this library do?
Reply content:
is developing the blog plug-in, need to use this project parser, how to reference the project in a php file without composer, or directly in the PHP f
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.