LoginSignup
1

More than 5 years have passed since last update.

(Yosemite) Composerのインストール + FuelPHPプロジェクト作成

Posted at

はじめに

OS X YosemiteでComposerをインストールして利用する。

環境

OS X Yosemite (iOS 10.10.2)

前提条件

  • HomeBrewでphpをインストールしていること。 していない場合、下記の通りエラーが発生する。
$ brew install homebrew/php/composer
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'...
remote: Counting objects: 8380, done.
remote: Total 8380 (delta 0), reused 0 (delta 0), pack-reused 8380
Receiving objects: 100% (8380/8380), 1.72 MiB | 496.00 KiB/s, done.
Resolving deltas: 100% (5598/5598), done.
Checking connectivity... done.
Tapped 446 formulae
==> Installing composer from homebrew/homebrew-php
composer: Missing PHP53, PHP54, PHP55 or PHP56 from homebrew-php. Please install one of them before continuing
Error: An unsatisfied requirement failed this build.

手順

Composerのインストール

$ brew install homebrew/php/composer
$ composer --version
Composer version 1.0.0-alpha9 2014-12-07 17:15:20

FuelPHPプロジェクト作成 

$ composer create-project fuel/fuel:dev-1.7/master プロジェクト名

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
1