I use textmate as my main php editor for mac. Once you get used with it, it will increase your productivity. Unfortunately, textmate doesn’t work with php very well out of the box. You must configure it and use the custom php bundle.

Here is how to get the custom bundle.

1) Open terminal

2) Execute the following commands:

?Download c1
mkdir -p /Library/Application\ Support/TextMate/Bundles
?Download c2
cd /Library/Application\ Support/TextMate/Bundles
?Download c3
svn co http://svn.textmate.org/trunk/Bundles/PHP.tmbundle

If you have textmate running, try to reload the bundle. You will see a new PHP bundle.

Leave a Reply