Use Revolt as the base namespace instead of EventLoop so end users can reuse existing components (like amphp) that depend on the Revolt PHP ecosystem. End users only need to replace revolt/event-loop with ext-eventloop in their composer.json to make this extension a drop-in replacement.
In end user composer.json end user just need to replace implementation since the requirement already fulfilled with this extension
{
"require": {
"php": "^8.1",
"ext-eventloop": "*"
},
"replace": {
"revolt/event-loop": "*"
}
}
Use Revolt as the base namespace instead of EventLoop so end users can reuse existing components (like amphp) that depend on the Revolt PHP ecosystem. End users only need to replace revolt/event-loop with ext-eventloop in their composer.json to make this extension a drop-in replacement.
In end user
composer.jsonend user just need to replace implementation since the requirement already fulfilled with this extension{ "require": { "php": "^8.1", "ext-eventloop": "*" }, "replace": { "revolt/event-loop": "*" } }