Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between composer and pear [duplicate]

What is the basic difference between composer and pear. On pear official site it is stated that now people are shifting towards composer but I read on this site that composer is packager and pear is dependency manager.

like image 925
Bhaskar Avatar asked Jul 31 '26 03:07

Bhaskar


1 Answers

This website seems to answer your question rather clearly:

https://williamjxj.wordpress.com/2014/02/22/php-pear-and-composer-2/

It says that PEAR is a package manager for the whole system, whereas Composer is a dependency manager for individual projects and doesn't install anything globally but only locally for individual projects.

This has actually been asked before, it was also answered very well. Here is the question: What is the difference between PEAR and Composer?

like image 114
ADJenks Avatar answered Aug 01 '26 18:08

ADJenks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!