No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is the snippets file for Laravel 4. You can use

:set ft=php.laravel

to enable it in current buffer, or just add the following line to .vimrc

autocmd FileType php set ft=php.laravel

to enable it for every php files.

Or, You also can set the filetype based on directory, like

autocmd BufNewFile,BufRead ~/proj/src/php/laravel/*.php setlocal filetype=php.laravel

BTW, you will need SnipMate or UltiSnips for using this snippets.

Most important is, this snippets based on laravel 4 for sublime text from @bliker