본문 바로가기

PHP

모던 PHP, PSR, clean code

모던 PHP

오래전에 쓰여진 코드들은 정상 동작하지 않거나, 보안취약점이 있거나, 잘못된 방식으로 작성하는 경우가 있습니다.

모던 php는 이런 관습적인 코드를 타파하고 php를 개발하는 모든 개발자들 공통적인 코드로 개발하며 현대적인 방식으로 php를 개발 하기 위한 것입니다. 

 

모던 PHP 조건

- 최신버전의 PHP

- PSR(표준권고) 준수

- 패키지 매니저

 

https://www.php-fig.org/psr/psr-1/

 

PSR-1: Basic Coding Standard - PHP-FIG

PSR-1: Basic Coding Standard

www.php-fig.org

 

https://github.com/yujineeee/clean-code-php

 

GitHub - yujineeee/clean-code-php: :bathtub: Clean Code PHP 한글판

:bathtub: Clean Code PHP 한글판. Contribute to yujineeee/clean-code-php development by creating an account on GitHub.

github.com