PHP/Setting

PHP 컴포저 설치 (Composer)

DSeung 2022. 8. 28. 09:52

Composer 설치

컴포저는 PHP 의존성 관리 도구로 쉽게 외부 라이브러리를 사용 및 업데이트를 할 수 있도록 지원해주는 툴입니다.

https://getcomposer.org/download/

 

Composer

Download Composer Latest: v2.4.1 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-Setup.exe를 다운로드하여 주시면 됩니다.

 

다운로드한 파일을 실행 후  next를 눌러줍시다.

입력해야 할 값은 php.exe 경로만을 중간에 추가해주시면 됩니다.

 

설치 확인

터미널로 들어가신 후 composer 입력 시 아래와 같은 화면이 나오면 성공입니다.

 

반응형