     (php-helpers :location local)
     (php-extras :excluded t)
     php-mode
-    php-refactor-mode
-    ;; projectile
     web-mode
     web-beautify
     (drupal-mode :excluded t)))


(defconst madand-web-packages
  '(company-php
    ;; ede-php-autoload
    flycheck
    geben
    graphql-mode

    "hh" #'php-search-documentation
    "hH" #'madand/php-search-web-documentation-in-default-browser
    "w" #'madand/toggle-php-web-mode)
  (spacemacs/declare-prefix-for-mode 'php-mode "mi" "insert")

  (add-hook 'php-mode-hook #'madand/set-fill-column t)
  (add-hook 'php-mode-hook #'madand/disable-rainbow-identifiers-mode))

(defun madand-web/pre-init-phpcbf ()
  (with-eval-after-load 'phpcbf
    (setq phpcbf-standard "PSR2")))

(defun madand-web/post-init-web-beautify ()
