Emacs Modes for PHP
There are several modes for editing PHP source files in Emacs.
- PHP-mode is a basic PHP mode which features syntax highlighting.
- ejmr/php-mode is a fork of the original PHP-mode, but with support for the new features introduced in PHP 5.4 (traits, namespaces and such)
- nXhtml is a major mode for editing files with mixed HTML and PHP code.