まず、5.2と同じようにやってみる。
[vagrant@localhost laravel]$ curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading…
Composer (version 1.8.5) successfully installed to: /home/vagrant/local/app/laravel/composer.phar
Use it: php composer.phar
[vagrant@localhost laravel]$ php composer.phar create-project laravel/laravel blog “5.3.*”
[UnexpectedValueException]
Could not parse version constraint “5.3.*”: Invalid version string ““5.3.*””
create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–ignore-platform-reqs] [–] [
あれ、エラー??
公式を見ます。
https://readouble.com/laravel/5.3/ja/installation.html
ページ中段の「Composer Create-Project」を見ます。
[vagrant@localhost laravel]$ php composer.phar create-project –prefer-dist laravel/laravel blog “5.3.*”
Installing laravel/laravel (v5.3.30)
– Installing laravel/laravel (v5.3.30): Downloading (100%)
[vagrant@localhost blog]$ php artisan -V
Laravel Framework version 5.3.31