Home>Article>Development Tools> The difference between composer and git
The difference between composer and git
Composer is a dependency management tool for PHP. We can declare the external tool libraries we depend on in the project, and Composer will help you install these dependent library files. With it, we can easily use one command to reference other people's excellent code into our project. .
Composer is not installed globally by default, but is installed based on a directory of a specified project (such as vendor).
Composer requires PHP 5.3.2 or above, and openssl needs to be turned on.
Composer can run on Windows, Linux and OSX platforms.
Related recommendations: [Composer Tutorial]
git
Git is an open source distributed version control system that can Handle version management of projects from very small to very large efficiently and at high speed.
Git is an open source version control software developed by Linus Torvalds to help manage Linux kernel development.
Torvalds started developing Git as an interim solution to replace BitKe.
The biggest difference between distributed and centralized is that developers can submit locally, and each developer copies a complete Git repository on the local machine through cloning (git clone).
The above is the detailed content of The difference between composer and git. For more information, please follow other related articles on the PHP Chinese website!