Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damian-bal/php-class-generator
VSC Extension for generating PHP classes out of compser PSR-4
https://github.com/damian-bal/php-class-generator
vsc vscode-extension
Last synced: 4 months ago
JSON representation
VSC Extension for generating PHP classes out of compser PSR-4
- Host: GitHub
- URL: https://github.com/damian-bal/php-class-generator
- Owner: damian-bal
- Created: 2020-05-13T09:51:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:23:12.000Z (about 2 years ago)
- Last Synced: 2024-08-02T16:55:37.016Z (7 months ago)
- Topics: vsc, vscode-extension
- Language: TypeScript
- Size: 232 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# PHP Class Generator (Composer PSR-4)
VS Code extension which helps creating PHP classes in project which is configured to use Composer PSR-4 autoloading.
> Note: composer.json (with PSR-4 autoloading configured) file is required in project (workspace).
Old version of this extension can be found [here](https://marketplace.visualstudio.com/items?itemName=damianbal.vs-phpclassgen) but it doesn't support PSR-4.
## Demo
### Creating class using wizard

### Inserting namespace

### Inserting class/interface/trait

### Inserting namespace (using context menu)

## Features
- Generate PHP class/interfce/trait (using wizard)
- Insert PHP class/interface/trait (inserting to already created file)
- Insert PSR-4 Namespace at selected line in PHP file with command or context menu## Commands
- "PHP Class Generator: Generate class/interface/trait (Wizard)"
- "PHP Class Generator: Insert PSR-4 namespace"
- "PHP Class Generator: Insert PSR-4 class/interface/trait"