What is "pear"

Definition of PEAR

PEAR (PHP Extension and Application Repository) is a framework and distribution system for coding components in PHP. The project was founded in 1999 by Stig S. Bakken to promote code reuse. The PEAR library can be used, but not by accessing the server’s global library.

PEAR requires each package to have a specific structure, which means that the package author must prepare it to be used with PEAR. Unable to use a project that has not been prepared for PEAR.

PEAR installs packages globally, meaning once installed they are available for all projects on the server. This may be good if many projects depend on the same packages with the same versions, but this can cause problems if there are version conflicts between projects.

Links Úteis