PHP のインストール
brew install composer
composer のインストール
brew install composer
githubでプライベート・アクセス・トークンを作成
- github.com にログイン
- Setting > Developer settings に移動
- New Personal access tokens
- read:packages をチェック
- 作成されてプライベート・アクセス・トークンをコピー
composer にプライベート・アクセス・トークンを設定
composer config --global github-oauth.github.com ${プライベート・アクセス・トークン}
Laravel プロジェクト作成
composer create-project --prefer-dist laravel/laravel ${プロジェクト名}