Emacs package to assist in PHP development, This package relies heavily on PHPBot, please make sure PHPBot is installed first.
-
Check that the popup-el is loaded. popup-el
-
Config .emacs
(add-to-list 'load-path "~/.emacs.d/site-lisp/popup-el")
(require 'phpbot)
(custom-set-variables
'(phpbot-bin-path "/path/to/phpbot"))
- You can use phpbot.el in any of the following ways
- Direct Binding Shortcuts
(define-key php-mode-map (kbd "M-/")
'phpbot-gettersetter)
- Pop Menu
(define-key php-mode-map (kbd "M-/")
'php-generator-menu)
popup menu