wpmind/composer.json
LinuxJoy d733b8e7fc feat(license): add WenPai License SDK + test infrastructure
- WenPai_License PHP SDK: verify/activate/deactivate with 24h cache + 7-day grace period
- wpmind_license() global helper, settings page license tab with AJAX activate/deactivate
- composer.json with yoast/wp-test-utils, PHPUnit 9.6 + BrainMonkey test setup
- 6 unit tests for WenPai_License (get_key, set_key, verify cache, plan fallback)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 01:20:05 +08:00

22 lines
495 B
JSON

{
"name": "wenpai/wpmind",
"description": "WPMind - WordPress AI 自定义端点扩展",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=8.1"
},
"require-dev": {
"yoast/wp-test-utils": "^1.2"
},
"autoload": {
"psr-4": {
"WPMind\\": "includes/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}