;; -*- 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)
  (package! company-phpactor))

(when (featurep! :editor format)
  (package! php-cs-fixer))

;; -*- 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))

Add feature detection for company-phpactor
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 <389acbe81f0fd7fe3ec649f394c339e6fc62238f@protonmail.com>
hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom