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.
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.
You can select which file will appear in the context menu.