2026-07-07 11:07:47 +00:00
|
|
|
{
|
|
|
|
|
"name": "blax-software/reactphp-kernel",
|
|
|
|
|
"description": "Protocol-agnostic ReactPHP backbone: event-loop lifecycle, socket accept, IPC, signal handling and graceful shutdown, shared by blax realtime servers (WebSockets, WebRTC, ...).",
|
|
|
|
|
"type": "library",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"keywords": ["reactphp", "event-loop", "kernel", "realtime", "websocket", "webrtc", "ipc", "daemon"],
|
|
|
|
|
"authors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Blax Software",
|
|
|
|
|
"email": "office@blax.at"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"require": {
|
chore: finish package to Blax standard (namespace, README, tests, scaffolding)
- Rename namespace BlaxSoftware\ReactPhpKernel -> Blax\ReactPhpKernel (house
standard; the BlaxSoftware\LaravelWebSockets form is grandfathered only there)
- README rewritten to the Blax OSS package principles: OSS banner, title+badges,
emoji feature list, quick start, what's-in-the-box, testing, star history
- Add PHPUnit suite (13 tests / 19 assertions, green) + phpunit.xml.dist
- Add pint.json (laravel preset, applied), composer scripts (test/lint),
.gitattributes export-ignores, test.sh (nix), CHANGELOG
- composer.json: Blax psr-4, PHP ^8.1-^8.4, dev deps
rel learn-atc #1055
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 11:24:36 +00:00
|
|
|
"php": "^8.1|^8.2|^8.3|^8.4",
|
2026-07-07 11:07:47 +00:00
|
|
|
"react/event-loop": "^1.5",
|
|
|
|
|
"react/socket": "^1.15",
|
|
|
|
|
"react/stream": "^1.3"
|
|
|
|
|
},
|
|
|
|
|
"require-dev": {
|
chore: finish package to Blax standard (namespace, README, tests, scaffolding)
- Rename namespace BlaxSoftware\ReactPhpKernel -> Blax\ReactPhpKernel (house
standard; the BlaxSoftware\LaravelWebSockets form is grandfathered only there)
- README rewritten to the Blax OSS package principles: OSS banner, title+badges,
emoji feature list, quick start, what's-in-the-box, testing, star history
- Add PHPUnit suite (13 tests / 19 assertions, green) + phpunit.xml.dist
- Add pint.json (laravel preset, applied), composer scripts (test/lint),
.gitattributes export-ignores, test.sh (nix), CHANGELOG
- composer.json: Blax psr-4, PHP ^8.1-^8.4, dev deps
rel learn-atc #1055
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 11:24:36 +00:00
|
|
|
"phpunit/phpunit": "^10.5|^11.0",
|
|
|
|
|
"laravel/pint": "^1.13"
|
2026-07-07 11:07:47 +00:00
|
|
|
},
|
|
|
|
|
"suggest": {
|
|
|
|
|
"ext-pcntl": "Signal handling (graceful shutdown) and reaping of forked children.",
|
|
|
|
|
"ext-sockets": "Required for the SocketPairIpc parent<->child channel."
|
|
|
|
|
},
|
|
|
|
|
"autoload": {
|
|
|
|
|
"psr-4": {
|
chore: finish package to Blax standard (namespace, README, tests, scaffolding)
- Rename namespace BlaxSoftware\ReactPhpKernel -> Blax\ReactPhpKernel (house
standard; the BlaxSoftware\LaravelWebSockets form is grandfathered only there)
- README rewritten to the Blax OSS package principles: OSS banner, title+badges,
emoji feature list, quick start, what's-in-the-box, testing, star history
- Add PHPUnit suite (13 tests / 19 assertions, green) + phpunit.xml.dist
- Add pint.json (laravel preset, applied), composer scripts (test/lint),
.gitattributes export-ignores, test.sh (nix), CHANGELOG
- composer.json: Blax psr-4, PHP ^8.1-^8.4, dev deps
rel learn-atc #1055
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 11:24:36 +00:00
|
|
|
"Blax\\ReactPhpKernel\\": "src/"
|
2026-07-07 11:07:47 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"autoload-dev": {
|
|
|
|
|
"psr-4": {
|
chore: finish package to Blax standard (namespace, README, tests, scaffolding)
- Rename namespace BlaxSoftware\ReactPhpKernel -> Blax\ReactPhpKernel (house
standard; the BlaxSoftware\LaravelWebSockets form is grandfathered only there)
- README rewritten to the Blax OSS package principles: OSS banner, title+badges,
emoji feature list, quick start, what's-in-the-box, testing, star history
- Add PHPUnit suite (13 tests / 19 assertions, green) + phpunit.xml.dist
- Add pint.json (laravel preset, applied), composer scripts (test/lint),
.gitattributes export-ignores, test.sh (nix), CHANGELOG
- composer.json: Blax psr-4, PHP ^8.1-^8.4, dev deps
rel learn-atc #1055
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 11:24:36 +00:00
|
|
|
"Blax\\ReactPhpKernel\\Tests\\": "tests/"
|
2026-07-07 11:07:47 +00:00
|
|
|
}
|
|
|
|
|
},
|
chore: finish package to Blax standard (namespace, README, tests, scaffolding)
- Rename namespace BlaxSoftware\ReactPhpKernel -> Blax\ReactPhpKernel (house
standard; the BlaxSoftware\LaravelWebSockets form is grandfathered only there)
- README rewritten to the Blax OSS package principles: OSS banner, title+badges,
emoji feature list, quick start, what's-in-the-box, testing, star history
- Add PHPUnit suite (13 tests / 19 assertions, green) + phpunit.xml.dist
- Add pint.json (laravel preset, applied), composer scripts (test/lint),
.gitattributes export-ignores, test.sh (nix), CHANGELOG
- composer.json: Blax psr-4, PHP ^8.1-^8.4, dev deps
rel learn-atc #1055
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 11:24:36 +00:00
|
|
|
"scripts": {
|
|
|
|
|
"test": "vendor/bin/phpunit",
|
|
|
|
|
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
|
|
|
|
|
"lint": "vendor/bin/pint",
|
|
|
|
|
"lint-test": "vendor/bin/pint --test"
|
|
|
|
|
},
|
2026-07-07 11:07:47 +00:00
|
|
|
"config": {
|
|
|
|
|
"sort-packages": true
|
|
|
|
|
},
|
|
|
|
|
"minimum-stability": "stable",
|
|
|
|
|
"prefer-stable": true
|
|
|
|
|
}
|