Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
"name": "kreuzberg-dev/kreuzberg",
"description": "High-performance document intelligence library",
"license": "Elastic-2.0",
"type": "php-ext",
"require": {
"php": ">=8.2"
},
"require-dev": {
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.95",
"phpunit/phpunit": "^13.1"
},
"autoload": {
"psr-4": {
"Kreuzberg\\": "src/"
}
},
"scripts": {
"phpstan": "php -d detect_unicode=0 vendor/bin/phpstan --configuration=phpstan.neon --memory-limit=512M",
"format": "php vendor/bin/php-cs-fixer fix --quiet",
"format:check": "php vendor/bin/php-cs-fixer fix --dry-run --quiet",
"test": "php vendor/bin/phpunit",
"lint": "@phpstan",
"lint:fix": "php vendor/bin/php-cs-fixer fix --quiet && php -d detect_unicode=0 vendor/bin/phpstan --configuration=phpstan.neon --memory-limit=512M"
},
"php-ext": {
"extension-name": "kreuzberg",
"support-zts": true,
"support-nts": true,
"download-url-method": ["pre-packaged-binary", "composer-default"]
},
"keywords": ["document", "extraction", "pdf", "ocr", "text"],
"extra": {
"pie": {
"binary": {
"url-template": "https://github.com/kreuzberg-dev/kreuzberg/releases/download/v{Version}/php_kreuzberg-{Version}_php{PhpVersion}-{Arch}-{OS}-{Libc}-{TSMode}.tgz"
}
}
}
}