title: create api using php
body: <p>I want to develop one simple api using php.</p>
  
  <p>My functionality is that if some one enter some required values then they will get calculation result from the algorithm beside on my site.</p>
  
  <p>I am not getting from where can i start.
  and also not getting any sample code for API using PHP.</p>