ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Laravel 5 Snippets

by Lykegenes ST2/ST3

Laravel 5 Snippets for Sublime Text

Labels snippets

Details

Installs

  • Total 116K
  • Win 72K
  • OS X 20K
  • Linux 24K
Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26
Windows 14 38 36 55 61 66 56 75 47 48 56 61 93 57 65 33 46 64 61 71 50 78 45 51 60 59 75 71 69 41 50 55 52 70 81 72 35 66 57 86 58 70 63 38 55 57
OS X 4 10 11 12 8 12 18 19 8 6 8 15 8 9 12 8 9 12 22 12 11 11 5 5 13 13 21 20 14 6 4 16 13 17 16 14 9 11 15 22 15 16 10 13 7 17
Linux 1 14 15 16 25 22 18 23 16 14 18 11 17 26 11 23 11 17 16 15 16 19 20 16 17 22 18 29 20 10 12 15 23 26 14 23 10 19 12 22 16 24 10 14 12 12

Readme

Source
raw.​githubusercontent.​com

Laravel 5 Snippets for Sublime Text

Latest Version Laravel VersionPackage Control

Installation

With the Package Control plugin : The easiest way to install Laravel 5 Snippets is through Package Control, which can be found at http://wbond.net/sublime_packages/package_control.

Using Package Manager, search for "Laravel 5 Snippets"

Without Git : Download the latest source from GitHub and copy the “Laravel 5 Sippets” folder to your Sublime Text “Packages” directory.

With Git : Clone the repository in your Sublime Text “Packages” directory:

git clone https://github.com/Lykegenes/laravel-5-snippets.git "Laravel 5 Snippets"

Usage

The included snippets are organized in categories following Laravel's Facades and their documentation; such as Auth::, Config:: and Session::. This way, you can quickly search for what you'd like to accomplish thanks to Sublime Text fuzzy search.

All the snippets in this package follow the following naming convention : {category}::{function name}. For example : Auth::check will produce this snippet in your code : Auth::check().

Included snippets

Here are the available snippet categories and prefixes :

Prefix Notes
Auth
Blade The Laravel Blade Highlighter package is required to enable Snippets autocomplete in Blade files.
Cache
Config
Console
Cookie
Crypt
DB To create raw database queries and transactions.
Event
Hash
Helper Contains sub-categories : Helper::array, Helper::misc, Helper::path, Helper::strings, and Helper::url; just like in Laravel's documentation.
Input
Log
Mail
Redirect
Relation To create model relationships.
Response
Route
Schema Contains two sub-categories : Schema:: for snippets related to the database table itself; and Column:: for snippets related to the columns.
Session
Storage
View

Credits

License

The MIT License (MIT). Please see License File for more information.