Skip to content

Local PHP Manual

USAMI Kenta edited this page Apr 30, 2021 · 6 revisions

Notice: This feature is not actively maintained. See Unmaintained Features.

Setup

Download “Many HTML files” for your favorite language from Download documentation and expand the file.

Put follows code into your .emacs (~/.emacs.d/init.el) file:

(custom-set-variables
 '(php-manual-path (expand-file-name "~/local/share/php-manual"))
 '(php-search-documentation-function #'php-local-manual-search))

Hint

  • You don't need to use the local manual unless you are offline.
  • php-search-documentation-function was added in PHP Mode 2.0.
Clone this wiki locally