About composer--long time no hands ... , composer hands-on.
June the first "blood"
Reading, found like starting from the end of reading, and then the PHP classic example, the last chapter is pear content, know about a check, end, outdated, is completely composer, then learn a bit
One, what?
Bottom line: rely on management tools;
Explanation: Convenient for you to download the Library AH package ah what, the basic special belongs to PHP;
http://baike.baidu.com/link?url=Ql801yyOyi3P-8KVDTNst2eg2nq797pJQBrTB8GFZ6ga2gc68LKhIewpOk_D8BrrnACIM83yH6oxrXlNGVWJ8a
In addition, what depends on management, is a name, but it seems to have a deep meaning: look at this http://www.infoq.com/cn/news/2011/05/ci-dependency-management/#anch68966
Second, installation
http://www.phpcomposer.com/
According to this, the installation of their own system to do is good, need to know that this thing is implemented in the command line;
My wamp, directly has the. exe, and then installed to find Composer.phar file backup ;
Third, the use
It is recommended to look at the IMOOC of a yii framework in the tool section of this article: http://www.imooc.com/learn/520
The key point is how to use: CD to project file/create project folder, then. phar File path/composer.phar install Yiisoft/yii 1.0.2
Other in-depth to study on their own.
A few common situations: problems that occur when you need to install jquery packages, and support for the response package download page: For example, YII2
In addition, when you need the token of GitHub's API, go to GitHub to generate one, copy it over once;
In addition, each interruption will cause the file transfer failure, before executing the command, please delete the file just now;
In addition, it is best to match a good Chinese image, a speed, or outside the network, you understand ... Specific words packagist Chinese network are: http://www.phpcomposer.com/
Configuration here, a command is done, like this acid cool: http://pkg.phpcomposer.com/
composer config -g repo.packagist composer https://packagist.phpcomposer.com
Last previous procedure:
Above, but recently really is too lazy ...
http://www.bkjia.com/PHPjc/1133537.html www.bkjia.com true http://www.bkjia.com/PHPjc/1133537.html techarticle about composer--long time no hands ... , composer hands-on. June First Blood reading, found like starting from the end of reading, and then the PHP classic example, the last chapter is pear content, ...