In this article we will explore the most awesome PHP libraries, examples, apps as well as resources. All of them are open source.

Composer Repositories

Composer Repositories.

  1. Firegento

Magento Module Composer Repository.

  1. Packagist

The PHP Package Repository.

  1. Private Packagist

Composer package archive as a service for PHP.

  1. WordPress Packagist

Manage your plugins with Composer.

Dependency Management

Libraries for dependency and package management.

  1. Composer Installers

A multi framework Composer library installer.

  1. Composer

A package and dependency manager.

  1. Phive

A PHAR manager.

  1. Pickle

A PHP extension installer.

Dependency Management Extras

Extras related to dependency management.

  1. Composed

A library to parse your project's Composer environment at runtime.

  1. Composer Merge Plugin

A composer plugin to merge several composer.json files.

  1. Composer Normalize

A plugin for normalising composer.json files.

  1. Composer Patches

A plugin for Composer to apply patches.

  1. Composer Require Checker

CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.

  1. Composer Unused

A CLI Tool to scan for unused composer packages.

  1. Prestissimo

A composer plugin which enables parallel install process.

  1. Repman

A private PHP package repository manager and Packagist proxy.

  1. Satis

A static Composer repository generator.

  1. Tooly

A library to manage PHAR files in project using Composer.

  1. Toran Proxy

A static Composer repository and proxy.


Web development frameworks.

  1. CakePHP

A rapid application development framework.

  1. Laminas

