PHPackages                             contributte/event-security-bridge - 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. contributte/event-security-bridge

Abandoned → [contributte/event-dispatcher-extra](/?search=contributte%2Fevent-dispatcher-extra)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

contributte/event-security-bridge
=================================

Bridge between event dispatcher and nette security

v0.1(8y ago)131.5k11MITPHPPHP &gt;= 5.6CI failing

Since Jul 4Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/contributte/event-security-bridge)[ Packagist](https://packagist.org/packages/contributte/event-security-bridge)[ Docs](https://github.com/contributte/event-security-bridge)[ RSS](/packages/contributte-event-security-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (1)

[![](https://camo.githubusercontent.com/be0f4c19461a4abf404aace14c42bb09ba4f121b0571f6a590f52ceed3905f95/68747470733a2f2f686561746261646765722e76657263656c2e6170702f6769746875622f726561646d652f636f6e74726962757474652f6576656e742d73656375726974792d6272696467652f3f646570726563617465643d31)](https://camo.githubusercontent.com/be0f4c19461a4abf404aace14c42bb09ba4f121b0571f6a590f52ceed3905f95/68747470733a2f2f686561746261646765722e76657263656c2e6170702f6769746875622f726561646d652f636f6e74726962757474652f6576656e742d73656375726974792d6272696467652f3f646570726563617465643d31)

 [![](https://camo.githubusercontent.com/a8b1cd856d7d396fdebbe46947cc3507490acc267a02361e5e53bb7b820c95c3/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e)](https://bit.ly/ctteg) [![](https://camo.githubusercontent.com/86d6416fc04f8bcc3daa7bf881526b9953b9726b1164d05c157c8713e3a73418/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77)](https://bit.ly/cttfo) [![](https://camo.githubusercontent.com/5d170ab94e6d594609561e16fe0f9e4293968fbd4dfcfafc5e11efc1415ef09c/68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534)](https://contributte.org/partners.html)

 Website 🚀 [contributte.org](https://contributte.org) | Contact 👨🏻‍💻 [f3l1x.io](https://f3l1x.io) | Twitter 🐦 [@contributte](https://twitter.com/contributte)

Disclaimer
----------

[](#disclaimer)

⚠️This project is no longer being maintained. Please use [contributte/event-dispatcher-extra](https://github.com/contributte/event-dispatcher-extra).Composer[`contributte/event-security-bridge`](https://packagist.org/packages/contributte/event-security-bridge)Version[![](https://camo.githubusercontent.com/153f06b7b9b06d926c304bcf76ed11b7f456e4956786de511b2777a01991f72d/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)](https://camo.githubusercontent.com/153f06b7b9b06d926c304bcf76ed11b7f456e4956786de511b2777a01991f72d/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)PHP[![](https://camo.githubusercontent.com/6238a782247c2991aba2311658a188fac8f270298321011b03706140a40e2792/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)](https://camo.githubusercontent.com/6238a782247c2991aba2311658a188fac8f270298321011b03706140a40e2792/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)License[![](https://camo.githubusercontent.com/20adb191bcc4240287e2c4705d22a343a7cfe1183e9396ec4cd6abca980aef10/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)](https://camo.githubusercontent.com/20adb191bcc4240287e2c4705d22a343a7cfe1183e9396ec4cd6abca980aef10/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f636f6e74726962757474652f6576656e742d73656375726974792d627269646765)Versions
--------

[](#versions)

StateVersionBranchPHPstable`^0.1``master``>= 5.6`Usage 🎉
-------

[](#usage-tada)

```
extensions:
	events: Contributte\EventDispatcher\DI\EventDispatcherExtension
	events2security: Contributte\Events\Bridges\Security\DI\EventSecurityBridgeExtension
```

### Bridge 🔧

[](#bridge-wrench)

There are several Nette Security events on which you can listen to.

```
use Contributte\Events\Bridges\Security\Event\LoggedInEvent;
use Contributte\Events\Bridges\Security\Event\LoggedOutEvent;
```

- `LoggedInEvent::NAME` &amp;&amp; `SecurityEvents::ON_LOGGED_IN`
- `LoggedOutEvent::NAME` &amp;&amp; `SecurityEvents::ON_LOGGED_OUT`

### Subscriber 💡

[](#subscriber-bulb)

```
use Contributte\EventDispatcher\EventSubscriber;
use Contributte\Events\Bridges\Security\Event\LoggedInEvent;
use Contributte\Events\Bridges\Security\Event\SecurityEvents;

final class LoggedInSubscriber implements EventSubscriber
{

	/**
	 * @return array
	 */
	public static function getSubscribedEvents()
	{
		return [SecurityEvents::ON_LOGGED_IN => 'onLoggedIn'];
	}

	/**
	 * @param LoggedInEvent $event
	 * @return void
	 */
	public function onLoggedIn(LoggedInEvent $event)
	{
		// do magic
	}

}
```

Development
-----------

[](#development)

This package was maintained by these authors.

[ ![](https://avatars2.githubusercontent.com/u/538058?v=3&s=80)](https://github.com/f3l1x)---

Consider to [support](https://contributte.org/partners.html) **contributte** development team. Also thank you for using this package.

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance52

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

3230d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (7 commits)")[![petrparolek](https://avatars.githubusercontent.com/u/6066243?v=4)](https://github.com/petrparolek "petrparolek (6 commits)")[![pavelkovar](https://avatars.githubusercontent.com/u/19745438?v=4)](https://github.com/pavelkovar "pavelkovar (1 commits)")

---

Tags

contributteevent-dispatchereventsnette-frameworkphpsecurityeventnetteBridgeapplicationdispatcher

### Embed Badge

![Health badge](/badges/contributte-event-security-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/contributte-event-security-bridge/health.svg)](https://phpackages.com/packages/contributte-event-security-bridge)
```

###  Alternatives

[contributte/event-dispatcher

Best event dispatcher / event manager / event emitter for Nette Framework

292.4M19](/packages/contributte-event-dispatcher)

PHPackages © 2026

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