PSR Compliance
caution
#
Warning! ๐ง WIP!The PHP-FIG was created in 2009 to help make code more interoperable between frameworks by ratifying Interfaces, style guides, and more that members were free to implement or not. While Pesa PHP SDK is not a member of the FIG, we are compatible with a number of their proposals. This guide is meant to list the status of our compliance with the various accepted, and some draft, proposals.
#
PSR-1: Basic Coding StandardThis recommendation covers the basic class, method, and file-naming standards. Our style guide meets PSR-1 and adds its own requirements on top of it.
#
PSR-2: Coding Style GuideThis PSR was fairly controversial when it first came out. Pesa PHP SDK meets many of the recommendations within, but does not, and will not, meet all of them.
#
PSR-4: Autoloading StandardThis PSR provides a method for organizing files and namespaces to allow for a standard method of autoloading classes. Our Autoloader meets the PSR-4 recommendations.
โ
If you find any places that we claim to meet a PSR but have failed to execute it correctly, please let us know and we will get it fixed, or submit a pull request with the required changes.