Skip to content

Commit 5af7676

Browse files
authored
update php-curl-class library (#6)
* update php-curl-class library format code * update php.yml * update php.yml
1 parent ca89f23 commit 5af7676

36 files changed

Lines changed: 505 additions & 503 deletions

.github/workflows/php.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,7 @@ jobs:
4040
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
4141
# Docs: https://getcomposer.org/doc/articles/scripts.md
4242

43-
# - name: Run test suite
44-
# run: composer run-script test
43+
- name: Run test suite
44+
run: |
45+
cd ./demo
46+
php ./NetLicensingDemo.php

composer.json

Lines changed: 56 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,58 @@
11
{
2-
"name": "labs64/netlicensingclient-php",
3-
"description": "PHP wrapper for Labs64 NetLicensing RESTful API",
4-
"type": "library",
5-
"keywords": [
6-
"NetLicensing", "licensing", "license", "software license", "licensing model", "license types", "license management", "licensing as a service", "software activation", "subscription", "floating", "pay-per-use", "client", "RESTful", "API", "REST"
7-
],
8-
"homepage": "https://netlicensing.io",
9-
"license": "Apache-2.0",
10-
"authors": [
11-
{
12-
"name": "Labs64 NetLicensing",
13-
"email": "netlicensing@labs64.com",
14-
"homepage": "https://netlicensing.io"
15-
}
16-
],
17-
"support": {
18-
"email": "netlicensing@labs64.com",
19-
"issues": "https://github.com/Labs64/NetLicensingClient-php/issues",
20-
"wiki": "https://netlicensing.io/wiki/",
21-
"source": "https://github.com/Labs64/NetLicensingClient-php",
22-
"docs": "https://netlicensing.io/wiki/"
23-
},
24-
"require": {
25-
"php": ">=7.0",
26-
"php-curl-class/php-curl-class": "^8.9.0",
27-
"fr3d/xmldsig": "^3.0",
28-
"ext-mbstring": "*",
29-
"ext-json": "*"
30-
},
31-
"require-dev": {
32-
"phpunit/phpunit": "~6.5.14",
33-
"fzaninotto/faker": "^v1.9.2",
34-
"wp-cli/php-cli-tools": "^v0.11.11"
35-
},
36-
"autoload": {
37-
"files": [
38-
"netlicensing.php"
39-
]
40-
},
41-
"prefer-stable": true
2+
"name": "labs64/netlicensingclient-php",
3+
"description": "PHP wrapper for Labs64 NetLicensing RESTful API",
4+
"type": "library",
5+
"keywords": [
6+
"NetLicensing",
7+
"licensing",
8+
"license",
9+
"software license",
10+
"licensing model",
11+
"license types",
12+
"license management",
13+
"licensing as a service",
14+
"software activation",
15+
"subscription",
16+
"floating",
17+
"pay-per-use",
18+
"client",
19+
"RESTful",
20+
"API",
21+
"REST"
22+
],
23+
"homepage": "https://netlicensing.io",
24+
"license": "Apache-2.0",
25+
"authors": [
26+
{
27+
"name": "Labs64 NetLicensing",
28+
"email": "netlicensing@labs64.com",
29+
"homepage": "https://netlicensing.io"
30+
}
31+
],
32+
"support": {
33+
"email": "netlicensing@labs64.com",
34+
"issues": "https://github.com/Labs64/NetLicensingClient-php/issues",
35+
"wiki": "https://netlicensing.io/wiki/",
36+
"source": "https://github.com/Labs64/NetLicensingClient-php",
37+
"docs": "https://netlicensing.io/wiki/"
38+
},
39+
"require": {
40+
"php": ">=7.4",
41+
"php-curl-class/php-curl-class": "^11.0.0",
42+
"fr3d/xmldsig": "^3.0",
43+
"ext-mbstring": "*",
44+
"ext-json": "*",
45+
"ext-dom": "*"
46+
},
47+
"require-dev": {
48+
"phpunit/phpunit": "~6.5.14",
49+
"fzaninotto/faker": "^v1.9.2",
50+
"wp-cli/php-cli-tools": "^v0.11.11"
51+
},
52+
"autoload": {
53+
"files": [
54+
"netlicensing.php"
55+
]
56+
},
57+
"prefer-stable": true
4258
}

0 commit comments

Comments
 (0)