A simple implementation using Zend Framework 2.