Vim support for Laravel/Lumen projects
Vim support for [Laravel/Lumen][laravel] projects.
[![Release][release]](https://github.com/noahfrederick/vim-laravel/releases) [![Build Status][buildimg]](https://travis-ci.org/noahfrederick/vim-laravel)
:warning: This is a prerelease version, which may introduce breaking changes.
[laravel]: https://laravel.com/ [release]: https://img.shields.io/github/v/release/noahfrederick/vim-laravel.svg [buildimg]: https://img.shields.io/travis/noahfrederick/vim-laravel/master.svg
Features
- The
:Artisancommand wraps!php artisanwith intelligent completion.
:Artisan make: commands into a buffer.
- Navigation commands such as
:Econtroller,:Eroutes,:Etestand [many more][wiki-navigation]. - Enhanced
gfcommand works on class names, template names, config and translation keys. - Complete view/route names in insert mode.
- Use
:Consoleto fire up a REPL (artisan tinker). - Use
:Startto serve the app locally (artisan serve).
Installation
Laravel.vim depends on a few other plug-ins for optional features, including [composer.vim][vim-composer], [dispatch.vim][dispatch], and [projectionist.vim][projectionist]:
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][wiki-requirements].
[wiki-requirements]: https://github.com/noahfrederick/vim-laravel/wiki/Requirements
Credits and License
Thanks to Tim Pope for [rails.vim][rails] on which Laravel.vim is modeled.
Copyright ยฉ Noah Frederick. Distributed under the same terms as Vim itself. See :help license.
[vim-composer]: https://github.com/noahfrederick/vim-composer [projectionist]: https://github.com/tpope/vim-projectionist [dispatch]: https://github.com/tpope/vim-dispatch [rails]: https://github.com/tpope/vim-rails
