The simply the best collection of JSON scripts
This package can convert the records of a database table to JSON. It provides an example script that connects to a MySQL database server using the MySQLi extension. The script executes a SQL query to retrieve all rows of a database table into an array, and then it outputs the array as a JSON string that serves as the content of the current HTTP request.
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc... Uses PSR-7 interfaces for requests, responses, and streams. Can send both synchronous and asynchronous requests using the same interface.
This package can serialize and unserialize variable values with a given handler class. It supports serialization multiple formats like JSON or Array.