Answer by Srihari for Creating a web service in PHP
You can use any existing PHP framework like CodeIgniter or Symfony or CakePHP to build the webservices.You can also use plain PHP like disscussed in this example
View ArticleAnswer by Chatura Dilan for Creating a web service in PHP
You can also try PHP REST Data Services https://github.com/chaturadilan/PHP-Data-Services
View ArticleAnswer by Jake Sankey for Creating a web service in PHP
I developed a class that is the PHP native SoapServer class' REST equivalent.You just include the RestServer.php file and then use it as follows.class Hello{ public static function sayHello($name) {...
View ArticleAnswer by Mirko Akov for Creating a web service in PHP
You can check out this nice RESTful server written for Codeigniter, RESTful server.It does support XML, JSON, etc. responses, so I think this is your library.There is even a nice tutorial for this on...
View ArticleAnswer by Andy for Creating a web service in PHP
PHP does have native support for a SOAP server ( The SoapServer class manual shows it) and I've found it pretty simple to use.Creating a REST style API is pretty easy if you use a framework. I don't...
View ArticleAnswer by Silviu-Marian for Creating a web service in PHP
Easiest way in PHP is to use GET/POST as data-in and echo as data-out.Here's a sample:<?php if(empty($_GET['method'])) die('no method specified');switch($_GET['method']){ case 'add': {...
View ArticleAnswer by Afnan Bashir for Creating a web service in PHP
I would suggest you go for Yii it is worth of learning. You can easily establish it in this.Web Service. Yii provides CWebService and CWebServiceAction to simplify the work of implementing Web service...
View ArticleCreating a web service in PHP
I would like to create a web service in PHP which can be consumed by different consumers (Web page, Android device, iOS device).I come from a Microsoft background so am confortable in how I would do it...
View Article