2015-02-03 20:22:48 +00:00
|
|
|
#PHP contribution layer for Spacemacs
|
|
|
|
|
|
|
|
![logo](img/php.png)
|
|
|
|
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
|
|
|
|
**Table of Contents**
|
|
|
|
|
|
|
|
- [PHP contribution layer for Spacemacs](#php-contribution-layer-for-spacemacs)
|
|
|
|
- [Description](#description)
|
|
|
|
- [Install](#install)
|
|
|
|
|
|
|
|
<!-- markdown-toc end -->
|
|
|
|
|
|
|
|
## Description
|
2015-04-20 13:41:23 +00:00
|
|
|
This layer adds PHP language support to Spacemacs.
|
2015-02-03 20:22:48 +00:00
|
|
|
|
|
|
|
Features:
|
2015-04-20 13:41:23 +00:00
|
|
|
- Edit PHP files using [php-mode][]
|
|
|
|
- Edit Drupal files
|
|
|
|
- Run tests with PHPUnit
|
|
|
|
- Reformat code with PHP CBF
|
|
|
|
|
|
|
|
The `gtags` layer is strongly recommended.
|
2015-02-03 20:22:48 +00:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
To use this contribution add it to your `~/.spacemacs`
|
|
|
|
|
|
|
|
```elisp
|
2015-02-18 03:36:12 +00:00
|
|
|
(setq-default dotspacemacs-configuration-layers '(php))
|
2015-02-03 20:22:48 +00:00
|
|
|
```
|
|
|
|
[php-mode]: https://github.com/ejmr/php-mode
|