The PEAR coding standard is the most prevalent among the PHP community. The latest version ensures great flexibility for developer style. However, it’s good practice for PHP developers to follow the PEAR coding standards which will ensure better readability and consistency of coding among the members who are developing the software.
Maintaining the best PEAR coding standard is a must for PHP developers who are building packages for official PEAR distributions. However, it is a good practice for PHP software/application developers to follow these PEAR coding standards. Following a unified coding standard ensures consistency and better readability of the codes. Also, when working on larger projects with multiple developers, it helps to keep the diffs fewer in a version control system. Read more