phps-mode

Homepage: https://github.com/cjohansson/emacs-phps-mode

Author: Christian Johansson

Updated:

Summary

Major mode for PHP with code intelligence

Commentary

A major-mode that uses the original PHP lex-analyzer and parser for syntax coloring, bookkeeping, AST, imenu making it easier to spot errors in syntax.

Also includes full support for PSR-1 and PSR-2 indentation and indentaton for HTML/XML contents.

For flycheck support run `(phps-mode-flycheck-setup)'.

For asynchronous lexer set: `(setq phps-mode-async-process t)'

For asynchronous lexer via `async.el' instead of threads set: `(setq phps-mode-async-process-using-async-el t)'

Please see README.md from the same repository for extended documentation.

Dependencies