Skip to content

Junveloper/laravel-file-creator

Repository files navigation

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
  • Form Request
  • Job
  • JSON Resource
  • JSON Resource Collection
  • Mailable
  • Migration
  • Model
  • Notification
  • PEST Test
  • Policy
  • Rule

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

About

VSCode Extension to create Laravel Files

Resources

License

Stars

Watchers

Forks

Packages

No packages published