Rather then reinventing the wheel, we have taken the commonly discussed and adopted PHP standard recommendations (PSR), maintained by the PHP Framework Interoperability Group (PHP-FIG), and customised them for our purposes and toolchains.
As clearly stated by the PHP-FIG, their standardisation efforts target a closed set of PHP projects:
Our main audience is each other, but we’re very aware that the rest of the PHP community is watching. If other folks want to adopt what we’re doing they are welcome to do so, but that is not the aim.
While we adhere to the majority of the commonalities they have standardised, some are considered -- for our purposes, non practical or in violation of our quality assurance and code base, as established, and evolved, over almost four decades, and being used in many different programming languages. Hence the purpose of this repository to amend their works accordingly.
This is made available primarily for our staff, partners, and other contributors on public or private projects we manage. As such it is a reference and not really open to debat. Nonetheless, we are open to discuss some standards which seem to go against so-called industry standards and best practices -- for instance the archaic 80 columns rule. Don't fall in the trap of simply stating your opinion; discussion is about experience, facts, and figures. We will respond to such discussions on a best effort basis.
ID | Title | FIG status | ISLE status |
---|---|---|---|
0 | Deprecated | Cf. PSR4 | |
1 | Basic Coding Standard | Accepted | Proof reading |
2 | Deprecated | n/a | |
3 | Logger Interface | Accepted | Proof reading |
4 | Autoloading Standard | Accepted | Proof reading |
5 | PHPDoc Standard | Draft | Proof reading |
6 | Caching Interface | Accepted | Proof reading |
7 | HTTP Message Interface | Accepted | Proof reading |
8 | Abandoned | n/a | |
9 | Abandoned | n/a | |
10 | Abandoned | n/a | |
11 | Container Interface | Accepted | Proof reading |
12 | Extended Coding Style Guide | Accepted | Proof reading |
13 | Hypermedia Links | Accepted | Proof reading |
14 | Event Dispatcher | Accepted | Proof reading |
15 | HTTP Handlers | Accepted | Proof reading |
16 | Simple Cache | Accepted | Proof reading |
17 | HTTP Factories | Accepted | Proof reading |
18 | HTTP Client | Accepted | Proof reading |
19 | PHPDoc tags | Draft | Proof reading |
20 | Clock | Draft | Proof reading |