Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Laravel File CreatorNew to Visual Studio Code? Get it now.
Laravel File Creator

Laravel File Creator

Jun Im

|
204 installs
| (2) | Free
A Visual Studio Code Extension to create Laravel files from context menu in file explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Create PHP Class

Create Laravel File easily for Visual Studio Code

A Visual Studio Code extension for creating various PHP/Laravel files from context menu in file explorer or in opened file.

This has been inspired from one of the features from a popular PHPStorm plugin, Laravel Idea, and another VSCode Extension, PHP Create Class.

Supported Files

The following files are supported:

  • PHP Class
  • PHP Enum
  • PHP Interface
  • PHP Trait
  • Blade File
  • Blade Component Class
  • Config
  • Console Command
  • Controller (Single Action)
  • Controller (Resource)
  • Event
  • Event Listener
  • Exception
  • Factory
  • Form Request
  • Job
  • JSON Resource
  • JSON Resource Collection
  • Mailable
  • Migration
  • Model
  • Notification
  • PEST Test
  • Policy
  • Rule
  • Seeder

The namespace is auto-resolved through composer.json file.

Creating Model

CreateModel

Creating Single Action Controller

CreateSingleActionController

Creating Resource Controller

CreatingResourceController

Settings

You can select which file will appear in the context menu.

Setting

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