php-mode icon indicating copy to clipboard operation
php-mode copied to clipboard

manual install instructions incorrect

Open robnagler opened this issue 5 years ago • 2 comments

README is incorrect:

download the php-mode.el file, place it inside your load-path

You also need php-project.el, would be good to include more info as well:

download php-mode.el and php-project.el, install in your load-path (e.g. ~/.emacs/lisp)

robnagler avatar Mar 28 '19 22:03 robnagler

To get the latest version of php-mode go to PHP Mode’s GitHub page, switch to the upstream branch (currently master):

https://github.com/emacs-php/php-mode/tree/master

Download the latest version either via git or direct download:

$ wget https://github.com/emacs-php/php-mode/archive/master.zip
$ unzip master.zip

Move php-mode-master to your Emacs Lisp path (eg.site-lisp)

$ mv php-mode-master ~/.emacs.d/site-lisp/php-mode

Add php-mode to the load path:

(add-to-list 'load-path
             (concat (file-truename user-emacs-directory) "site-lisp/php-mode/"))

Load/require php-mode.el php-project.el.

The same works for formal, tagged releases.

sergeyklay avatar Mar 29 '19 12:03 sergeyklay

@robnagler @sergeyklay I am sorry for not replying to this issue. My recommended introduction method was explained in #515.

As I am a Japanese speaker and I am not good at English, please cooperate to make this document easier to understand. Thank you!

zonuexe avatar May 11 '19 21:05 zonuexe

Installation instructions are documented in Manual installation · emacs-php/php-mode Wiki. Feel free to suggest any ideas for improvement. thank you!

zonuexe avatar Oct 27 '22 16:10 zonuexe