2015-02-03 20:22:48 +00:00
|
|
|
#PHP contribution layer for Spacemacs
|
|
|
|
|
|
|
|
![logo](img/php.png)
|
2015-04-22 04:34:55 +00:00
|
|
|
|
2015-02-03 20:22:48 +00:00
|
|
|
<!-- 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)
|
2015-04-22 04:34:55 +00:00
|
|
|
- [Key bindings](#key-bindings)
|
2015-02-03 20:22:48 +00:00
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
|
2015-04-22 04:34:55 +00:00
|
|
|
The `gtags` layer is recommended to benefit from better `eldoc` and
|
|
|
|
`helm-gtags`.
|
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
|
|
|
```
|
2015-04-22 04:34:55 +00:00
|
|
|
|
|
|
|
## Key bindings
|
|
|
|
|
|
|
|
TODO ! :-)
|
|
|
|
|
2015-02-03 20:22:48 +00:00
|
|
|
[php-mode]: https://github.com/ejmr/php-mode
|