GNU ELPA — phps-mode

phps-mode Atom Feed

Description
Major mode for PHP with code intelligence
Latest
phps-mode-0.4.52.tar (.sig), 2026-May-17, 23.1 MiB
Maintainer
Christian Johansson <christian@cvj.se>
Website
https://github.com/cjohansson/emacs-phps-mode
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

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.

Old versions