PHP Classes

spf PHP API Class JSON Library: Handle API calls with parameters passed as JSON

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 42 All time: 10,669 This week: 310Up
Version License PHP version Categories
spfapi 1.0Custom (specified...7HTTP, Web services, PHP 7


This class can handle API calls with parameters passed as JSON.

It checks the current HTTP request GET and POST parameters to extract parameters that may be passed in JSON format to the server to be handled by this class.

The class can return the name of the requested API command, parameter values and uploaded files.

It can also generate the response by setting the response status code and response data.

Picture of silvio
  Performance   Level  
Name: silvio <contact>
Classes: 3 packages by
Country: Italy Italy
Age: ???
All time rank: 3686146 in Italy Italy
Week rank: 333 Up8 in Italy Italy Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file Licence.txt Lic. License
Plain text file spfApi.class.php Class Class implementation
Accessible without login Plain text file spfApiSample.php Example Example application using spfApi.
Accessible without login Plain text file testapi.html Data Test page.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,669
This week:310Up