1.0 KiB
1.0 KiB
title |
---|
Composer |
Composer
Composer is a package manager for PHP packages. You use a composer.json
file to configure the packages for a PHP project, similar to the package.json
file in NodeJS projects.
Install Composer
To install Composer, you first have to download it from getcomposer.org.
You can then install Composer locally or globally.
Install Packages
Install packages with composer install
. Composer will install the packages listed in the composer.json
file to the vendor/ folder.
composer install
More Information:
- The Composer website: getcomposer.org
- Composer's GitHub repo: composer/getcomposer
- The popular PHP package repository that Composer uses to search for packages: Packagist