I don't use deoplete/php/laravel anymore, so this plugin is deprecated and probabily don't work anymore.
Autocompletion for Laravel Routes and Views in Vim, for neovim-deoplete.
- Autocomplete Laravel Routes based on controllers public methods.
- Works on following commands:
Route:get, post, delete, put, patch, options('...')
- Blade
action('...')
- Route
'uses' => '...'
- Works on following commands:
- Autocomplete Laravel Blade Views.
- Works on following commands:
view('...')
@extends('...')
@include('...')
@each('...')
- Works on following commands:
- Cache for faster completion (Alpha).
- PHP 5.4+
- Composer
- Python 2/3
- Neovim / Deoplete Plugin
- A Laravel Project (tested on 5.1+)
You can use your plugin manager of choice, but we recommend Vim-Plug
- vim-plug
- Add
Plug 'rafaelndev/deoplete-laravel-plugin', {'for': ['php'], 'do': 'composer install'}
to .vimrc - Run
:PlugInstall
- Add
If your system meet all requirements, it should works automatically when typing the supported functions (see Features).
- Section completion.
- Support for common vim (omnifunc).
- PHP Server to receive and send info to vim/neovim (possibly using ReactPHP HTTP or Sockets).
- Better cache mechanics.