Skip to content

Commit eff70df

Browse files
committed
Attempt to install native module
1 parent 1dc3479 commit eff70df

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

composer.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"license": "MIT",
66
"require": {
77
"php": "^8.3",
8-
"ext-ffi": "*"
8+
"ext-ffi": "*",
9+
"codewithkyrian/platform-package-installer": "^2.1"
910
},
1011
"require-dev": {
1112
"phpunit/phpunit": "^12.0",
@@ -27,5 +28,17 @@
2728
"test": "vendor/bin/phpunit",
2829
"lint": "vendor/bin/phpstan analyse",
2930
"format": "vendor/bin/pint"
31+
},
32+
"config": {
33+
"allow-plugins": {
34+
"codewithkyrian/platform-package-installer": true
35+
}
36+
},
37+
"extra": {
38+
"artifacts": {
39+
"linux-x86_64": "https://github.com/avvertix/html-shot/releases/download/v0.0.1/libtakumi_php.so",
40+
"darwin-arm64": "https://github.com/avvertix/html-shot/releases/download/v0.0.1/libtakumi_php.dylib",
41+
"windows-64": "https://github.com/avvertix/html-shot/releases/download/v0.0.1/takumi_php.dll"
42+
}
3043
}
3144
}

0 commit comments

Comments
 (0)