You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project updates PHP Mode for GNU Emacs with features to make it more friendly to use with PHP 5.4 and later. This fork builds on the work of:
12
+
This is a major mode development project to support PHP coding in GNU Emacs.
13
+
This fork builds on the work of:
13
14
14
15
1. Turadg Aleahmad (Original Author)
15
16
2. Aaron S. Hawley
@@ -25,19 +26,70 @@ The current maintainer is:
25
26
26
27
Please submit any bug reports or feature requests by creating issues on [the GitHub page for PHP Mode][php-mode]. Alternatively you may also request features via [the FeatHub page][feathub] for the entire [PHP suite for GNU Emacs][php-suite].
27
28
28
-
29
29
Installation
30
30
------------
31
31
32
32
**PHP Mode works on Emacs 24.3 or later.** PHP Mode may work with older versions of Emacs but this is not guaranteed. Bug reports for problems related to using PHP Mode with older versions of Emacs will most like *not* be addressed.
33
33
34
-
With 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.* Therefore we recommend you use MELPA to install PHP Mode. 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.
34
+
The current support policy can be found on the [Supported Version] page.
35
35
36
-
Additionally, you can add `skeleton/php-ext.el` to your `load-path` to [enable the templates](https://www.gnu.org/software/emacs/manual/html_node/autotype/index.html#Top).
This is an initialization method that achieves the same performance and ease of use as using a package manager.
51
+
52
+
By moving the downloaded file to the extracted path of the current directory and executing the `make` command, byte compilation and `php-mode-autoloads.el` is generated. Just load the file from `init.el` and you are ready to use.
Load `php-mode` synchronously from a specific path. It will load 10 times the size of the code compared to method **A**, and how much the startup time will depend on the performance of your machine's CPU and file system.
The GitHub project page has a [wiki][] that you should feel free to edit. The wiki lists the features and bugs that are on plan to include in upcoming versions of PHP Mode. It is also a place to add any tips to make the mode more useful.
284
336
285
-
286
-
The Mailing List
287
-
----------------
288
-
289
-
The “emacs-php” mailing list is a place to discuss PHP Mode as well as all other PHP-related packages for Emacs. You can find the mailing list at:
290
-
291
-
1.[emacs-php at Google Groups](https://groups.google.com/forum/#!forum/emacs-php)
292
-
2.[Gmane](http://dir.gmane.org/gmane.emacs.php)
293
-
294
-
We encourage all users of PHP Mode *and* developers of any PHP-related packages to feel free to post anything there regarding PHP and Emacs.
295
-
296
-
297
337
License
298
338
-------
299
339
@@ -385,20 +425,24 @@ In chronological order:
385
425
76.[Mark A. Hershberger](https://github.com/hexmode)
0 commit comments