Skip to content

Commit d14c610

Browse files
author
Eric James Michael Ritz
committed
README: Add installation instructions
1 parent 39a71c3 commit d14c610

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ This updates PHP Mode with features to make it more friendly to use with PHP 5.4
1111

1212
All contributors listed below improved PHP Mode as well.
1313

14-
Please email any bugs or feature requests to `lobbyjones at gmail dot com` or submit them as Issues on the [GitHub page](https://github.com/ejmr/php-mode). Also please include the output of `php-mode-version` in bug reports.
14+
Please email any bugs or feature requests to `lobbyjones at gmail dot com` or submit them as Issues on the [GitHub page](https://github.com/ejmr/php-mode). Also please include the output of `php-mode-version` in bug reports. [There is a changelog for previous versions.](./Changelog.md)
1515

16-
**Note:** [There is a changelog for previous versions.](./Changelog.md)
16+
17+
Installation
18+
------------
19+
20+
If you are using GNU Emacs 24 or later then you can use its [package][] feature to install PHP Mode from [MELPA][]. *The [Marmalade][] package repository only has the original PHP Mode from 2004.*
21+
22+
If you are using an older version of Emacs, or if you simply do not wish to use the package manager, then all you need to do is download the `php-mode.el` file, place it inside your `load-path`, and optionally add `(require 'php-mode)` to your Emacs configuration to automatically enable PHP Mode whenever you open a PHP file.
1723

1824

1925
Status
@@ -277,3 +283,6 @@ In chronological order:
277283
[cc mode]: https://www.gnu.org/software/emacs/manual/html_mono/ccmode.html
278284
[Subword Mode]: https://www.gnu.org/software/emacs/manual/html_node/ccmode/Subword-Movement.html
279285
[camelCase]: http://en.wikipedia.org/wiki/Camel_case
286+
[package]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Packages.html
287+
[MELPA]: http://melpa.milkbox.net/
288+
[Marmalade]: http://marmalade-repo.org/

0 commit comments

Comments
 (0)