This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/php
2017-05-26 10:41:46 +02:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Fix company-php configuration 2017-05-26 10:41:46 +02:00
packages.el Fix company-php configuration 2017-05-26 10:41:46 +02:00
README.org add company-php to php layer 2017-05-26 10:36:15 +02:00

PHP layer

/TakeV/spacemacs/media/commit/a38d71782c7d82a1ea84c868bfbd7ed00094c1d9/layers/+lang/php/img/php.png

Description

This layer adds PHP language support to Spacemacs.

Features:

  • Edit PHP files using php-mode
  • Edit Drupal files
  • Complete and jump to define with company-php
  • Run tests with PHPUnit
  • Reformat code with PHP CBF

The gtags layer is recommended to benefit from better eldoc and helm-gtags.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add php to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key Binding Description
SPC m g g jump to define at point
C-t jump back