SimplytheBest PHP Scripts

The simply the best collection of PHP scripts

ReactPHP By: ReactPHP
Free MIT

ReactPHP is a low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities, such as: Streams abstraction, async DNS resolver, network client/server, HTTP client/server and interaction with processes. Third-party libraries can use these components to create async network clients/servers and more.

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.

29   411
MySQLi Database table to JSON By: Ahmad Al Mulla
Free

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.

24   380
PHP Chat Application By: Faris Al Otabi
Free

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.

21   353
Guzzle By: Michael Dowling
Free MIT

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.

15   349
Ala PHP API Micro-Framework By: Leonardo Di Sarli
Free

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.

19   344
Uploady By: Faris Al Otabi
Free MIT

Uploady is a file uploader script with multi file upload support. It comes with more than 20 features and you can set up it in less than 5 minutes. And it is free and open source.

24   326
API Framework By: Faris Al Otabi
Free MIT

Want to create an API with PHP? Use this API Framework.

26   281
PHP CRUD Application By: Rodrigo Faustino
Free MIT/X

Create a simple CRUD application. The class provides a base class that can access a MySQL database using the MySQLi extension. Several CRUD classes use the base class to execute SQL queries to perform several CRUD operations.

26   278
Manually Backup A Wordpress Site By: Olaf Lederer
Free MIT/X

This PHP package can backup and restore your WordPress website. It works independently from the WordPress site itself. If the WordPress site fails, this tool can be used to restore the WordPress database and files.

24   278