3

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.

Bhaskar
  • 37
  • 4

1 Answers1

1

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?

Community
  • 1
  • 1
ADJenks
  • 2,973
  • 27
  • 38