Skip to content

Commit ae9b4b0

Browse files
committed
Add composer.json for PIE + Packagist support
1 parent e6c63c7 commit ae9b4b0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "secudoc/php-liboqs",
3+
"description": "PHP extension wrapping liboqs (post-quantum cryptography).",
4+
"type": "php-ext",
5+
"license": "MIT",
6+
"homepage": "https://github.com/secudoc/php-liboqs",
7+
"support": {
8+
"issues": "https://github.com/secudoc/php-liboqs/issues",
9+
"source": "https://github.com/secudoc/php-liboqs"
10+
},
11+
"require": {
12+
"php": "^8.3 || ^8.4 || ^8.5"
13+
},
14+
"replace": {
15+
"ext-oqs": "*"
16+
},
17+
"php-ext": {
18+
"extension-name": "ext-oqs",
19+
"support-zts": true,
20+
"configure-options": [
21+
{
22+
"name": "with-oqs",
23+
"needs-value": false,
24+
"description": "Build against liboqs (use --with-oqs=/path if it is not in a default location)."
25+
}
26+
]
27+
}
28+
}

0 commit comments

Comments
 (0)