copy from orchestra-io/sample-zend-framework