Skip to content

Instantly share code, notes, and snippets.

@wpupru
Created October 28, 2016 16:54
Show Gist options
  • Save wpupru/9deb7d928d8ce9aba23a73d36047ee1c to your computer and use it in GitHub Desktop.
Save wpupru/9deb7d928d8ce9aba23a73d36047ee1c to your computer and use it in GitHub Desktop.
Установка composer in Windows
Установка composer in Windows
Run this in your terminal to get the latest Composer version:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Затем:
php composer.phar create-project --prefer-dist laravel/laravel blog "5.2.*"
или конкретно:
php composer.phar create-project --prefer-dist laravel/laravel D:localhost\laracourse.loc\ "5.2.*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment