@@ -10,7 +10,7 @@ PHP developers to choose several of these and combine them into a single project
10
10
their projects.
11
11
12
12
The [ Framework Interop Group] [ fig ] has proposed and approved a series of style recommendations. Not all of them relate
13
- to code-style, but those that do are [ PSR-1] [ psr1 ] , [ PSR-12] [ psr12 ] and [ PSR-4] [ psr4 ] . These
13
+ to code-style, but those that do are [ PSR-1] [ psr1 ] , [ PSR-12] [ psr12 ] , [ PSR-4] [ psr4 ] and [ PER Coding Style ] [ per-cs ] . These
14
14
recommendations are merely a set of rules that many projects like Drupal, Zend, Symfony, Laravel, CakePHP, phpBB, AWS SDK,
15
15
FuelPHP, Lithium, etc. are adopting. You can use them for your own projects, or continue to use your own
16
16
personal style.
@@ -22,6 +22,7 @@ applications that implement the components can have consistency even when workin
22
22
* [ Read about PSR-1] [ psr1 ]
23
23
* [ Read about PSR-12] [ psr12 ]
24
24
* [ Read about PSR-4] [ psr4 ]
25
+ * [ Read about PER Coding Style] [ per-cs ]
25
26
* [ Read about PEAR Coding Standards] [ pear-cs ]
26
27
* [ Read about Symfony Coding Standards] [ symfony-cs ]
27
28
@@ -61,6 +62,7 @@ Finally, a good supplementary resource for writing clean PHP code is [Clean Code
61
62
[ psr1 ] : https://www.php-fig.org/psr/psr-1/
62
63
[ psr12 ] : https://www.php-fig.org/psr/psr-12/
63
64
[ psr4 ] : https://www.php-fig.org/psr/psr-4/
65
+ [ per-cs ] : https://www.php-fig.org/per/coding-style/
64
66
[ pear-cs ] : https://pear.php.net/manual/en/standards.php
65
67
[ symfony-cs ] : https://symfony.com/doc/current/contributing/code/standards.html
66
68
[ phpcs ] : https://github.com/squizlabs/PHP_CodeSniffer
0 commit comments