(when (maybe-require-package 'php-mode)
  (maybe-require-package 'smarty-mode))

(provide 'init-php)

(when (maybe-require-package 'php-mode)
  (maybe-require-package 'smarty-mode)

  (when (maybe-require-package 'company-php)
    (after-load 'company
      (add-hook 'php-mode-hook
                (lambda () (sanityinc/local-push-company-backend 'company-ac-php-backend))))))

(provide 'init-php)

Add company-php for PHP auto-complete
Add company-php for PHP auto-complete

sgarciac/emacs.d,kongfy/emacs.d,arthurl/emacs.d,krzysz00/emacs.d,wegatron/emacs.d,emuio/emacs.d,lust4life/emacs.d,purcell/emacs.d,cjqw/emacs.d,gsmlg/emacs.d,blueseason/emacs.d,benkha/emacs.d,kindoblue/emacs.d,braveoyster/emacs.d,me020523/emacs.d,dcorking/emacs.d,baohaojun/emacs.d,mmqmzk/emacs.d,svenyurgensson/emacs.d,blueabysm/emacs.d,qianwan/emacs.d