Files
php-the-right-way/_posts/04-01-01-Dependency-Management.md
2025-03-02 22:25:04 +01:00

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