You've already forked wc-licensed-product-client
- Add PHPUnit 11.0 as dev dependency - Add phpunit.xml configuration - Add DTO tests (LicenseInfo, LicenseStatus, ActivationResult) - Add Exception tests (factory method, all exception types) - Add LicenseClient tests with mocked HTTP responses - Update README with testing instructions - Update CHANGELOG 32 tests, 93 assertions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "magdev/wc-licensed-product-client",
|
|
"description": "Client library for WooCommerce Licensed Product Plugin - Activate, validate and check the status of licenses via REST API",
|
|
"type": "library",
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "Marco Graetsch",
|
|
"email": "magdev3.0@gmail.com",
|
|
"homepage": "https://src.bundespruefstelle.ch/magdev"
|
|
}
|
|
],
|
|
"homepage": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client",
|
|
"support": {
|
|
"issues": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client/issues",
|
|
"source": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client"
|
|
},
|
|
"require": {
|
|
"php": "^8.3",
|
|
"psr/cache": "^3.0",
|
|
"psr/http-client": "^1.0",
|
|
"psr/log": "^3.0",
|
|
"symfony/http-client": "^7.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^11.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Magdev\\WcLicensedProductClient\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Magdev\\WcLicensedProductClient\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"minimum-stability": "stable"
|
|
}
|