mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-12 00:33:58 +02:00
18 lines
809 B
Markdown
18 lines
809 B
Markdown
---
|
|
anchor: dependency_management
|
|
---
|
|
|
|
# Dependency Management {#dependency_management_title}
|
|
|
|
There are a ton of PHP libraries, frameworks, and components to choose from. Your project will likely use
|
|
several of them — these are project dependencies. PHP did not have a good way to manage
|
|
these project dependencies. Even if you managed them manually, you still had to worry about autoloaders.
|
|
That is no longer an issue.
|
|
|
|
Currently there are two major package management systems for PHP - [Composer] and [PEAR]. Composer is currently
|
|
the most popular package manager for PHP, however for a long time PEAR was the primary package manager in use.
|
|
Knowing PEAR's history is a good idea, since you may still find references to it even if you never use it.
|
|
|
|
[Composer]: /#composer_and_packagist
|
|
[PEAR]: /#pear
|