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

Laravel 5 Snippets

by Lykegenes ST2/ST3 Trending

Laravel 5 Snippets for Sublime Text

Labels snippets

Details

Installs

  • Total 121K
  • Win 75K
  • OS X 21K
  • Linux 25K
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7
Windows 63 81 90 64 56 51 65 71 67 52 64 56 43 61 58 62 59 54 38 42 53 55 49 61 63 55 61 50 58 60 71 64 44 49 49 62 72 81 66 23 0 1 70 63 62 58
OS X 8 7 15 10 6 11 12 4 9 13 12 4 6 13 12 12 12 4 4 12 10 13 10 12 12 1 10 8 19 13 11 13 8 11 18 15 7 11 13 5 0 0 12 15 15 14
Linux 20 18 20 18 16 17 22 20 14 17 16 18 16 16 16 16 13 22 23 15 16 17 17 12 8 12 15 16 34 15 19 21 13 9 19 14 16 24 25 8 0 1 21 22 16 19

Readme

Source
raw.​githubusercontent.​com

Laravel 5 Snippets for Sublime Text

Latest Version Laravel Version Package 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.