PHPackages                             webchemistry/application-exception-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webchemistry/application-exception-handler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webchemistry/application-exception-handler
==========================================

v1.0.0(5y ago)03.2kPHPPHP &gt;= 7.4

Since Dec 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/WebChemistry/application-exception-handler)[ Packagist](https://packagist.org/packages/webchemistry/application-exception-handler)[ RSS](/packages/webchemistry-application-exception-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Application exception handler
-----------------------------

[](#application-exception-handler)

```
use Nette\Application\UI\Presenter;
use WebChemistry\ApplicationExceptionHandler\ApplicationExceptionHandler;
use WebChemistry\ApplicationExceptionHandler\ApplicationExceptionHandlerTrait;
use WebChemistry\ApplicationExceptionHandler\ApplicationExceptionRequest;

abstract class BasePresenter extends Presenter {

	use ApplicationExceptionHandlerTrait;

	protected function initializeApplicationExceptionHandlers(ApplicationExceptionHandler $handler): void
	{
		$handler->addCatchException(
			[UserNotLoggedInException::class],
			function (ApplicationExceptionRequest $request): void {
				$request->flashMessage('Musíte se nejprve přihlásit.', 'error');

				$request->redirect('@signIn', [
					'backlink' => $request->link('this', ['backlink' => null]),
				]);
			}
		);
	}

}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/312e788a47a251e05734378921d4596a91819b7de416fa18e77aa69e08798ea8?d=identicon)[Antik](/maintainers/Antik)

---

Top Contributors

[![MartkCz](https://avatars.githubusercontent.com/u/10145362?v=4)](https://github.com/MartkCz "MartkCz (2 commits)")

### Embed Badge

![Health badge](/badges/webchemistry-application-exception-handler/health.svg)

```
[![Health](https://phpackages.com/badges/webchemistry-application-exception-handler/health.svg)](https://phpackages.com/packages/webchemistry-application-exception-handler)
```

###  Alternatives

[asmpkg/ofx

Transforma em objetos dados de um arquivo de extrato bancario OFX.

172.4k](/packages/asmpkg-ofx)[hashandsalt/kirby3-video

Kirby 3 Video embed plugin

251.1k](/packages/hashandsalt-kirby3-video)[gerardojbaez/vehicle

Laravel 5.2 package to work with vehicles data.

171.8k](/packages/gerardojbaez-vehicle)[entrepreneur-interet-general/bulletins

Bulletins is a simple weekly retrospective tool for multiple projects or teams

122.6k](/packages/entrepreneur-interet-general-bulletins)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
