My Awesome PHP List

From The Travis van der Font Wiki
Jump to: navigation, search

Curated by myself, Travis van der Font.






• Credis

Lightweight PHP Redis client that can run standalone or wrap phpredis

• FluentPDO

A PHP SQL query builder using PDO.

• SleekDB

A NoSQL Database made using PHP

Networking / Security

• AntiXSS

A library to protect against XSS attacks.

• TwoFactorAuth

A PHP library for Two Factor Authentication (TFA / 2FA).

• Guzzle

An extensible PHP HTTP client.

• Guzzle - PSR-7

PSR-7 HTTP message library.

• Zend-Diactoros

PSR-7 HTTP Message implementation.

• HttpFoundation Component

An object-oriented layer for the HTTP specification.

• feed-io

A PHP library to read and write feeds in JSONFeed, RSS or Atom format.


• Laravel Mailbox (to be moved into Laravel subfolder)

Catch incoming emails in your Laravel application.


• ReactPHP

Event-driven, non-blocking I/O with PHP.

• Amp

A non-blocking concurrency framework for PHP applications.

• Asynchronous & parallel PHP

This library provides a small and easy wrapper around PHP's PCNTL extension. It allows running of different processes in parallel, with an easy-to-use API.


• Monolog

A library that sends your logs to files, sockets, inboxes, databases and various web services.

• Pimp my Log

 A log viewer for your web server.


• PHP CompatInfo

A library that can find the minimum version and the extensions required for a piece of code to run.

• SlashTrace

An error and exception handler.

• php-memprof

A memory usage profiler for PHP.


• Eris

A porting of QuickCheck and property-based testing for PHP and PHPUnit ecosystem.

• Steward

A set of libraries made to simplify writing and running robust functional system tests in PHPUnit using Selenium WebDriver.

Graphics / Rendering

• libmergepdf

A library for merging multiple PDFs.

• Snappy

Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. 

• ImageUtil

A wrapper collection for GD library in PHP.

• CImage

Server-side image resizing and cropping on the fly with caching of generated image-files using PHP.

• QR Code

A QR Code Generator.

• Transphporm Style Sheets

A revolutionizing PHP templating using transformation Style Sheets.

Translation / Languages

• Gettext

A PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc)


• IPFuscator

A tool to automatically generate alternative IP formats that are interpreted in the same way.

• Browsershot

Convert a webpage to an image, pdf, or string.

• Dompdf

An HTML to PDF converter (PHP5)

• docraptor/docraptor


A collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.



A nd fast implementation of recurrence rules for PHP (RRULE from RFC 5545), to easily calculate recurring/repeating dates and events (such as in a calendar).


• LibPhoneNumber for PHP

A PHP implementation of Google's phone number handling library.

String / Text Processing

• PHP-Str

Convenient object-oriented operations on strings.

• Twine

A simple string manipulation library with an expressive, fluent syntax.

• Portable UTF-8

A portable UTF-8 library for PHP.

• shortuuid

A portable UTF-8 library for PHP.

• PHP Markdown

A Markdown parser.

Data Serialization


A rewrite of SOAPx4 that allows developers to create and consume web services based on SOAP 1.1, WSDL 1.1 and HTTP 1.0/1.1.

• NuSOAP for PHP 5.4 - 7.1

A fixed NuSOAP for PHP 5.6 - 7.2.

• PHP SOAP-client

A general purpose SOAP client for PHP

Data Processing

• Spout

Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way (even very large files).

• Tuck\Sort

Syntatic sugar for sorting in PHP.

• JsonMapper 

To map nested JSON structures onto PHP classes.

• JsonCollect

The JsonCollect package allows you to surround your JSON objects with the power of collection methods

Compression (Minification) / Encryption & Cryptography

• Halite

A high-level cryptography interface powered by libsodium.

• ZipStream

Fork of pablotron's zip streaming library; a fast and simple streaming zip file downloader.


A simple library to work with JSON Web Token and JSON Web Signature

• Optimus id transformation

An ID obfuscation based on Knuth's multiplicative hashing method for PHP.


• Mobile Detect

A lightweight PHP class for detecting mobile devices (including tablets)

Local Storage / Files

• Upload

File uploads with validation and storage strategies.

• FileUpload

A library that supports chunked uploads.

• Flysystem

A filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.

• Gaufrette

A PHP library that provides a filesystem abstraction layer.

API / Social

• SocialConnect Auth

An open source social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign on PHP. Connect your application(s) with social network(s).

• SocialProof

A fluent interface for retrieving follower counts from social API's.

Geo / Location

• Geodesy-PHP

A port of some known geodesic functions for getting distance from a known point A to a known point B given their coordinates including the conversion between units of length, Polar position to Cartesian coordinates, and different Reference Datums. 


• Dark Sky API

A PHP Library for the Dark Sky API; functionality, including object-level access to the response headers, weather alerts and flags.

Blockchain / Cryptocurrency

• PHP Binance API

A PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use.

• Ethereum-PHP

A PHP interface to Ethereum JSON-RPC API. Fully typed Web3 for PHP 7.X

• CCXT (CryptoCurrency eXchange Trading Library)

A Library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.

• Bit-Wasp

Bitcoin libraries and utilities in PHP.

• Blockchain API library

An official PHP library for interacting with the API.

• Bitcoin

Bitcoin implementation in PHP.


• VObject

A library for parsing and creating VCard and iCalendar objects.

• Typed

Improvements to PHP's type system in userland: generics, typed lists, tuples and structs

• URL-Parser

WHATWG URL spec compliant URL parser for working with URLs and their query strings.

• Git Wrapper

A PHP wrapper around the Git command line utility.

• Knapsack

A collection library that implements most of the sequence operations proposed by Clojures sequences plus some additional ones. Ideal for iteralations and arrays with functional programming

• SlimController

A controller extension from the Slim Framework.

• Google Analytics

Connecting to your analytics account and getting whatever data you need was never this easy. 

• Functional PHP Preprocessor

This library can generate immutable data types based on fpp definitions. The syntax is inspired by Haskell.

• Tolerant PHP Parser

An early-stage PHP parser designed for IDE usage scenarios.

Development Tools

• PHP Coding Standards Fixer

A tool to automatically fix PHP Coding Standards issues.

• PHP Coding Standards Fixer

A set of custom fixers for PHP CS Fixer.

Awesome Lists

• PHP Web Scraping

A list that contains PHP libraries related to web scraping and data processing.