Загрузка...

How to Install Composer on Windows #composer #laravel #php | Laravel Installation

ou can install Composer at any directory where you want. In our case, we are installing at C:\xampp\htdocs\composersetup directory. Open your command (cmd) terminal and go to the directory location you want to install (C:\xampp\htdocs\composersetup).

Copy and paste the following script in your cmd terminal and run it to install Composer. It will automatically install the latest Composer to your current directory.

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
This installer script just checks the php.ini settings. If settings are set incorrectly, it will warn you and start downloading the latest composer.phar in the current directory (C:\xampp\htdocs\composersetup). If the installation gets successful, you will see a message of successfully installed.

Видео How to Install Composer on Windows #composer #laravel #php | Laravel Installation канала Coding Spider
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять