phpのみ編集できればいいという人は、素直にPhpStormを使ったほうがいいです。
pluginのインストール
Settings -> Plugins -> Install JetBrains plugin... -> PHPとPython、ReStructuredTextとか選択
oracle-jdkをインストール
- openjdkだと3分に1回くらいWindowManagerを巻き込んで落ちます。
$ sudo apt-get purge openjdk*
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
以下Pythonの場合。
python SDK の選択
File -> Project Structure -> Project -> Project SDK -> new
Ctrl+Space を有効にする
File -> Project Structure -> Project -> Facets
-> Python -> Python Interpreter を選択
-> Detection にて Pythonを選択
Run
Use specified interpreter -> Python 2.7.4
Twitter Bootstrap
docs -> templates にテンプレートがあります。
PHP
mac内蔵のphpではphp-cgiが無効なためビルドする必要あり。
brew install homebrew/php/php56
php --ini