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
- Host: GitHub
- URL: https://github.com/ignf/php-naming-convention
- Owner: IGNF
- Created: 2022-05-13T15:42:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-13T15:42:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-16T09:55:59.327Z (about 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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