wp-plugin-init
Version:
CLI to scaffold a PHP plugin boilerplate structure
56 lines (55 loc) • 1.2 kB
JSON
{
"name": "suitepress/__PLUGIN_NAME__",
"description": "__PLUGIN_TITLE__ — built on the WPSuitePress framework.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": "^7.4|^8.0",
"wpsuitepress/framework": "^1.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Suite-Press/wpsuitepress-framework"
}
],
"autoload": {
"psr-4": {
"PluginsNameSpaces\\": "app/",
"PluginsNameSpaces\\Framework\\": "vendor/wpsuitepress/framework/src/"
},
"classmap": [
"database/"
],
"files": [
"boot/helpers.php"
]
},
"extra": {
"wpsuitepress": {
"namespace": {
"current": "PluginsNameSpaces"
}
}
},
"scripts": {
"post-install-cmd": [
"PluginsNameSpaces\\Dev\\ComposerScript::run"
],
"post-update-cmd": [
"PluginsNameSpaces\\Dev\\ComposerScript::run"
],
"build-zip": "@php bin/build-zip.php"
},
"config": {
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true
},
"platform": {
"php": "7.4"
}
},
"minimum-stability": "stable",
"prefer-stable": true
}