A framework comprised of individual components (previously Zend Framework

  1. Laravel

A web application framework with expressive, elegant syntax.

  1. Nette

A web framework comprised of mature components.

  1. Phalcon

A framework implemented as a C extension.

  1. Spiral

A high performance PHP/Go framework.

  1. Symfony

A set of reuseable components and a web framework.

  1. Yii2

A fast, secure, and efficient web framework.

Framework Extras

Extras related to web development frameworks.

  1. CakePHP CRUD

A Rapid Application Development (RAD

  1. Knp RAD Components

A set of Rapid Application Development (RAD

  1. LaravelS

Glue for using Swoole in Laravel or Lumen.

  1. Symfony CMF

A Content Management Framework to create custom CMS.

Content Management Systems (CMS

Tools for managing digital content.

  1. Backdrop

A CMS targeting small-to-medium sized business and non-profits (a fork of Drupal

  1. Concrete5

A CMS targeting users with a minimum of technical skills.

  1. CraftCMS

A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.

  1. Drupal

An enterprise level CMS.

  1. Grav

A modern flat-file CMS.

  1. Joomla

Another leading CMS.

  1. Kirby

A flat-file CMS that adapts to any project.

  1. Magento

The most popular ecommerce platform.

  1. Moodle

An open-source learning platform.

  1. Pico CMS

A stupidly simple, blazing fast, flat file CMS.

  1. Statamic

Build beautiful, easy to manage websites.

  1. WordPress

A blogging platform and CMS.


Standalone components from web development frameworks and development groups.

  1. Aura

Independent components, fully decoupled from each other and from any framework.

  1. CakePHP Plugins

A directory of CakePHP plugins.

  1. Hoa Project

Another package of PHP components.

  1. Laravel Components

The Laravel Framework components.

  1. League of Extraordinary Packages

A PHP package development group.

  1. Spatie Open Source

A collection of open source PHP and Laravel packages.

  1. Symfony Components

The components that make Symfony.

  1. Laminas Components

The components that make the Laminas Framework.

Micro Frameworks

Micro frameworks and routers.

  1. Laravel-Zero

A micro-framework for console applications.

  1. Lumen

A micro-framework by Laravel.

  1. Mezzio

A micro-framework by Laminas.

  1. Radar

An Action-Domain-Responder implementation for PHP.

  1. Silly

A micro-framework for CLI applications.

  1. Slim

Another simple micro framework.

Micro Framework Extras

Extras related to micro frameworks and routers.

  1. Slim Skeleton

A skeleton for Slim.

  1. Slim Twig View

Integrate Twig into Slim.

  1. Slim PHP View

A simple PHP renderer for Slim.


Libraries for handling application routing.

  1. Aura.Router

A full-featured routing library.

  1. Fast Route

A fast routing library.

  1. Klein

A flexible router.

  1. Pux

Another fast routing library.

  1. Route

A routing library built on top of Fast Route.


Libraries and tools for templating and lexing.

  1. MtHaml

A PHP implementation of the HAML template language.

  1. Mustache

A PHP implementation of the Mustache template language.


A PHP implementation of the [TAL](

  1. Plates

A native PHP templating library.

  1. Smarty

A template engine to complement PHP.

  1. Twig

A comprehensive templating language.

Static Site Generators

Tools for pre-processing content to generate web pages.

  1. Couscous

Couscous turns Markdown documentation into beautiful websites. It's GitHub Pages on steroids.

  1. Jigsaw

Simple static sites with Laravel's Blade.

  1. Sculpin

A tool that converts Markdown and Twig into static HTML.

  1. Spress

An extensible tool that converts Markdown and Twig into HTML.


Libraries for working with HTTP.

  1. Buzz

Another HTTP client.

  1. Guzzle

A comprehensive HTTP client.

  1. HTTPlug

An HTTP client abstraction without binding to a specific implementation.

  1. Nyholm PSR-7

A super lightweight PSR-7 implementation. Very strict and very fast.

  1. PHP VCR

A library for recording and replaying HTTP requests.

  1. Requests

A simple HTTP library.

  1. Retrofit

A library to ease creation of REST API clients.

  1. Symfony HTTP Client

A component to fetch HTTP resources synchronously or asynchronously.

  1. Laminas Diactoros

PSR-7 HTTP Message implementation.


Libraries for scraping websites.

  1. Chrome PHP

Instrument headless Chrome/Chromium instances from PHP.

  1. DiDOM

A super fast HTML scrapper and parser.

  1. Embed

An information extractor from any web service or page.

  1. Goutte

A simple web scraper.

  1. Symfony Panther

A browser testing and web crawling library for PHP and Symfony.

  1. PHP Spider

A configurable and extensible PHP web spider.


Libraries for building application using middlewares.

  1. PSR-7 Middlewares

Inspiring collection of handy middlewares.

  1. Relay

A PHP 5.5 PSR-7 middleware dispatcher.

  1. Stack

A library of stackable middleware for Symfony.

  1. Laminas Stratigility

Middleware for PHP built on top of PSR-7.


Libraries for parsing URLs.

  1. PHP Domain Parser

A domain suffix parser library.

  1. Purl

A URL manipulation library.

  1. sabre/uri

A functional URI manipulation library.

  1. Uri

Another URL manipulation library.


Libraries for sending and parsing email.

  1. CssToInlineStyles

A library to inline CSS in email templates.

  1. Email Reply Parser

An email reply parser library.

  1. Email Validator

A small email address validation library.

  1. Fetch

An IMAP library.

  1. Mautic

Email marketing automation

  1. PHPMailer

Another mailer solution.


A library to access mailboxes via POP3, IMAP and NNTP.

  1. Stampie

A library for email services such as [SendGrid](

  1. SwiftMailer

A mailer solution.

  1. Symfony Mailer

A powerful library for creating and sending emails.


Libraries for file manipulation and MIME type detection.

  1. CSV

A CSV data manipulation library.

  1. Flysystem

Abstraction for local and remote filesystems.

  1. Gaufrette

A filesystem abstraction layer.

  1. Hoa Mime

Another MIME detection library.

  1. PHP FFmpeg

A wrapper for the [FFmpeg](

  1. UnifiedArchive

A unified reader and writer of compressed archives.


Libraries for working with streams.

  1. ByteStream

An asynchronous stream abstraction.

  1. Streamer

A simple object-orientated stream wrapper library.

Dependency Injection

Libraries that implement the dependency injection design pattern.

  1. Aura.Di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

  1. Acclimate

A common interface to dependency injection containers and service locators.

  1. Auryn

A recursive dependency injector.

  1. Container

Another flexible dependency injection container.

  1. Disco

A PSR-11 compatible, annotation-based dependency injection container.

  1. PHP-DI

A dependency injection container that supports autowiring.

  1. Pimple

A tiny dependency injection container.

  1. Symfony DI

A dependency injection container component.


Libraries for manipulating images.

  1. Color Extractor

A library for extracting colours from images.

  1. Glide

An on-demand image manipulation library.

  1. Image Hash

A library for generating perceptual image hashes.

  1. Image Optimizer

A library for optimizing images.

  1. Imagine

An image manipulation library.

  1. Intervention Image

Another image manipulation library.

  1. PHP Image Workshop

Another image manipulation library.


Libraries for testing codebases and generating test data.

  1. Alice

An expressive fixture generation library.

  1. AspectMock

A mocking framework for PHPUnit/Codeception.

  1. Atoum

A simple testing library.

  1. Behat

A behaviour driven development (BDD

  1. Codeception

A full stack testing framework.

  1. Faker

A fake data generator library.

  1. HTTP Mock

A library for mocking HTTP requests in unit tests.

  1. Infection

An AST-based PHP Mutation testing framework.

  1. Kahlan

Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.

  1. Mink

Web acceptance testing.

  1. Mockery

A mock object library for testing.

  1. ParaTest

A parallel testing library for PHPUnit.

  1. Pest

A testing framework with a focus on simplicity.

  1. Peridot

An event driven test framework.

  1. Phake

Another mock object library for testing.

  1. Pho

Another behaviour driven development testing framework.

  1. PHP-Mock

A mock library for built-in PHP functions (e.g. time(

  1. PHP MySQL Engine

A MySQL engine written in pure PHP.

  1. PHPSpec

A design by specification unit testing library.

  1. PHPT

A test tool used by PHP itself.

  1. PHPUnit

A unit testing framework.

  1. Prophecy

A highly opinionated mocking framework.

  1. VFS Stream

A virtual filesystem stream wrapper for testing.

Continuous Integration

Libraries and applications for continuous integration.

  1. CircleCI

A continuous integration platform.

  1. GitlabCi

Let GitLab CI test, build, deploy your code. TravisCi like.

  1. Jenkins

A continuous integration platform with [PHP support](

  1. JoliCi

A continuous integration client written in PHP and powered by Docker.

  1. PHPCI

An open source continuous integration platform for PHP.

  1. SemaphoreCI

A continuous integration platform for open source and private projects.

  1. Shippable

A Docker based continious integration platform for open source and private projects.

  1. Travis CI

A continuous integration platform.

  1. Setup PHP

A GitHub Action for PHP.


Libraries for generating project documentation.

  1. APIGen

Another API documentation generator.


A documentation generator which uses Markdown files.

  1. PHP Documentor 2

A documentation generator.

  1. phpDox

A documentation generator for PHP projects (that is not limited to API documentation


Libraries for generating secure random numbers, encrypting data and scanning and testing for vulnerabilities.

  1. Halite

A simple library for encryption using [libsodium](

  1. HTML Purifier

A standards compliant HTML filter.

  1. IniScan

A tool that scans PHP INI files for security.

  1. Optimus

Id obfuscation based on Knuth's multiplicative hashing method.


A library of PHP unserializeable payloads along with a tool to generate them.

  1. PHP Encryption

Secure PHP Encryption Library.

  1. PHP SSH

An experimental object orientated SSH wrapper library.

  1. PHPSecLib

A pure PHP secure communications library.

  1. random_compat

PHP 5.x support for `random_bytes(

  1. RandomLib

A library for generating random numbers and strings.

  1. Symfony Security Monitoring

A web tool to check your Composer dependencies for security advisories, previously known as "SensioLabs Security Check".

  1. SQLMap

An automatic SQL injection and database takeover tool.

  1. TCrypto

A simple encrypted key-value storage library.

  1. VAddy

A continuous security testing platform for web applications.

  1. Zap

An integrated penetration testing tool for web applications.


Libraries and tools for working with and storing passwords.

  1. GenPhrase

A library for generating secure random passphrases.

  1. Password Compat

A compatibility library for the new PHP 5.5 password functions.

  1. Password Policy

A password policy library for PHP and JavaScript.

  1. Password Validator

A library for validating and upgrading password hashes.

  1. Password-Generator

PHP library to generate random passwords.

  1. PHP Password Lib

A library for generating and validating passwords.

  1. phpass

A portable password hashing framework.

  1. Zxcvbn PHP

A realistic PHP password strength estimate library based on Zxcvbn JS.

Code Analysis

Libraries and tools for analysing, parsing and manipulating codebases.

  1. Better Reflection

AST-based reflection library that allows analysis and manipulation of code

  1. Code Climate

An automated code review.

  1. GrumPHP

A PHP code-quality tool.

  1. PHP Parser

A PHP parser written in PHP.

  1. PHP Semantic Versioning Checker

A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.

  1. Phpactor

PHP completion, refactoring and introspection tool.


A tool for quickly measuring the size of a PHP project.

  1. PHPQA

A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics

  1. Qafoo Quality Analyzer

A tool to visualize metrics and source code.

  1. Rector

A tool to upgrade and refactor code.

  1. Scrutinizer

A web tool to [scrutinise PHP code](

  1. UBench

A simple micro benchmark library.

Code Quality

Libraries for managing code quality, formatting and linting.

  1. CaptainHook

An easy-to-use and flexible Git hook library.

  1. PHP CodeSniffer

A library that detects PHP, CSS and JS coding standard violations.

  1. PHP CS Fixer

A coding standards fixer library.

  1. PHP Mess Detector

A library that scans code for bugs, sub-optimal code, unused parameters and more.

  1. PHPCheckstyle

A tool to help adhere to certain coding conventions.


A library that detects copied and pasted code.

Static Analysis

Libraries for performing static analysis of PHP code.

  1. Exakat

A static analysis engine for PHP.

  1. Deptrac

A static code analysis tool that helps to enforce rules for dependencies between software layers.

  1. Mondrian

A code analysis tool using Graph Theory.

  1. phan

A static analyzer based on PHP 7+ and the php-ast extension.

  1. PHP Architecture Tester

Easy to use architecture testing tool for PHP.

  1. PHPCompatibility

A PHP compatibility checker for PHP CodeSniffer.

  1. PhpDependencyAnalysis

A tool to create customisable dependency graphs.

  1. PHP Metrics

A static metric library.

  1. PHP Migration

A static analyzer for PHP version migration.

  1. PHPStan

A PHP Static Analysis Tool.

  1. Psalm

A static analysis tool for finding errors in PHP applications.


Libraries related to design patterns, programming approaches and ways to organize code.

  1. Design Patterns PHP

A repository of software patterns implemented in PHP.

  1. Finite

A simple PHP finite state machine.

  1. Functional PHP

A functional programming library.

  1. Iter

A library that provides iteration primitives using generators.

  1. Patchwork

A library for redefining userland functions.

  1. Pipeline

A pipeline pattern implementation.

  1. Porter

Data import abstraction library for consuming Web APIs and other data sources.

  1. Ruler

A simple stateless production rules engine.

  1. RulerZ

A powerful rule engine and implementation of the Specification pattern.

Debugging and Profiling

Libraries and tools for debugging errors and profiling code.

  1. APM

Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.

  1. Barbushin PHP Console

Another web debugging console using Google Chrome.


A low-overhead code profiler.

  1. Kint

A debugging and profiling tool.

  1. Metrics

A simple metrics API library.

  1. PCOV

A self contained code coverage compatible driver.

  1. PHP Console

A web debugging console.

  1. PHP Debug Bar

A debugging toolbar.

  1. PHPBench

A benchmarking Framework.

  1. PHPSpy

A low-overhead sampling profiler.

  1. Symfony VarDumper

A variable dumper component.


Monitoring and profiling tool.

  1. Tracy

A simple error detection, logging and time measuring library.

  1. Whoops

A pretty error handling library.

  1. xDebug

A debug and profile tool for PHP.

  1. XHProf

A profiling tool originally developed by Facebook.

  1. Z-Ray

A debug and profile tool for Zend Server.

Build Tools

Project build and automation tools.

  1. Box

A utility to build PHAR files.

  1. Construct

A PHP project/micro-package generator.

  1. Phing

A PHP project build system inspired by Apache Ant.

  1. RMT

A library for versioning and releasing software.

Task Runners

Libraries for automating and running tasks.

  1. Bldr

A PHP Task runner built on Symfony components.

  1. Jobby

A PHP cron job manager without modifying crontab.

  1. Robo

A PHP Task runner with object-orientated configurations.

  1. Task

A pure PHP task runner inspired by Grunt and Gulp.


Tools for building navigation structures.

  1. KnpMenu

A menu library.

  1. Menu

A flexible menu library with a fluent interface.

Asset Management

Tools for managing, compressing and minifying website assets.

  1. JShrink

A JavaScript minifier library.

  1. Laravel Mix

An elegant wrapper around Webpack for the 80% use case.

  1. Symfony Asset

Manages URL generation and versioning of web assets.

  1. Symfony Encore

A simple but powerful API for processing and compiling assets built around Webpack.


Libraries for geocoding addresses and working with latitudes and longitudes.

  1. Country List

A list of all countries with names and ISO 3166-1 codes.

  1. GeoCoder

A geocoding library.

  1. GeoJSON

A GeoJSON implementation.

  1. GeoTools

A library of geo-related tools.

  1. PHPGeo

A simple geo library.

Date and Time

Libraries for working with dates and times.

  1. CalendR

A calendar management library.

  1. Carbon

A simple DateTime API extension.

  1. Chronos

A DateTime API extension supporting both mutable and immutable date/time.

  1. Moment.php

Moment.js inspired PHP DateTime handler with i18n support.

  1. Yasumi

An library to help you calculate the dates and names of holidays.


Libraries that are event-driven or implement non-blocking event loops.

  1. Amp

An event driven non-blocking I/O library.

  1. Broadway

An event source and CQRS library.

  1. CakePHP Event

An event dispatcher library.


Yet another web socket library.

  1. Evenement

An event dispatcher library.

  1. Event

An event library with a focus on domain events.

  1. Hoa EventSource

An event source library.

  1. Hoa WebSocket

Another web socket library.

  1. Pawl

An asynchronous web socket client.

  1. Prooph Event Store

An event source component to persist event messages

  1. PHP Defer

Golang's defer statement for PHP.

  1. Ratchet

A web socket library.

  1. ReactPHP

An event driven non-blocking I/O library.

  1. RxPHP

A reactive extension library.

  1. Swoole

An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C.

  1. Workerman

An event driven non-blocking I/O library.


Libraries for generating and working with log files.

  1. Monolog

A comprehensive logger.


Libraries and applications for taking payments and building online e-commerce stores.

  1. Money

A PHP implementation of Fowler's money pattern.

  1. Brick\Money

A money library for PHP, with support for contexts, cash roundings, currency conversion.

  1. OmniPay

A framework agnostic multi-gateway payment processing library.

  1. Payum

A payment abstraction library.

  1. Shopware

Highly customizable e-commerce software

  1. Swap

An exchange rates library.

  1. Sylius

An open source e-commerce solution.


Libraries and software for working with PDF files.

  1. Dompdf

A HTML to PDF converter.

  1. PHPPdf

A library for generating PDFs and images from XML.

  1. Snappy

A PDF and image generation library.


A tool to convert HTML to PDF.


Libraries for working with office suite documents.

  1. PHPPowerPoint

A library for working with Microsoft PowerPoint Presentations.

  1. PHPWord

A library for working with Microsoft Word documents.

  1. PHPSpreadsheet

A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel

  1. Spout

Read and write spreadsheet files (CSV, XLSX and ODS


Libraries for interacting with databases using object-relational mapping (ORM) or datamapping techniques.

  1. Atlas.Orm

A data mapper implementation for your persistence model in PHP.

  1. Aura.Sql

Provides an extension to the native PDO along with a profiler and connection locator.

  1. Aura.SqlQuery

Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.

  1. Baum

A nested set implementation for Eloquent.

  1. CakePHP ORM

Object-Relational Mapper, implemented using the DataMapper pattern.

  1. Cycle ORM

PHP DataMapper, ORM.

  1. Doctrine Extensions

A collection of Doctrine behavioural extensions.

  1. Doctrine

A comprehensive DBAL and ORM.

  1. Laravel Eloquent

A simple ORM.

  1. Pomm

An Object Model Manager for PostgreSQL.

  1. ProxyManager

A set of utilities to generate proxy objects for data mappers.

  1. RedBean

A lightweight, configuration-less ORM.

  1. Slimdump

An easy dumper tool for MySQL.

  1. Spot2

A MySQL datamapper ORM.


Libraries to help manage database schemas and migrations.

  1. Doctrine Migrations

A migration library for Doctrine.

  1. Migrations

A migration management library.

  1. Phinx

Another database migration library.

  1. PHPMig

Another migration management library.

  1. Ruckusing

Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.


Libraries for working with "NoSQL" backends.

  1. PHPMongo

A MongoDB ORM.

  1. Predis

A feature complete Redis library.


Libraries for working with event and task queues.

  1. Bernard

A multibackend abstraction library.

  1. BunnyPHP

A performant pure-PHP AMQP (RabbitMQ

  1. Pheanstalk

A Beanstalkd client library.


A pure PHP AMQP library.

  1. Tarantool Queue

PHP bindings for Tarantool Queue.

  1. Thumper

A RabbitMQ pattern library.

  1. Enqueue

A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports.


Libraries and software for indexing and performing search queries on data.

  1. Elastica

A client library for ElasticSearch.

  1. ElasticSearch PHP

The official client library for [ElasticSearch](

  1. Solarium

A client library for [Solr](

  1. SphinxQL Query Builder

A query library for the [Sphinx](

Command Line

Libraries related to the command line.

  1. Aura.Cli

Provides the equivalent of request ( Context

  1. Boris

A tiny PHP REPL.

  1. Cilex

A micro framework for building command line tools.

  1. CLI Menu

A library for building CLI menus.

  1. CLIFramework

A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.

  1. CLImate

A library for outputting colours and special formatting.

  1. Commando

Another simple command line opt parser.

  1. Cron Expression

A library to calculate cron run dates.

  1. GetOpt

A command line opt parser.

  1. GetOptionKit

Another command line opt parser.

  1. Hoa Console

Another command line library.

  1. PsySH

Another PHP REPL.

  1. ShellWrap

A simple command line wrapper library.

Authentication and Authorization

Libraries for implementing user authentication and authorization.

  1. Aura.Auth

Provides authentication functionality and session tracking using various adapters.

  1. SocialConnect Auth

An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect

  1. Json Web Token

Json Tokens to authenticate and transmit information.

  1. OAuth 1.0 Client

An OAuth 1.0 client library.

  1. OAuth 2.0 Client

An OAuth 2.0 client library.

  1. OAuth2 Server

Another OAuth2 server implementation.

  1. OAuth2 Server

An OAuth2 authentication server, resource server and client library.

  1. Opauth

A multi-provider authentication framework.

  1. Paseto

Platform-Agnostic Security Tokens.

  1. PHP oAuthLib

Another OAuth library.

  1. Sentinel Social

A library for social network authentication.

  1. Sentinel

A framework agnostic authentication & authorisation library.

  1. TwitterOAuth

A Twitter OAuth library.

Markup and CSS

*Libraries for working with markup and CSS formats.

  1. Cebe Markdown

An fast and extensible Markdown parser.

  1. CommonMark PHP

Highly-extensible Markdown parser which fully supports the [CommonMark spec](

  1. Decoda

A lightweight markup parser library.

  1. Essence

A library for extracting web media.

  1. Embera

An Oembed consumer library.

  1. HTML to Markdown

Converts HTML into Markdown.

  1. HTML5 PHP

An HTML5 parser and serializer library.

  1. Parsedown

Another Markdown parser.

  1. PHP CSS Parser

A Parser for CSS Files written in PHP.

  1. PHP Markdown

A Markdown parser.

  1. Shiki PHP

A [Shiki](

  1. VObject

A library for parsing VCard and iCalendar objects.


Libraries for working with JSON.

  1. JSON Lint

A JSON lint utility.

  1. JSONMapper

A library for mapping JSON to PHP objects.


Libraries for parsing and manipulating strings.

  1. Agent

A PHP desktop/mobile user agent parser, based on Mobiledetect.

  1. ANSI to HTML5

An ANSI to HTML5 converter library.

  1. Color Jizz

A library for manipulating and converting colours.

  1. Device Detector

Another library for parsing user agent strings.

  1. Hoa String

Another UTF-8 string library.

  1. Jieba-PHP

A PHP port of Python's jieba. Chinese text segmentation for natural language processing.

  1. Mobile-Detect

A lightweight PHP class for detecting mobile devices (including tablets

  1. Patchwork UTF-8

A portable library for working with UTF-8 strings.

  1. Portable UTF-8

A string manipulation library with UTF-8 safe replacement methods.

  1. Slugify

A library to convert strings to slugs.

  1. SQL Formatter

A library for formatting SQL statements.

  1. Stringy

A string manipulation library with multibyte support.

  1. UA Parser

A library for parsing user agent strings.

  1. URLify

A PHP port of Django's URLify.js.

  1. UUID

A library for generating UUIDs.


Libraries for working with numbers.

  1. Brick\Math

A library providing large number support: BigInteger, BigDecimal and BigRational.

  1. ByteUnits

A library to parse, format and convert byte units in binary and metric systems.

  1. DecimalObject

A value object to handle decimals/floats easily and more precisely.

  1. IP

An immutable value object for working with IPv4 and IPv6 addresses.

  1. LibPhoneNumber for PHP

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

  1. PHP Conversion

Another library for converting between units of measure.

  1. PHP Units of Measure

A library for converting between units of measure.

  1. MathPHP

A math library for PHP.

Filtering and Validation

Libraries for filtering and validating data.

  1. Assert

A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.

  1. Aura.Filter

Provides tools to validate and sanitize objects and arrays.

  1. CakePHP Validation

Another validation library.

  1. Filterus

A simple PHP filtering library.

  1. ISO-codes

A library for validating inputs according standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries.

  1. JSON Schema

A [JSON Schema](

  1. MetaYaml

A schema validation library that supports YAML, JSON and XML.

  1. Respect Validation

A simple validation library.

  1. Upload

A library for handling file uploads and validation.

  1. Valitron

Another validation library.

  1. Volan

Another simplified validation library.


Libraries and web tools for developing APIs.

  1. API Platform

Expose in minutes an hypermedia REST API that embraces JSON-LD, Hydra format.

  1. Laminas API Tool Skeleton

An API builder built with the Laminas Framework.

  1. Drest

A library for exposing Doctrine entities as REST resource endpoints.

  1. HAL

A Hypertext Application Language (HAL

  1. Hateoas

A HATEOAS REST web service library.

  1. Negotiation

A content negotiation library.

  1. Restler

A lightweight framework to expose PHP methods as RESTful web API.

  1. wsdl2phpgenerator

A tool to generate PHP classes from SOAP WSDL files.

Caching and Locking

Libraries for caching data and acquiring locks.

  1. APIx Cache

A thin PSR-6 cache wrapper to various caching backends emphasising cache tagging and indexing.

  1. CacheTool

A tool to clear APC/opcode caches from the command line.

  1. CakePHP Cache

A caching library.

  1. Doctrine Cache

A caching library.

  1. Metaphore

Cache slam defense using a semaphore to prevent dogpile effect.

  1. Stash

Another library for caching.

  1. Laminas Cache

Another caching library.

  1. Lock

A lock library to provide exclusive execution.

Data Structure and Storage

Libraries that implement data structure or storage techniques.

  1. CakePHP Collection

A simple collections library.

  1. Fractal

A library for converting complex data structures to JSON output.

  1. Ginq

Another PHP library based on .NET's LINQ.

  1. JsonMapper

A library that maps nested JSON structures onto PHP classes.

  1. JSON Machine

Provides iteration over huge JSONs using simple foreach

  1. Knapsack

Collection library inspired by Clojure's sequences.

  1. msgpack.php

A pure PHP implementation of the [MessagePack](

  1. PINQ

A PHP library based on .NET's LINQ (Language Integrated Query

  1. Serializer

A library for serialising and de-serialising data.

  1. YaLinqo

Yet Another LINQ to Objects for PHP.

  1. Laminas Serializer

Another library for serialising and de-serialising data.


Libraries for working with notification software.

  1. JoliNotif

A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc

  1. Notification Pusher

A standalone library for device push notifications.

  1. Notificato

A library for handling push notifications.

  1. Notificator

A lightweight notification library.

  1. Php-pushwoosh

A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.


Libraries for project deployment.

  1. Deployer

A deployment tool.

  1. Envoy

A tool to run SSH tasks with PHP.

  1. Rocketeer

A fast and easy deployer for the PHP world.

Internationalisation and Localisation

Libraries for Internationalization (I18n) and Localization (L10n).

  1. Aura.Intl

Provides internationalization (I18N

  1. CakePHP I18n

Message translation and localization for dates and numbers.


Libraries and tools to help build serverless web applications.

  1. Bref

Serverless PHP on AWS Lambda.

  1. OpenWhisk

An open-source serverless cloud platform.

  1. Serverless Framework

An open-source framework for building serverless applications.

  1. Laravel Vapor

A serverless deployment platform for Laravel, powered by AWS.


Libraries and tools for configuration.

  1. PHP Dotenv

Parse and load environment variables from .env files.

  1. Symfony Dotenv- Parse and load environment variables from .env files.
  2. Yo! Symfony TOML

A PHP parser for [TOML](

Third Party APIs

Libraries for accessing third party APIs.

  1. Amazon Web Service SDK

The official PHP AWS SDK library.

  1. AsyncAWS

An unofficial asynchronous PHP AWS SDK.

  1. Campaign Monitor

The official Campaign Monitor PHP library.

  1. Github

A library to interface with the Github API.

  1. Mailgun The official Mailgun PHP API.
  2. Square

The official Square PHP SDK for payments and other Square APIs.

  1. Stripe

The official Stripe PHP library.

  1. Twilio

The official Twilio PHP REST API.


Libraries to help build PHP extensions.

  1. PHP CPP

A C++ library for developing PHP extensions.

  1. Zephir

A compiled language between PHP and C++ for developing PHP extensions.


Useful libraries or utilities that don't fit into the categories above.

  1. Annotations

An annotation library (part of Doctrine

  1. BotMan

A framework agnostic PHP library to build cross-platform chat bots.

  1. ClassPreloader

A library for optimising autoloading.

  1. Hprose-PHP

A cross-language RPC.

  1. noCAPTCHA

Helper for Google's noCAPTCHA (reCAPTCHA

  1. Pagerfanta

A pagination library.

  1. Safe

All PHP functions, rewritten to throw exceptions instead of returning false.

  1. SuperClosure

A library that allows Closures to be serialized.


Software for creating a development environment.

PHP Installation

Tools to help install and manage PHP on your computer.

  1. Brew PHP Switcher

Brew PHP switcher.

  1. HomeBrew

A package manager for OSX.

  1. Laravel Valet

A development environment for macOS.

  1. PHP Brew

A PHP version manager and installer.

  1. PHP Build

Another PHP version installer.

  1. PHP OSX

A PHP installer for OSX.

Development Environment

Software and tools for creating and sharing a development environment.

  1. Ansible

A radically simple orchestration framework.

  1. Docker

A containerization platform.

  1. Docker PHP Extension Installer

Easily install PHP extensions in Docker containers.

  1. Expose

An open source PHP tunneling service.

  1. Lando

Push-button development environments.

  1. Laravel Homestead

A local development environment for Laravel.

  1. Laradock

A full PHP development environment based on Docker.

  1. Puppet

A server automation framework and application.

  1. Takeout

A Docker-based development-only dependency manager.

  1. Vagrant

A portable development environment utility.

Virtual Machines

Alternative PHP virtual machines.

  1. Hack

A programming language for HHVM.

  1. HHVM

A Virtual Machine, Runtime and JIT for PHP by Facebook.

  1. PeachPie

PHP compiler and runtime for .NET and .NET Core.

Text Editors and IDEs

Text Editors and Integrated Development Environments (IDE) with support for PHP.

  1. Eclipse for PHP Developers

A PHP IDE based on the Eclipse platform.

  1. Apache NetBeans

An IDE with support for PHP and HTML5.

  1. PhpStorm

A commercial PHP IDE.

  1. VS Code

An open source code editor.

Web Applications

Web-based applications and tools.

  1. 3V4L

An online PHP & HHVM shell.

  1. Adminer

Database management in a single PHP file.

  1. Cachet

The open source status page system.

  1. DBV

A database version control application.

  1. Lychee

An easy to use and great looking photo-management-system.

  1. MailCatcher

A web tool for capturing and viewing emails.

  1. phpMyAdmin

A web interface for MySQL/MariaDB.

  1. PHP Queue

An application for managing queueing backends.

  1. phpRedisAdmin

A simple web interface to manage [Redis](

  1. PHPSandbox

An online IDE for PHP in the browser.


Infrastructure for providing PHP applications and services.


A multithreaded application server for PHP, written in PHP.

  1. php-pm

A process manager, supercharger and load balancer for PHP applications.

  1. RoadRunner

High-performance PHP application server