From dc9150dc727de505e06a2cd5167f1a16c19e6a27 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 16 May 2026 08:35:23 +0200 Subject: new package --- composer.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 composer.json (limited to 'composer.json') diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..a0945fe --- /dev/null +++ b/composer.json @@ -0,0 +1,35 @@ +{ + "name": "iliaal/fastjson", + "type": "php-ext", + "description": "Fast JSON encode/decode/validate for PHP 8.3+, backed by yyjson. Drop-in alternative to ext/json with namespaced fastjson_* functions and json_last_error-compatible error reporting.", + "keywords": ["json", "yyjson", "decode", "encode", "validate", "performance", "php-extension", "pie"], + "license": ["BSD-3-Clause", "MIT"], + "homepage": "https://github.com/iliaal/fastjson", + "authors": [ + { + "name": "Ilia Alshanetsky", + "email": "ilia@ilia.ws" + } + ], + "require": { + "php": ">=8.3" + }, + "php-ext": { + "extension-name": "fastjson", + "configure-options": [ + { + "name": "enable-fastjson", + "description": "Enable fastjson (yyjson-backed JSON) support", + "needs-value": false + }, + { + "name": "enable-fastjson-dev", + "description": "Enable -Werror plus strict checks for wrapper code (development builds)", + "needs-value": false + } + ], + "support-zts": true, + "support-nts": true, + "download-url-method": ["pre-packaged-binary", "composer-default"] + } +} -- cgit