Composer Dependency Manager
Composer is the darling of PHP Dependency Manager these days. Almost everyone uses Composer on their PHP projects if it requires other frameworks / libraries.
So, as stated before, Composer is good for project based opposed to PEAR. Composer itself requires PHP version 5.3.2 and can be downloaded in one file. A PHP Archive (.phar) file.
Most people will explain that you need to create composer.json files to start. But, Composer actually have an interactive command line you can use by typing:
It will then ask some questions about the project and generate composer.json file.
Packages you can include for your project can be searched via Packagist.com website
There are quite a few tutorial to get you started on using Composer, here are a few :
- PHP Dependency Management with Composer :: SitePoint
- PHP dependency management using Composer
- Dependency Management with Composer :: SlideShare
- HANDLE YOUR DEPENDENCIES WITH PHP COMPOSER
So, if you are thinking about using Composer, the tutorials above should help you on your way.
What is your experience with Composer ?