Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them

Notifications You must be signed in to change notification settings

sabof/php-eldoc

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

eldoc backend for php - displays function arguments in the minibuffer when cursor is on top of them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.