Vim support for Composer PHP projects.
Composer.vim provides conveniences for working with Composer PHP projects. Some features include:
:Composercommand wrapper around
composerwith smart completion
- Navigate to source files using Composer's autoloader
usestatement for the class/interface/trait under cursor
- Projectionist support (e.g.,
:Ecomposerto edit your
:Ato jump to
- Dispatch support (
:help composer for details.
Installation and Requirements
Using vim-plug, for example:
Plug 'tpope/vim-dispatch' Plug 'tpope/vim-projectionist'
Note: either Projectionist.vim or Vim version 7.4.1304 or later is required for JSON support.
Credits and License
Thanks to Tim Pope for Bundler.vim on which Composer.vim is modeled.
Copyright © Noah Frederick. Distributed under the same terms as Vim itself.