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

Laravel Snip

khatabwedaa

|
23,432 installs
| (0) | Free
Simple Snippet For Laravel Make Your Work Easier an Fast.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel Snip

Laravel Snippets Best Shortcut Make Work Esay And Faster

Can use the shortcuts r: for route shortcut or c: for controller shortcut

Visual Studio Marketplace

#r:middleware

Route::middleware(['middleware'])->group(function () {
    #code.. 
});

#r:resource

Route::resource(uri , callback);

Shortcuts / Routes

Command
r:get
r:post
r:resource
r:put
r:delete
r:patch
r:option
r:match
r:any
r:view
r:prefix
r:redirect
r:namespace
r:middleware
r:fallback

Shortcuts / Controllers

Command Help Text
c:construct Create Construct Method
c:validate Create Validate For Request
c:redirect Redirect Method
c:view View Method

Release Notes

[1.1.0]

  • Fix route syntax.
  • Add controller command.

[1.0.0]

  • Initial release of Laravel Snip For Route Only.

Credits

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