LoginSignup
6
4

More than 5 years have passed since last update.

Composerで古いバージョンのLaravelをインストールする

Posted at

環境

  • mac:OSX El Capitan
  • php:7.0.15
  • composer:1.3.2

コマンド

2017-03-05現在、バージョン指定しないとlaravelの5.4がインストールされる。以下の設定でインストールしたい場合のコマンド

  • プロジェクト名:test_project
  • laravel ver:5.3
composer create-project --prefer-dist laravel/laravel test_project 5.3

補足

composerのcreate-projectのヘルプ

$ composer help create-project
Usage:
  create-project [options] [--] [<package>] [<directory>] [<version>]

Arguments:
  package                              Package name to be installed
  directory                            Directory where the files should be created
  version                              Version, will default to latest
...
6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4