Looking for an easy and quick way to generate PHP code skeletons? Check out our "PHP Skeleton Generator" extension! With just a few steps, you can create PHP classes, interfaces, traits, and enums with all the properties and methods you need. Our assistant guides you through the process, asking you for the options you need and generating the code for you. Save time and effort when creating your PHP projects with "PHP Skeleton Generator"! Namespace is generated from PSR-4 autoload in composer file.
- Run
php-skeleton-generate
command from the command palette to generate a skeleton for a PHP files- Class
- Interface
- Enum
- Trait
- Press
Ctrl+Shift+P
to open the command palette - Type
php-skeleton-generate
and press Enter - Chose a type of skeleton
- Enter the name of your file and press Enter
- Use the wizard to enrich your skeleton
- The skeleton for the PHP class will be generated
- add psr4 support for autoload-dev
- compatibility with other PHP versions
This extension is licensed under the MIT License.
Enjoy!