Home > Backend Development > PHP Tutorial > Composer Getting Started Tutorial--Installing Project Dependencies 4

Composer Getting Started Tutorial--Installing Project Dependencies 4

WBOY
Release: 2016-07-28 08:25:58
Original
832 people have browsed it

Install project dependencies

Continued from the previous article Composer Getting Started Tutorial – Writing the composer.json file (3) To write the composer.json file, execute the following command on the command line in the directory where the composer.json file is located:

<code> php composer.phar <span>install</span>或composer <span>install</span></code>
Copy after login

Installation The files after successful project dependency are as follows:
 composer入门教程--安装项目依赖4
Among them, the packages folder stores the dependent libraries of the project. composer writes the exact version number list during installation into the composer.lock file to lock composer, which will lock the specific version of the project. This The download or update command cannot be run. Only by deleting the composer.lock file can you download and update again.

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the composer introductory tutorial-installing project dependencies 4, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template