Kdyby/Events are compatible with events dispatcher in doctrine/common, so you can use them with Doctrine.
The best way to install Kdyby/Events is using Composer:
$ composer require kdyby/events
Learn more in the documentation.
Homepage http://www.kdyby.org and repository http://github.com/kdyby/events.