Vim support for Laravel/Lumen projects.
⚠️ This is a prerelease version, which may introduce breaking changes.
- The
:Artisan
command wraps!php artisan
with intelligent completion. - Automatically load new files generated by
:Artisan make:*
commands into a buffer. - Navigation commands such as
:Econtroller
,:Eroutes
,:Etest
and many more. - Enhanced
gf
command works on class names, template names, config and translation keys. - Complete view/route names in insert mode.
- Use
:Console
to fire up a REPL (artisan tinker
). - Use
:Start
to serve the app locally (artisan serve
).
Laravel.vim depends on a few other plug-ins for optional features, including composer.vim, dispatch.vim, and projectionist.vim:
Plug 'tpope/vim-dispatch' "| Optional
Plug 'tpope/vim-projectionist' "|
Plug 'noahfrederick/vim-composer' "|
Plug 'noahfrederick/vim-laravel'
See the full list of requirements and integrations.
Thanks to Tim Pope for rails.vim on which Laravel.vim is modeled.
Copyright © Noah Frederick. Distributed under the same terms as Vim itself.
See :help license
.