[PHP] composer 설치

2023. 5. 6. 18:39PHP

작성일 : 2020. 12. 5.

 

요즘 Python 과 PHP 를 함께 보다 보니 json_dump(), print_r() 등 헷갈리는 게 한 두 가지가 아니다.

요 며칠 전에 Docker 에서 Compose 를 보았는데, PHP 에도 이름과 기능이 유사한 Composer 유틸리티가 있다.

java 로 치면 Maven, Gradle 같은 존재인가 보다.

 

참고 문서 : getcomposer.org/download/

 

Composer

Download Composer Latest: v2.0.8 To quickly install Composer in the current directory, run the following script in your terminal. To automate the installation, use the guide on installing Composer programmatically. php -r "copy('https://getcomposer.org/ins

getcomposer.org

composer  자동설치하는 방법 : getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md

 

How do I install Composer programmatically? - Composer

How do I install Composer programmatically?# As noted on the download page, the installer script contains a checksum which changes when the installer code changes and as such it should not be relied upon in the long term. An alternative is to use this scri

getcomposer.org

.