WSO2 WSF/PHP framework, http://wso2.org/projects/wsf/php, provides comprehensive support for implementing REST style services and clients. The framework provides an API that makes it easy to map design to the implementation.
In this chapter, we discussed how to use WSF/PHP service and client API to implement the sample library system as a REST service, and implemented a REST client to consume the same. We also looked into using the SOAP features provided in the frameworks to implement a SOAP client to consume the same service using SOAP style messages.
We also discussed the differences between REST and SOAP message styles.
You can try the samples that are available online at