2017 © Pedro Peláez
 

library event-dispatcher

Symfony\EventDispatcher integration to Nette.

image

symnedi/event-dispatcher

Symfony\EventDispatcher integration to Nette.

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 12 Versions
  • 3 % Grown

The README.md

Symnedi/EventDispatcher

Build Status Quality Score Code Coverage Downloads Latest stable, (*1)

Integration of Symfony\EventDispatcher into Nette\DI., (*2)

Install

$ composer require symnedi/event-dispatcher

Register the extension in config.neon:, (*3)

extensions:
    - Symnedi\EventDispatcher\DI\EventDispatcherExtension

Usage

There are 3 important parts using EventDispatcher:, (*4)

  • Event
  • EventSubscriber
  • EventDispatcher

Event is value object, it simply stores data we use - e.g. user email and password., (*5)

EventSubscriber listens to certain event and invokes some action, when that happens - when user logs in., (*6)

EventDispatcher invokes the event in the place where it happens - in the login form just after the login method., (*7)

To see the real code in practise, there is example section with both Event and EventSubscriber., (*8)

Also you can find AppEvents.php that basically lists all used events. It's not necessary for the starters, just convenient in huge applications., (*9)

For more details, check Symfony documentation, or this very nice presentation with real-life examples., (*10)

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details., (*11)

The Versions

25/07 2016

dev-master

9999999-dev

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

25/07 2016

v0.4.0

0.4.0.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

30/04 2016

v0.3.2

0.3.2.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

27/10 2015

v0.3.1

0.3.1.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

24/10 2015

v0.3.0

0.3.0.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

23/10 2015

v0.2.3

0.2.3.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

23/10 2015

v0.2.2

0.2.2.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

10/07 2015

v0.2.1

0.2.1.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

04/07 2015

v0.2.0

0.2.0.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

04/06 2015

v0.1.1

0.1.1.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

03/06 2015

v0.1.0

0.1.0.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher

01/06 2015

v0.0.1

0.0.1.0

Symfony\EventDispatcher integration to Nette.

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony event nette event-dispatcher