Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them
Emacs Lisp PHP
branch: master
Failed to load latest commit information.
README.md doc
php-eldoc.el Formatting
probe.php post-initial

README.md

php-eldoc

eldoc backend for php.

Provides eldoc functionality for global functions, but not classes or methods. Contains a list of standard php functions. It is also possilbe to access function from a specific project/framework, it requires you to put probe.php somehere in the project path.

Also provides a source for autocomplete

Sample php-mode-hook:

(defun php-mode-options ()
  (php-eldoc-enable)
  (cond
    ((string-match-p "^/my-project-folder")
     (php-eldoc-probe-load "http://my-project.com/probe.php?secret=sesame"))
    ((string-match-p "^/other-project-folder")
     (php-eldoc-probe-load "http://localhost/otherproject/probe.php?secret=sesame"))))
(add-hook 'php-mode-hook 'php-mode-options)
Something went wrong with that request. Please try again.