The Composer settings ignore version matching execution composer install encountered an error: Your requirements cocould not be resolved to an installable set of packages. this is because it does not match the version required by composer. json.
The complete error is as follows:
vagrant@homestead:/usr/share/nginx/html/laravel-blog$ sudocomposerinstallLoading
A dependency management tool for PHP Composer 1: Download
curl -sS https://getcomposer.org/installer | php
Or
php -r "readfile('https://getcomposer.org/installer');" | php
2: move to the bin directory and use the composer command each time.
mv composer.phar /usr/local/bin/composer
View version
composer -V
3.
The example in this article describes how to install the Yii framework using composer. Share to everyone for your reference, specific as follows:
It is now popular to install the PHP framework using composer, composer is the tool that PHP uses to manage dependencies, yii,laravel, seven cows, etc. frameworks or services are used
[PHP] Composer entry-level practice it is necessary to mention with many beginners that the development trend of Web is getting closer and closer to integration and automation. The reason why Node. js is so popular is that npm has a great deal of credit and has played a very convenient and efficient development form for developers. Therefore, PHP also came into being Composer for dependency management. Ther
In Windows, you first need to download and run Composer-setup.exe
1. Download composer.exeDownload URL : https://getcomposer.org/download/650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/8A/10/wKioL1glh9bAvo8mAAD2kh5aC1U761.jpg "title=" 0.jpg " alt= "Wkiol1glh9bavo8maad2kh5ac1u761.jpg"/>2. Enable OpenSSL support for PHPModify the PHP installation directory php.ini files, such as:D:\appSer\php5, configuration file php.ini,Remove the co
I YII2.0 frame installation experience, said many are tears, direct, encountered problems, to share, do not like to sprayFirst , in the installation of YII2.0 we need to download a composer, what is composer, simply interpreted as a PHP component tool, Composer is the tool used in PHP to manage dependency (dependency) relationships, You can declare your depende
The latest version 1.2.1 on github installed by fxpcomposer-asset-plugin and composer is also the latest version {code ...} the download source has been changed to a domestic image, and the basic package {code...} is installed ...} this error is reported every time, and it cannot be solved after a long time. I have already tried it online.
Fxp/composer-asset-pluginInstall the latest version on github1.2.1,
Title, I'm a little confused, who can say it carefully:
1, the difference between psr-0 and psr-4 in composer;
2, the difference between the psr-0 norm and the psr-4 norm;
3, composer and Php-fig, who indulge who.
Reply content:
Title, I'm a little confused, who can say it carefully:1, the difference between psr-0 and psr-4 in composer;2, the difference betw
There is a pear library and a composer library, which of the two libraries has more content? is the reliance on management the choice of Paer or composer?
What is the difference between pear and composer?
Reply content:
There is a pear library and a composer library, which of the two libraries has more content? is
The detailed error message is as follows:$ Composer updateLoading composer repositories with package informationUpdating dependencies (including require-dev)PHP Fatal error: Allowed memory size of 536870912 bytes exhausted(Tried to allocate 32 bytes) in phar: // usr/local/Cellar/composer/1.0.0-alpha8/libexec/composer.
1, composer Chinese network: https://www.phpcomposer.com/Laravel Chinese web: https://d.laravel-china.org/2, composer is the role is to give your project management dependencies, install PHP package, without manual, Laravel and Yii framework also through its installation, requires PHP version 5.23+,3. Download under Linux:Curl-ss Https://getcomposer.org/installer | PhpGet a Composer.phar, use PHP Composer.p
would install Nginx as our web server along with the PHP tools needed to actually run the Laravel code. We also install git because composer the tool, the dependency manager for PHP that we'll use to install Laravel, would use It to pull down packages.Modify the PHP ConfigurationNow, we are the installed, we can start to configure them. We'll start with PHP, which is fairly straight forward.The first thing that we need to do are open the main PHP con
The system is centos6.5
[Root@memda www]# composer Global require "laravel/installer=~1.1" Changed current directory to/root/.composer./ Composer.json have been createdloading composer repositories with package informationupdating dependencies (including requ Ire-dev)-Installing symfony/process (v3.1.3) downloading:failed downloading:failed downloading : Failed
For modern languages, Package Manager is basically standard. Java has maven,python have Pip,ruby have Gem,nodejs have NPM. PHP is pear, but pear pits a lot:
Dependency processing prone to problems
Very complex configuration
Hard-to-use command-line interface
Fortunately, we have composer,php rely on the management of the weapon. It's open source, it's easy to use, and it's easy to submit your own package.
Installing
A git address is added to composer. json. the error message "composerupdate" is unknown. The problem is supplemented by: {code...} Therequestedpackagezcbobaecouldnotbefoundinanyversion, theremaybeatypoi...
A git address is added to composer. json. the error message "composer update" does not know why,
Question added:
Add co
Use composer to build your own PHP framework using Orm,composerorm
Review
After the first three articles on basic preparation, routing, and design mvc, we've got a PHP microarchitecture with a more complete MVC architecture, but there's something worse than a really usable framework: Database encapsulation, this article will tell you how to integrate an ORM Composer package 。
This is the last article in th
Composer is a dependency management tool for PHP, this article explains how to build a package and submit it to packagist so that others can easily use your package through composer.
There are several steps to developing the composer package:
Initializing the Composer.json file
Defining Namespaces and package names
Implementing the functionality tha
"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) automatic loading standards2. PSR-1 (Basic Coding Standard) basic coding standards3. PSR-2 (Coding style guide)
First, install PHP because composer is the tool that PHP uses to manage dependency (dependency) relationships. You can declare your dependencies on the External tool Library (libraries) in your project, and Composer will help you install these dependent library files.Select Install PHP5.6:1, pre-installation preparationBefore installing PHP, it is necessary to make sure that Apache is httpd and mysql/mariad
1, download composer:
Curl-ss Https://getcomposer.org/installer | Php
2, installation composer:
/usr/bin/php Composer.phar--version
3. Set global command
sudo mv Composer.phar/usr/local/bin/composer
4. View version:
Composer-version
5, composer will prompt you a lot of o
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.