https://wikemacs.org/api.php?action=feedcontributions&user=85.229.135.11&feedformat=atomWikEmacs - User contributions [en]2024-03-19T08:10:12ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=PHP&diff=2020PHP2012-03-31T15:09:25Z<p>85.229.135.11: Update with link to ejmr/php-mode (fork of the original php-mode, but actually maintained)</p>
<hr />
<div>== Emacs Modes for PHP ==<br />
There are several modes for editing PHP source files in Emacs. <br />
<br />
* [http://php-mode.sourceforge.net/ PHP-mode] is a basic PHP mode which features syntax highlighting.<br />
* [https://github.com/ejmr/php-mode 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)<br />
* {{ModeLink|nXhtml}} is a major mode for editing files with mixed HTML and PHP code.<br />
<br />
== Flymake ==<br />
[http://sachachua.com/blog/2008/07/emacs-and-php-on-the-fly-syntax-checking-with-flymake/ Here] is a great article on setting up a simple PHP [[ flymake ]] mode using the PHP interperter.<br />
<br />
== Debugging PHP code in emacs ==<br />
The [http://xdebug.org/ xdebug] extension for PHP is an essential tool for the PHP developer. [http://code.google.com/p/geben-on-emacs/ Geben] is an excellent remote for the xdebug debugger when working inside of emacs.<br />
<br />
[[Category:Programming languages]]</div>85.229.135.11