Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Basic snippets for when working inside Blade template files in the Laravel framework.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
elif.sublime-snippet
else.sublime-snippet
fore.sublime-snippet
forel.sublime-snippet
if.sublime-snippet
inc.sublime-snippet
lay.sublime-snippet
sec.sublime-snippet
unless.sublime-snippet
while.sublime-snippet
yield.sublime-snippet
yieldsec.sublime-snippet

README.md

Sublime Text 2 snippets for Laravel Blade

Got all the basic functions but please if you can extend these snippets and make them better fork me.

Installation

Linux

Open the Terminal, go into the ~/.config/sublime-text-2/Packages/User/ folder and git clone the repository.

OS X

Go into the ST2 Packages/User folder (the path should be ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/) and clone the repository.

Windows

Go into the ST2 Packages/User folder (usually the path is C:\Users\$USERNAME\AppData\Roaming\Sublime Text 2\Packages\User) and clone the repository.

Usage

Inside a .blade.php file type the name of the snippet you want to use. The name of the snippet is the same as the first part of the filename, e.g. the filename is if.sublime-snippet then the snippet would be if and hit TAB on your keyboard.

Cloning the repository

$ git clone https://github.com/villimagg/laravel-blade-snippets.git

Tip: If you don't find the Packages/User folder, you can go to Preferences > Browser Packages...

Something went wrong with that request. Please try again.