A template for creating php services using the Apache Thrift IDL