Search code examples
phpemacsmelpaphp-modeemacs26

PHP mode for GNU emacs not listed as a MELPA package


I want to install PHP mode for GNU emacs.

The documentation says:

With GNU Emacs 24 or later then you can use its package feature to install PHP Mode from MELPA.

But when I press Alt-x list-packages I do not see this mode listed.

Why?


Solution

  • To ensure that your local listing of packages is synchronised with the upstream package archives, use M-x package-refresh-contents, and then M-x list-packages again.