doomemacs/modules/lang/php/packages.el
Cody Wilson b2a48d5365
Add feature detection for company-phpactor
`company-phpactor` separation gives us the ability to only install it if `company` is enabled.

Co-Authored-By: Oleksii Filonenko <brightone@protonmail.com>
2019-08-13 13:52:53 -05:00

19 lines
497 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; lang/php/packages.el
(package! php-boris)
(package! php-extras :recipe (:host github :repo "arnested/php-extras"))
(package! php-mode)
(package! php-refactor-mode)
(package! phpunit)
(when (featurep! +hack)
(package! hack-mode :recipe (:host github :repo "hhvm/hack-mode")))
(unless (featurep! +lsp)
(package! phpactor)
(when (featurep! :completion company)
(package! company-phpactor)))
(when (featurep! :editor format)
(package! php-cs-fixer))