An open API service indexing awesome lists of open source software.

https://github.com/ignf/php-naming-convention

[DOC] PHP - Convention de nommage
https://github.com/ignf/php-naming-convention

Last synced: 12 months ago
JSON representation

[DOC] PHP - Convention de nommage

Awesome Lists containing this project

README

          

# PHP - Convention de nommage

## Au niveau composer.json

Il est important de nommer le projet en `ignf/{component}` pour éviter l'utilisation d'un trop grand nombre de domaine sur https://packagist.org.

Ce dépôt est une exception visant à réserver l'historique `ign/` encore utilisé dans quelques projets.

## Au niveau du code

* Respecter [PHP Standard Recommendations](https://www.php-fig.org/psr/) est important pour PHP Composer et les l'autoload.
* Les [conventions Symfony](https://symfony.com/doc/current/contributing/code/conventions.html) sont recommandées