Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changelog/2026-11-04-artificenerd-github-urls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: changed
type: patch
---

Update current GitHub repository, profile and documentation URLs for the artificenerd account while retaining the coisa/error-handler Composer package and CoiSA PHP namespace.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This source file is subject to the license that is bundled
* with this source code in the file LICENSE.
*
* @link https://github.com/coisa/error-handler
* @link https://github.com/artificenerd/error-handler
*
* @copyright Copyright (c) 2022-2026 Felipe Sayão Lobato Abreu <[email protected]>
* @license https://opensource.org/licenses/MIT MIT License
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ their logger, dispatcher, HTTP factories and response emitter as needed.

Match the documentation to your installed package and its [release history](CHANGELOG.md).
For an upgrade from 2.x, follow the [migration guide](docs/migration.md) and
compare the [2.x API](https://github.com/coisa/error-handler/tree/v2.5.0).
compare the [2.x API](https://github.com/artificenerd/error-handler/tree/v2.5.0).

## 🛠️ Quick start

Expand Down Expand Up @@ -62,7 +62,7 @@ application's private diagnostic sink.

All three constructor inputs accept the matching handler interface or a callable;
omitted PHP-error and shutdown inputs retain their defaults. Existing interface
objects keep their identity. See the [complete three-callback recipe](https://github.com/coisa/error-handler/blob/master/examples/php-errors.php).
objects keep their identity. See the [complete three-callback recipe](https://github.com/artificenerd/error-handler/blob/master/examples/php-errors.php).

## 🧰 Choose an integration

Expand All @@ -75,10 +75,10 @@ objects keep their identity. See the [complete three-callback recipe](https://gi
| Filter or fan out | [Filtering][link-filtering], [aggregates][link-aggregates] and [best effort][link-best-effort]. |
| Use a container | [Interop/FastForward provider, overrides and fresh scopes](docs/fast-forward.md). |
| Return an HTTP response | [PSR-15 middleware and PSR-17 composition](docs/http.md). |
| Return JSON with one private report | [Opt-in JSON rendering](docs/http.md#opt-in-json-responses-and-explicit-reporting) and [complete recipe](https://github.com/coisa/error-handler/blob/master/examples/http-json.php). |
| Use Interop/FastForward providers | [Request-aware provider](docs/fast-forward.md#request-aware-responses) and [complete provider recipe](https://github.com/coisa/error-handler/blob/master/examples/provider-json.php). |
| Return public or diagnostic HTML | [Symfony HTML](docs/http.md#public-html) and [complete recipe](https://github.com/coisa/error-handler/blob/master/examples/http-html.php). |
| Select optional Whoops diagnostics | [Development HTML configuration](docs/fast-forward.md#development-html-configuration) and [complete provider recipe](https://github.com/coisa/error-handler/blob/master/examples/provider-whoops.php). |
| Return JSON with one private report | [Opt-in JSON rendering](docs/http.md#opt-in-json-responses-and-explicit-reporting) and [complete recipe](https://github.com/artificenerd/error-handler/blob/master/examples/http-json.php). |
| Use Interop/FastForward providers | [Request-aware provider](docs/fast-forward.md#request-aware-responses) and [complete provider recipe](https://github.com/artificenerd/error-handler/blob/master/examples/provider-json.php). |
| Return public or diagnostic HTML | [Symfony HTML](docs/http.md#public-html) and [complete recipe](https://github.com/artificenerd/error-handler/blob/master/examples/http-html.php). |
| Select optional Whoops diagnostics | [Development HTML configuration](docs/fast-forward.md#development-html-configuration) and [complete provider recipe](https://github.com/artificenerd/error-handler/blob/master/examples/provider-whoops.php). |

One Interop provider supplies lifecycle services and request-aware responses.
It selects JSON Problem Details or Symfony HTML when accepted and a generic fallback otherwise. Trusted
Expand Down Expand Up @@ -113,22 +113,22 @@ failure propagation, callback ownership and output-buffer limits.

## 📚 Guides and examples

- [Complete cookbook](docs/examples.md), [application setup](https://github.com/coisa/error-handler/blob/master/examples/README.md)
and [bounded example verification](https://github.com/coisa/error-handler/blob/master/examples/verify.md).
- [Source documentation](https://github.com/coisa/error-handler/blob/master/docs/index.html), [web documentation][link-docs] and
- [Complete cookbook](docs/examples.md), [application setup](https://github.com/artificenerd/error-handler/blob/master/examples/README.md)
and [bounded example verification](https://github.com/artificenerd/error-handler/blob/master/examples/verify.md).
- [Source documentation](https://github.com/artificenerd/error-handler/blob/master/docs/index.html), [web documentation][link-docs] and
[API reference](docs/api.md).
- [Portable `coisa-error-handler` consumer skill](resources/skills/coisa-error-handler/SKILL.md)
with complete application examples; [optional installation](docs/agent-skill.md)
remains a consumer choice.
- [Packagist][link-packagist], [release history](CHANGELOG.md) and
[repository](https://github.com/coisa/error-handler).
[repository](https://github.com/artificenerd/error-handler).

## 🤝 Contributing

For suspected vulnerabilities, follow the [security policy](SECURITY.md) and use
the private reporting channel. Ordinary bugs and feature requests belong in issues.

Follow the [contributor guide](https://github.com/coisa/error-handler/blob/master/CONTRIBUTING.md) for dependency setup and
Follow the [contributor guide](https://github.com/artificenerd/error-handler/blob/master/CONTRIBUTING.md) for dependency setup and
`composer --no-plugins check`. See [testing](docs/testing.md) for process fixtures
and platform evidence, and the [release process](docs/releases.md) for independent
release notes and reviewed version PRs. Release automation uses the Fast Forward
Expand All @@ -140,14 +140,14 @@ Changelog reusable workflow without adding a runtime or Node dependency.

[ico-php]: https://img.shields.io/packagist/php-v/coisa/error-handler?logo=php&logoColor=white
[ico-package]: https://img.shields.io/badge/composer-coisa%2Ferror--handler-F28D1A?logo=composer&logoColor=white
[ico-build]: https://img.shields.io/github/actions/workflow/status/coisa/error-handler/ci.yml?branch=master&logo=githubactions&logoColor=white&label=tests
[ico-build]: https://img.shields.io/github/actions/workflow/status/artificenerd/error-handler/ci.yml?branch=master&logo=githubactions&logoColor=white&label=tests
[ico-docs]: https://img.shields.io/badge/docs-guides-38BDF8?logo=readthedocs&logoColor=white
[ico-license]: https://img.shields.io/badge/license-MIT-64748B

[link-packagist]: https://packagist.org/packages/coisa/error-handler
[link-build]: https://github.com/coisa/error-handler/actions/workflows/ci.yml
[link-docs]: https://coisa.github.io/error-handler/
[link-author]: https://github.com/coisa
[link-build]: https://github.com/artificenerd/error-handler/actions/workflows/ci.yml
[link-docs]: https://artificenerd.github.io/error-handler/
[link-author]: https://github.com/artificenerd
[link-reporters]: docs/api.md#lifecycle-and-diagnostic-reporting
[link-lifecycle]: docs/api.md#lifecycle-and-diagnostic-reporting
[link-logging]: docs/api.md#direct-psr-3-logging
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ release to receive fixes.

## Report a vulnerability privately

Use the repository's [private vulnerability reporting channel](https://github.com/coisa/error-handler/security/advisories/new).
Use the repository's [private vulnerability reporting channel](https://github.com/artificenerd/error-handler/security/advisories/new).
Keep suspected vulnerabilities out of public issues until disclosure has been coordinated.

Include:
Expand All @@ -23,5 +23,5 @@ application records with synthetic examples.

## Ordinary bugs and feature requests

Use [repository issues](https://github.com/coisa/error-handler/issues) for bugs
Use [repository issues](https://github.com/artificenerd/error-handler/issues) for bugs
without a security impact and for feature proposals.
12 changes: 6 additions & 6 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ try {
```

For process-wide uncaught handling, keep the handler registered through termination,
as in [the CLI example](https://github.com/coisa/error-handler/blob/master/examples/cli.php). PHP executes finally before dispatching
as in [the CLI example](https://github.com/artificenerd/error-handler/blob/master/examples/cli.php). PHP executes finally before dispatching
an uncaught exception, so unregistering there returns responsibility to the previous
handler. Direct `handleThrowable()` delivers the original object and returns; the
registered uncaught callback exits 1 when reporting returns normally.
Expand Down Expand Up @@ -49,7 +49,7 @@ Callbacks receive one Throwable, four PHP-error arguments, or no shutdown
arguments respectively; their return values are ignored. Explicit adapter objects
remain useful when another API requires an interface. Null and omitted options
retain the default policies below, including shutdown reporting through the same
ErrorHandler. The [complete callback recipe](https://github.com/coisa/error-handler/blob/master/examples/php-errors.php) supplies
ErrorHandler. The [complete callback recipe](https://github.com/artificenerd/error-handler/blob/master/examples/php-errors.php) supplies
all three callables and pairs active shutdown notification with cleanup.

The default `ThrowErrorExceptionPhpErrorHandler` honors `error_reporting()` and
Expand Down Expand Up @@ -114,7 +114,7 @@ It is not automatically attached when a logger is available in the container.
Construct it explicitly or bind `ThrowableHandlerInterface` using the
[merged-provider override](fast-forward.md#required-overrides).

See [the complete logging example](https://github.com/coisa/error-handler/blob/master/examples/logging.php). Unlike this direct
See [the complete logging example](https://github.com/artificenerd/error-handler/blob/master/examples/logging.php). Unlike this direct
adapter, `LogErrorEventListener` retains its event-string message policy.

For structured logging through an `ErrorEvent`, compose `ErrorEventCallableListener`
Expand All @@ -140,7 +140,7 @@ No output, default filtering policy, registration or automatic aggregate discove
is added. A skipped report does not recover the operation, change PHP suppression
or choose the HTTP response. Rendering remains a separate public
boundary regardless of whether a diagnostic reporter forwards the event.
See [the filtering example](https://github.com/coisa/error-handler/blob/master/examples/filtering.php); select PHP severity via
See [the filtering example](https://github.com/artificenerd/error-handler/blob/master/examples/filtering.php); select PHP severity via
ErrorException::getSeverity(), not an arbitrary exception code.

## Callable PHP-error policy
Expand All @@ -153,7 +153,7 @@ There is no fifth errcontext argument, automatic mask check, conversion or outpu

The callback owns suppression/conversion policy and its failures propagate
unchanged. Through ErrorHandler, a thrown ErrorException follows the normal
reporting boundary; other failures propagate. The [complete PHP-error example](https://github.com/coisa/error-handler/blob/master/examples/php-errors.php)
reporting boundary; other failures propagate. The [complete PHP-error example](https://github.com/artificenerd/error-handler/blob/master/examples/php-errors.php)
explicitly checks `error_reporting() & $code` before converting an enabled error.

Pass the callable directly as the second ErrorHandler argument, or keep the
Expand Down Expand Up @@ -276,7 +276,7 @@ If any reporter throws, including partial success, one
returns the nonempty ordered list of identical reporter failures. Its constructor
requires the original, one failure and optional remaining failures. The summary is
fixed, but stored causes/failures and exception strings remain private diagnostics.
Use the [complete recipe](https://github.com/coisa/error-handler/blob/master/examples/best-effort.php) for explicit terminal handling.
Use the [complete recipe](https://github.com/artificenerd/error-handler/blob/master/examples/best-effort.php) for explicit terminal handling.

No retry, deduplication, reentry guard or durable transport is added. Native
termination can prevent later attempts. Default provider composition stays
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ and `setAutoExit(false)` on its Console application. Catch once around
`run()`, report the original once and choose the command's exit status there.
Do not report and then let Console render the same failure again.

The [complete recipe](https://github.com/coisa/error-handler/blob/master/examples/symfony-cli.php)
The [complete recipe](https://github.com/artificenerd/error-handler/blob/master/examples/symfony-cli.php)
has direct, provider and Console modes. It uses `BufferedOutput` only to verify
the synthetic diagnostic without sending it to a terminal. The
[bundled consumer program](../resources/skills/coisa-error-handler/examples/symfony-cli.php)
Expand Down
Loading
Loading