PHP implementation of Fowler's Notification pattern