eugenealegiojo/wp-plugin-generator
最新稳定版本:v0.1.0
Composer 安装命令:
composer require eugenealegiojo/wp-plugin-generator
包简介
A WordPress plugin boilerplate generator.
README 文档
README
A composer package that can generate basic WordPress plugin with PSR-4 autoloading.
Usage
-
Navigate to your project folder. For example: wp-content/plugins/my-new-plugin
-
Add or generate a composer.json file.
-
Run:
composer require eugenealegiojo/wp-plugin-generator -
Add the following code to your composer.json file:
"scripts": { "post-install-cmd": "php vendor/eugenealegiojo/wp-plugin-generator/wp-plugin-generator.php" }, -
Run:
composer install -
Follow the prompts in the terminal to add your plugin info, then activate your plugin in the WordPress admin.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-11