My Awesome PHP List
Curated by myself, Travis van der Font.
- 1 Database
- 2 Networking / Security
- 3 Email
- 4 Asynchronous
- 5 Logging
- 6 Debugging
- 7 Testing
- 8 Graphics / Rendering
- 9 Translation / Languages
- 10 Conversions
- 11 Date/Time
- 12 Math
- 13 String / Text Processing
- 14 Data Serialization
- 15 Data Processing
- 16 Compression (Minification) / Encryption & Cryptography
- 17 Validation
- 18 Local Storage / Files
- 19 API / Social
- 20 Geo / Location
- 21 Weather
- 22 Blockchain / Cryptocurrency
- 23 Misc
- 24 Development Tools
- 25 Awesome Lists
Lightweight PHP Redis client that can run standalone or wrap phpredis
A PHP SQL query builder using PDO.
A NoSQL Database made using PHP
Networking / Security
A library to protect against XSS attacks.
A PHP library for Two Factor Authentication (TFA / 2FA).
An extensible PHP HTTP client.
• Guzzle - PSR-7
PSR-7 HTTP message library.
PSR-7 HTTP Message implementation.
• HttpFoundation Component
An object-oriented layer for the HTTP specification.
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.
Event-driven, non-blocking I/O with PHP.
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.
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.
An error and exception handler.
A memory usage profiler for PHP.
A porting of QuickCheck and property-based testing for PHP and PHPUnit ecosystem.
Graphics / Rendering
A library for merging multiple PDFs.
Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page.
A wrapper collection for GD library in PHP.
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
A PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc)
A tool to automatically generate alternative IP formats that are interpreted in the same way.
Convert a webpage to an image, pdf, or string.
An HTML to PDF converter (PHP5)
A collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.
• RRULE for PHP
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
Convenient object-oriented operations on strings.
A simple string manipulation library with an expressive, fluent syntax.
• Portable UTF-8
A portable UTF-8 library for PHP.
A portable UTF-8 library for PHP.
• PHP Markdown
A Markdown parser.
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
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way (even very large files).
Syntatic sugar for sorting in PHP.
To map nested JSON structures onto PHP classes.
The JsonCollect package allows you to surround your JSON objects with the power of collection methods
Compression (Minification) / Encryption & Cryptography
A high-level cryptography interface powered by libsodium.
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
File uploads with validation and storage strategies.
A library that supports chunked uploads.
A filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.
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).
A fluent interface for retrieving follower counts from social API's.
Geo / Location
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.
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.
Bitcoin libraries and utilities in PHP.
• Blockchain API library
An official PHP library for interacting with the blockchain.info API.
Bitcoin implementation in PHP.
A library for parsing and creating VCard and iCalendar objects.
Improvements to PHP's type system in userland: generics, typed lists, tuples and structs
A 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.
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
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.
• 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.
• PHP Web Scraping
A list that contains PHP libraries related to web scraping and data processing.