php-ts-mode

Homepage: https://www.gnu.org/software/emacs

Author: Vincenzo Pupillo

Summary

Major mode for editing PHP files using tree-sitter

Commentary

This package provides `php-ts-mode' which is a major mode
for editing PHP files with embedded HTML, JavaScript, CSS and phpdoc.
Tree Sitter is used to parse each of these languages.

Please note that this package requires `html-ts-mode', which
registers itself as the major mode for editing HTML.

This package is compatible and has been tested with the following
tree-sitter grammars:
* https://github.com/tree-sitter/tree-sitter-php
* https://github.com/tree-sitter/tree-sitter-html
* https://github.com/tree-sitter/tree-sitter-javascript
* https://github.com/tree-sitter/tree-sitter-jsdoc
* https://github.com/tree-sitter/tree-sitter-css
* https://github.com/claytonrcarter/tree-sitter-phpdoc

Features

* Indent
* IMenu
* Navigation
* Which-function
* Flymake
* Tree-sitter parser installation helper
* PHP built-in server support
* Shell interaction: execute PHP code in a inferior PHP process

Dependencies