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 100K
  • Win 61K
  • OS X 18K
  • Linux 20K
May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13
Windows 28 57 60 64 78 73 89 75 47 54 77 86 82 66 69 52 60 64 71 81 105 65 59 52 77 63 73 62 65 55 50 72 54 78 96 84 54 55 81 89 91 89 92 83 55 85
OS X 3 8 6 8 12 12 10 11 7 9 12 16 16 17 15 13 11 14 13 18 23 17 5 11 14 14 18 20 16 13 4 20 7 21 16 18 11 9 15 9 18 22 20 10 14 10
Linux 8 15 16 21 20 17 19 23 10 15 25 25 17 15 23 13 17 29 17 34 29 20 18 19 20 26 25 31 24 21 22 18 21 24 23 16 11 18 14 28 25 17 17 15 19 19

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.