PHP mode for emacs

Posted:

For those looking for a reasonable emacs mode for PHP work, consider this project. Simply find the php-mode.el file in the download and add the following to your .emacs file:

(load "/path/to/php-mode.el")

Replace “/path/to” with something appropriate for your system.

Now when you edit .php files, you’ll get proper indenting and syntax coloring.