syedgalib / wp-plugin-scaffold
Package info
github.com/syedgalib/wp-plugin-scaffold
Type:project
pkg:composer/syedgalib/wp-plugin-scaffold
v0.0.4
2026-11-07 12:57 UTC
Requires
- php: ^7.4 || ^8.0
- bamarni/composer-bin-plugin: 1.8.2
- dealerdirect/phpcodesniffer-composer-installer: 1.0.0
- phpcompatibility/phpcompatibility-wp: 2.1.4
- squizlabs/php_codesniffer: 3.7.2
- wp-coding-standards/wpcs: ^2.3
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
-
Create a new plugin project with Composer:
composer create-project syedgalib/wp-plugin-scaffold my-plugin
-
Enter the project directory:
cd my-plugin -
Personalize the plugin:
composer plugin:setup
The setup command asks for the plugin name, optional description, optional Plugin URI, Author, and Author URI, text domain, and PHP namespace. Leave the URI and author fields blank to keep their existing values. The text domain becomes the main PHP filename and the prefix for hooks, constants, and asset handles. When working from a source checkout, run composer install before composer plugin:setup.