Skip to content

Installation

USAMI Kenta edited this page May 12, 2018 · 5 revisions

💾 Installation

Since PHP Mode is not bundled with both Emacs built-in and official ELPA, you need to add MELPA or MELPA Stable to your .emacs Init file (~/.emacs.d/init.el).

Using list-packages menu

  1. Run M-x list-package and choose php-mode package.
  2. Press RET and Install button, or I and x key in package list.

Using packages-install command

Using use-package

If you are already using use-package, PHP Mode will be automatically installed simply by adding the :ensure t keyword.

(use-package php-mode :ensure t)
Clone this wiki locally