PHP Library for events dispatching