Laravel 5 Snippets
Laravel 5 Snippets for Sublime Text
Details
Installs
- Total 167K
- Win 108K
- Mac 26K
- Linux 33K
| Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 1 | 0 | 1 | 0 | 2 | 0 | 1 | 2 | 1 | 1 | 1 | 2 | 2 | 3 | 0 | 1 | 3 | 1 | 0 | 4 | 3 | 0 | 2 | 1 | 1 | 2 | 3 | 2 | 1 | 1 | 2 | 2 | 1 | 1 | 2 | 5 | 2 | 1 | 0 | 1 | 2 | 2 | 2 | 0 | 4 |
| Mac | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
| Linux | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Laravel 5 Snippets for Sublime Text
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 | |
| 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.