Skip to content
eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them
Emacs Lisp PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
php-eldoc.el
probe.php

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.