Drops aternos/codex (and its codex-minecraft / codex-hytale satellites)
plus aternos/sherlock from composer.json. Adds indifferentketchup/codex
pinned to ^0.2.0, sourced via a Composer vcs repository pointing at the
Gitea-hosted ik-codex repo. composer.lock regenerated against the new
dep tree.
Re-points the seven Aternos\Codex\* import sites in src/ to their
IndifferentKetchup\Codex\* equivalents:
- src/Log.php (5 imports)
- src/Api/Response/CodexLogResponse.php (1 import)
- src/Printer/Printer.php (5 imports)
- src/Detective.php (rewritten — see below)
Stubs three sites that depend on Minecraft-specific code with no
analogue in IndifferentKetchup\Codex:
- src/Detective.php no longer extends the Aternos Detective with
Minecraft + Hytale satellites. Instead it extends our codex's
Detective and registers ProjectZomboidDetective, which itself
pre-registers all 11 PZ log subclasses.
- src/Data/Deobfuscator.php is reduced to a no-op shell. mclogs used
aternos/sherlock to fetch Mojang/Yarn obfuscation maps and
deobfuscate Vanilla / Fabric stack traces. Project Zomboid uses no
such mapping scheme; the deobfuscator returns null until iblogs
supports Minecraft logs again. Class signature preserved so callers
in src/Log.php and elsewhere don't break.
- src/Printer/FormatModification.php no longer extends the Minecraft
section-sign-code translator. It extends IndifferentKetchup\Codex's
Modification base class with a pass-through modify() implementation.
The format-* CSS color classes are retained for any future game's
own format-code scheme to reuse.
Updates composer.json metadata: description rewritten to drop the
"Minecraft" framing, authors entry replaced with indifferentketchup /
samkintop@gmail.com.
Verification:
composer update --ignore-platform-req=ext-frankenphp \
--ignore-platform-req=ext-mongodb
-> resolves cleanly: 1 install (indifferentketchup/codex 0.2.0),
4 removals (the aternos/* set).
php -l on every touched file -> no syntax errors.
Autoload smoke test -> Detective registers 11 PZ log classes;
Printer instantiates; FormatModification stub returns input
unchanged.
278 lines
9.0 KiB
JSON
278 lines
9.0 KiB
JSON
{
|
|
"_readme": [
|
|
"This file locks the dependencies of your project to a known state",
|
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
|
"This file is @generated automatically"
|
|
],
|
|
"content-hash": "821a03243eb4b751e38ca3f8f063dd3e",
|
|
"packages": [
|
|
{
|
|
"name": "indifferentketchup/codex",
|
|
"version": "v0.2.0",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://git.indifferentketchup.com/indifferentketchup/ik-codex",
|
|
"reference": "2bd4fe6189c21be5b1fb03e8ac23b1a3c01d747c"
|
|
},
|
|
"require": {
|
|
"php": ">=8.4"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^12"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"IndifferentKetchup\\Codex\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"IndifferentKetchup\\Codex\\Test\\Src\\": "test/src/",
|
|
"IndifferentKetchup\\Codex\\Test\\Tests\\": "test/tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"phpunit test/tests"
|
|
]
|
|
},
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "indifferentketchup",
|
|
"email": "samkintop@gmail.com"
|
|
}
|
|
],
|
|
"description": "Generic PHP log parsing and analysis framework.",
|
|
"time": "2026-05-01T22:08:43+00:00"
|
|
},
|
|
{
|
|
"name": "mongodb/mongodb",
|
|
"version": "2.1.2",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/mongodb/mongo-php-library.git",
|
|
"reference": "0a2472ba9cbb932f7e43a8770aedb2fc30612a67"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/0a2472ba9cbb932f7e43a8770aedb2fc30612a67",
|
|
"reference": "0a2472ba9cbb932f7e43a8770aedb2fc30612a67",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"composer-runtime-api": "^2.0",
|
|
"ext-mongodb": "^2.1",
|
|
"php": "^8.1",
|
|
"psr/log": "^1.1.4|^2|^3",
|
|
"symfony/polyfill-php85": "^1.32"
|
|
},
|
|
"replace": {
|
|
"mongodb/builder": "*"
|
|
},
|
|
"require-dev": {
|
|
"doctrine/coding-standard": "^12.0",
|
|
"phpunit/phpunit": "^10.5.35",
|
|
"rector/rector": "^2.1.4",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"vimeo/psalm": "6.5.*"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "1.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"src/functions.php"
|
|
],
|
|
"psr-4": {
|
|
"MongoDB\\": "src/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"Apache-2.0"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Andreas Braun",
|
|
"email": "andreas.braun@mongodb.com"
|
|
},
|
|
{
|
|
"name": "Jeremy Mikola",
|
|
"email": "jmikola@gmail.com"
|
|
},
|
|
{
|
|
"name": "Jérôme Tamarelle",
|
|
"email": "jerome.tamarelle@mongodb.com"
|
|
}
|
|
],
|
|
"description": "MongoDB driver library",
|
|
"homepage": "https://jira.mongodb.org/browse/PHPLIB",
|
|
"keywords": [
|
|
"database",
|
|
"driver",
|
|
"mongodb",
|
|
"persistence"
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/mongodb/mongo-php-library/issues",
|
|
"source": "https://github.com/mongodb/mongo-php-library/tree/2.1.2"
|
|
},
|
|
"time": "2025-10-06T12:12:40+00:00"
|
|
},
|
|
{
|
|
"name": "psr/log",
|
|
"version": "3.0.2",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/php-fig/log.git",
|
|
"reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
|
|
"reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=8.0.0"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "3.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Psr\\Log\\": "src"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "PHP-FIG",
|
|
"homepage": "https://www.php-fig.org/"
|
|
}
|
|
],
|
|
"description": "Common interface for logging libraries",
|
|
"homepage": "https://github.com/php-fig/log",
|
|
"keywords": [
|
|
"log",
|
|
"psr",
|
|
"psr-3"
|
|
],
|
|
"support": {
|
|
"source": "https://github.com/php-fig/log/tree/3.0.2"
|
|
},
|
|
"time": "2024-09-11T13:17:53+00:00"
|
|
},
|
|
{
|
|
"name": "symfony/polyfill-php85",
|
|
"version": "v1.37.0",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/symfony/polyfill-php85.git",
|
|
"reference": "fcfa4973a9917cef23f2e38774da74a2b7d115ee"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/fcfa4973a9917cef23f2e38774da74a2b7d115ee",
|
|
"reference": "fcfa4973a9917cef23f2e38774da74a2b7d115ee",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=7.2"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"thanks": {
|
|
"url": "https://github.com/symfony/polyfill",
|
|
"name": "symfony/polyfill"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"bootstrap.php"
|
|
],
|
|
"psr-4": {
|
|
"Symfony\\Polyfill\\Php85\\": ""
|
|
},
|
|
"classmap": [
|
|
"Resources/stubs"
|
|
]
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Nicolas Grekas",
|
|
"email": "p@tchwork.com"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "https://symfony.com/contributors"
|
|
}
|
|
],
|
|
"description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions",
|
|
"homepage": "https://symfony.com",
|
|
"keywords": [
|
|
"compatibility",
|
|
"polyfill",
|
|
"portable",
|
|
"shim"
|
|
],
|
|
"support": {
|
|
"source": "https://github.com/symfony/polyfill-php85/tree/v1.37.0"
|
|
},
|
|
"funding": [
|
|
{
|
|
"url": "https://symfony.com/sponsor",
|
|
"type": "custom"
|
|
},
|
|
{
|
|
"url": "https://github.com/fabpot",
|
|
"type": "github"
|
|
},
|
|
{
|
|
"url": "https://github.com/nicolas-grekas",
|
|
"type": "github"
|
|
},
|
|
{
|
|
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
"type": "tidelift"
|
|
}
|
|
],
|
|
"time": "2026-04-26T13:10:57+00:00"
|
|
}
|
|
],
|
|
"packages-dev": [],
|
|
"aliases": [],
|
|
"minimum-stability": "stable",
|
|
"stability-flags": {},
|
|
"prefer-stable": false,
|
|
"prefer-lowest": false,
|
|
"platform": {
|
|
"php": ">=8.5",
|
|
"ext-frankenphp": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-mongodb": "*",
|
|
"ext-uri": "*",
|
|
"ext-zlib": "*"
|
|
},
|
|
"platform-dev": {},
|
|
"plugin-api-version": "2.9.0"
|
|
}
|