PHP extensions are important when developing specific PHP websites. PHP Extension and Application Repository (PEAR) is a collection of PHP scripting code. It promotes the re-use of code that perform specific common functions. PEAR provides a structured library of this code and maintains a system for distributing and managing the code packages. PEAR can be used if you want to add features to your PHP website that may be too complex or time consuming for you or your programmer to develop.