The simply the best collection of API scripts
This package provides an example API that performs CRUD operations. It shows how to register routes for the API URLs so specific controller classes can handle the requests. The package can run the API by processing the HTTP requests to the registered endpoint URLs and generating API call responses using view scripts. Uses PHP 7.0+ with PDO drivers enabled for: MySQL 5.6 and MariaDB 10.0+ for spatial features in MySQL.
PHP Chat Application with API: Exchange user messages on a page or using an API. It provides an application to let users send messages that can be viewed by other users who can also reply.
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.
Generate base code for API using a query builder. It uses the Lumen package and the query builder to generate base code for an API that implements simple CRUD operations automatically. The package also generates code to implement unit and feature testing.
Want to create an API with PHP? Use this API Framework.
Processes text using ChatGPT API and outputs audio with the speech generated from the input text or takes an audio file and transcribes the spoken words into a text string.