Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Laravel 5 SnippetsNew to Visual Studio Code? Get it now.
Laravel 5 Snippets

Laravel 5 Snippets

Sachit Tandukar

|
170,152 installs
| (10) | Free
Laravel 5 snippets for Visual Studio Code. Supports blade and Laravel Collective HTML.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel 5 snippets

This extension is made to help Laravel developers to code on Visual Studio Code.

Credit

This extension is based on sublime text extension for Laravel 5. So, huge credit goes to https://github.com/Lykegenes/laravel-5-snippets

Usage

The included snippets are organized in categories following Laravel's Facades and their documentation; such as Auth::, Config:: and Session::.

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().

Also, snippets for HTML and Form Builders for the Laravel Framework is supported based on https://github.com/LaravelCollective/html

Included snippets

Here are the available snippet categories and prefixes :

Prefix Notes
Auth
Blade
Cache
Config
Console
Cookie
Crypt
DB To create raw database queries and transactions.
Event
Form
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
Validator

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft