From 65f31cf35b3d7402996a1ca347b6f0e4269f01ef Mon Sep 17 00:00:00 2001 From: Omar Barbosa Date: Mon, 6 Apr 2026 08:12:27 -0500 Subject: [PATCH 1/3] fix: update documentation link to the correct URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e07ff87..62194f0 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Phenix is a web framework built on pure PHP, without external extensions, based ## Learning Phenix -You can learn about Phenix in the official [documentation](https://phenix.omarbarbosa.com) and discover the power of asynchronous and concurrent applications in native PHP. +You can learn about Phenix in the official [documentation](https://phenixphp.com) and discover the power of asynchronous and concurrent applications in native PHP. ## Security Vulnerabilities From bea47def1fdeeb6a7b7a6ad1bb5409ff54372b36 Mon Sep 17 00:00:00 2001 From: Omar Barbosa Date: Mon, 6 Apr 2026 08:36:36 -0500 Subject: [PATCH 2/3] fix: update documentation link to the correct URL --- .github/copilot-instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 0f0ad3f..b7b0142 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -2,7 +2,7 @@ ## Architecture Overview -**Phenix** is an asynchronous PHP web framework built on the [AmPHP](https://amphp.org/) ecosystem. This is a **skeleton application** that depends on `phenixphp/framework` for core functionality. Official documentation can be found at [Phenix Documentation](https://phenix.omarbarbosa.com/). +**Phenix** is an asynchronous PHP web framework built on the [AmPHP](https://amphp.org/) ecosystem. This is a **skeleton application** that depends on `phenixphp/framework` for core functionality. Official documentation can be found at [Phenix Documentation](https://phenixphp.com/). ### Key Components - **App Structure**: Standard MVC with `app/` (controllers, tasks), `config/` (service configs), `routes/` (API definitions) @@ -48,7 +48,7 @@ composer analyze # PHPStan class MyTask extends QueuableTask { protected int|null $maxTries = 3; // Configure retries - + protected function handle(Channel $channel, Cancellation $cancellation): Result { // Async task logic here From 90bff7addd3ed87f51bbe2d7df05f8a51c294fd5 Mon Sep 17 00:00:00 2001 From: Omar Barbosa Date: Mon, 6 Apr 2026 08:38:25 -0500 Subject: [PATCH 3/3] feat: add initial event listening file with strict types declaration --- listen/events.php | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 listen/events.php diff --git a/listen/events.php b/listen/events.php new file mode 100644 index 0000000..174d7fd --- /dev/null +++ b/listen/events.php @@ -0,0 +1,3 @@ +