Skip to content

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.

License

Notifications You must be signed in to change notification settings

adrigar94/php-skeleton-generator

Repository files navigation

php-skeleton-generator Extension for Visual Studio Code

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.

Features

  • Run php-skeleton-generate command from the command palette to generate a skeleton for a PHP files
    • Class
    • Interface
    • Enum
    • Trait

Usage

  1. Press Ctrl Shift P to open the command palette
  2. Type php-skeleton-generate and press Enter
  3. Chose a type of skeleton
  4. Enter the name of your file and press Enter
  5. Use the wizard to enrich your skeleton
  6. The skeleton for the PHP class will be generated

New Class

Class

New Interface

Interface

New Enum

Enum

New Trait

Trait

Planned Features

  • add psr4 support for autoload-dev
  • compatibility with other PHP versions

Requirements

Credits

License

This extension is licensed under the MIT License.

Enjoy!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published