Email the Author
You can use this page to email Phil Newton about Writing PHP with Emacs.
About the Book
My aim is for the book to teach you how to take a brand new Emacs installation and turn it into something tailored just for you.
A complete table of contents, along with a regularly updated changelog, is available on the Writing PHP with Emacs homepage. The rough outline looks like this:
Part 1 - Essential Packages
- Using php-mode
- Installation
- First Steps
- Useful shortcuts (for navigation, viewing documentation and editing code)
- Customization - indentation and coding styles
- Customization - documentation lookup
- Customization - Using TAGS files
- Evaluating inline code using
php-send-region
- Using web-mode
- Installation
- First steps
- Useful shortcuts
- Customization - indentation
- Explanation and examples of all shortcuts
Part 2 - Getting More out of Emacs
- Checking syntax (and more) with flycheck
- Navigating projects using projectile
- Using lsp-mode
Part 3 - Recipes
- Setting per-project settings using .dir-locals.el
- Generating code quickly with emmet
- Looking up documentation with dash
- Adding a project sidebar using dired-sidebar
- Setting up an Emacs environment for WordPress, Drupal, Laravel, and Symfony
About the Author
I am a freelance software developer living in beautiful North Carolina. The majority of my work involves building and maintaining custom PHP web applications, although I also spend a lot of time developing for WordPress and Drupal. For personal projects I like to mix things up and use a variety of languages from Ruby to Common Lisp.