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

Laravel 5 Snippets

by Lykegenes ALL

Laravel 5 Snippets for Sublime Text

Labels snippets

Details

Installs

  • Total 141K
  • Win 89K
  • Mac 23K
  • Linux 28K
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 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14
Windows 46 27 19 30 30 36 39 55 54 29 29 28 45 35 42 39 36 39 54 47 40 68 36 25 26 31 35 22 12 24 35 26 38 25 32 29 32 19 27 28 39 35 36 39 26 34
Mac 3 5 3 3 4 9 7 5 6 5 4 4 8 5 7 6 6 1 14 10 9 4 6 5 7 3 7 2 9 8 5 2 6 9 4 6 5 5 2 5 9 7 7 6 6 4
Linux 11 7 7 10 14 8 15 13 11 5 10 7 11 12 14 11 10 12 15 14 15 13 14 10 7 10 7 7 9 5 3 10 10 3 5 13 9 4 6 6 19 10 8 9 5 8

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.