PHP
Server-side scripting language.
Contents
Dependency Management
Dependency Management Extras
A library to parse your project's Composer environment at runtime.
A composer plugin to merge several composer.json files.
A plugin for normalizing composer.json files.
A plugin for Composer to apply patches.
A plugin to check if minimum dependencies can be installed and tested.
CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
A CLI Tool to scan for unused composer packages.
A static Composer repository generator.
A library to manage PHAR files in a project using Composer.
Framework Extras
Content Management Systems (CMS)
A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
A modern flat-file CMS.
The most popular e-commerce platform.
Fork of EoL Magento 1 e-commerce platform.
A blogging platform and CMS.
Micro Frameworks
Micro Framework Extras
Routers
Templating
HTTP
Another HTTP client.
A comprehensive HTTP client.
A super lightweight PSR-7 implementation. Very strict and very fast.
A library for recording and replaying HTTP requests.
A simple HTTP library.
A library to ease creation of REST API clients.
A component to fetch HTTP resources synchronously or asynchronously.
PSR-7 HTTP Message implementation.
Scraping
Instrument headless Chrome/Chromium instances from PHP.
A PHP class for detecting bots/crawlers/spiders via the user agent.
A super-fast HTML scrapper and parser.
An information extractor from any web service or page.
A configurable and extensible PHP web spider.
A browser testing and web crawling library for PHP and Symfony.
Middlewares
URL
A library to inline CSS in email templates.
An email reply parser library.
A small email address validation library.
An IMAP library.
Email marketing automation
Another mailer solution.
A library to access mailboxes via POP3, IMAP and NNTP.
A library for email services such as SendGrid, PostMark, MailGun and MailChimp .
A powerful library for creating and sending emails.
Files
A CSV data manipulation library.
Abstraction for local and remote filesystems.
A filesystem abstraction layer.
A wrapper for the FFmpeg video library.
A unified reader and writer of compressed archives.
PHP implementation of Parquet file format
Dependency Injection
A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
A common interface to dependency injection containers and service locators.
A recursive dependency injector.
Another flexible dependency injection container.
A PSR-11 compatible, annotation-based dependency injection container.
A dependency injection container component.
Imagery
A library for extracting colours from images.
An on-demand image manipulation library.
A library for generating perceptual image hashes.
A library for optimizing images.
Another image manipulation library.
Another image manipulation library.
QR Code generator and reader.
Testing
An expressive fixture generation library.
A simple testing library.
A full stack testing framework.
A fake data generator library.
A fixture factory generation library for Doctrine.
An AST-based PHP Mutation testing framework.
Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.
A mock object library for testing.
A productive and enjoyable parallel unit testing framework.
A parallel testing library for PHPUnit.
Another mock object library for testing.
A mock library for built-in PHP functions (e.g. time()).
A MySQL engine written in pure PHP.
A design by specification unit testing library.
A unit testing framework.
Simplifies running PHPUnit tests on multiple PHPUnit versions.
A highly opinionated mocking framework.
A virtual filesystem stream wrapper for testing.
Continuous Integration
Documentation
Security
A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.
Id obfuscation based on Knuth's multiplicative hashing method.
A library of PHP unserializable payloads along with a tool to generate them.
Secure PHP Encryption Library.
PHP 5.x support for randombytes() and randomint()
This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.
A package that adds security related headers to HTTP response.
An automatic SQL injection and database takeover tool.
An integrated penetration testing tool for web applications.
Passwords
A library for generating secure random passphrases.
A compatibility library for the new PHP 5.5 password functions.
A password policy library for PHP and JavaScript.
A library for validating and upgrading password hashes.
PHP library to generate random passwords.
A library for generating and validating passwords.
A realistic PHP password strength estimate library based on Zxcvbn JS.
Code Analysis
AST-based reflection library that allows analysis and manipulation of code
A command line utility which verifies that your files implement your .editorconfig rules.
A PHP code-quality tool.
A library that detects magic numbers in code.
A PHP parser written in PHP.
A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.
PHP completion, refactoring and introspection tool.
A tool for quickly measuring the size of a PHP project.
A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).
A tool to upgrade and refactor code.
A web tool to scrutinise PHP code.
A simple micro-benchmark library.
Code Quality
An easy-to-use and flexible Git hook library.
A library that detects and can auto-fix PHP, CSS and JS coding standard violations.
A coding standards fixer library.
A library that scans code for bugs, sub-optimal code, unused parameters and more.
A tool to help adhere to certain coding conventions.
A library that detects copied and pasted code.
A coding standards fixer library for Laravel.
Static Analysis
A static analysis engine for PHP.
A static code analysis tool that helps to enforce rules for dependencies between software layers.
A code analysis tool using Graph Theory.
A static analyzer based on PHP 7+ and the php-ast extension.
Easy-to-use architecture testing tool for PHP.
A PHP compatibility checker for PHP CodeSniffer.
A tool to create customizable dependency graphs.
Next-gen phpDoc parser with support for intersection types and generics
A static metric library.
A static analyzer for PHP version migration.
A PHP Static Analysis Tool.
A static analysis tool for finding errors in PHP applications.
Architectural
A repository of software patterns implemented in PHP.
A simple PHP finite state machine.
A functional programming library.
A library that provides iteration primitives using generators.
A library that provides functionality for working with iterable entities (similar to itertools library in Python).
A pipeline pattern implementation.
Data import abstraction library for consuming Web APIs and other data sources.
A powerful rule engine and implementation of the Specification pattern.
Debugging and Profiling
Another web debugging console using Google Chrome.
A debugging and profiling tool.
A simple metrics API library.
A self-contained code coverage compatible driver.
A web debugging console.
A benchmarking Framework.
A low-overhead sampling profiler.
A variable dumper component.
A simple error detection, logging and time measuring library.
A pretty error-handling library.
A debug and profile tool for PHP.
A profiling tool originally developed by Facebook.
Build Tools
Task Runners
Navigation
Asset Management
A JavaScript minifier library.
An elegant wrapper around Webpack for the 80% use case.
Manages URL generation and versioning of web assets.
A simple but powerful API for processing and compiling assets built around Webpack.
Geolocation
Date and Time
A calendar management library.
A simple DateTime API extension.
A DateTime API extension supporting both mutable and immutable date/time.
Moment.js inspired PHP DateTime handler with i18n support.
A library to help you calculate the dates and names of holidays.
Event
An event driven non-blocking I/O library.
An event source and CQRS library.
An event dispatcher library.
Yet another web socket library.
An event dispatcher library.
An event library with a focus on domain events.
A client to make synchronous/asynchronous requests through php-fpm socket.
An asynchronous web socket client.
An event source component to persist event messages
Golang's defer statement for PHP.
A web socket library.
An event driven non-blocking I/O library.
A reactive extension library.
An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C.
An event driven non-blocking I/O library.
E-commerce
A PHP implementation of Fowler's money pattern.
A money library for PHP, with support for contexts, cash roundings, currency conversion.
A framework agnostic multi-gateway payment processing library.
A payment abstraction library.
An open source e-commerce platform for in-house development teams.
Highly customizable e-commerce software
An exchange rates library.
Office
A library for working with Microsoft PowerPoint Presentations.
A library for working with Microsoft Word documents.
A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel).
A community driven fork of box/spout, a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way.
Database
A data mapper implementation for your persistence model in PHP.
Provides an extension to the native PDO along with a profiler and connection locator.
Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
A nested set implementation for Eloquent.
Object-Relational Mapper, implemented using the DataMapper pattern.
PHP DataMapper, ORM.
A collection of Doctrine behavioural extensions.
A simple ORM.
An Object Model Manager for PostgreSQL.
A set of utilities to generate proxy objects for data mappers.
A MySQL datamapper ORM.
Migrations
A migration management library.
Another database migration library.
Another migration management library.
Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.
NoSQL
Queue
A multibackend abstraction library.
A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library.
A Beanstalkd client library.
A pure PHP AMQP library.
PHP bindings for Tarantool Queue.
A RabbitMQ pattern library.
A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports.
Search
Table of Contents
Command Line
Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.
A micro framework for building command line tools.
A library for building CLI menus.
A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.
A library for outputting colors and special formatting.
Another simple command line opt parser.
A library to calculate cron run dates.
A command line opt parser.
Another command line opt parser.
Another PHP REPL.
A simple command line wrapper library.
Authentication and Authorization
Provides authentication functionality and session tracking using various adapters.
An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect).
Json Tokens to authenticate and transmit information.
An OAuth 1.0 client library.
An OAuth 2.0 client library.
A multi-provider authentication framework.
Platform-Agnostic Security Tokens.
Another OAuth library.
A Twitter OAuth library.
Markup and CSS
A fast and extensible Markdown parser.
Highly-extensible Markdown parser which fully supports the CommonMark spec.
A lightweight markup parser library.
A PHP parser for Djot, a modern light markup language (successor of Markdown).
A library for extracting web media.
An Oembed consumer library.
Converts HTML into Markdown.
An HTML5 parser and serializer library.
Another Markdown parser.
A Parser for CSS Files written in PHP.
A Markdown parser.
A Shiki code highlighting package in PHP.
A library for parsing VCard and iCalendar objects.
Strings
A PHP desktop/mobile user agent parser, based on Mobiledetect.
An ANSI to HTML5 converter library.
A library for manipulating and converting colors.
Another library for parsing user agent strings.
Text-Hyphenation based on the TeX-hyphenation Algorithm
A PHP port of Python's jieba. Chinese text segmentation for natural language processing.
A lightweight PHP class for detecting mobile devices (including tablets).
A portable library for working with UTF-8 strings.
A library to convert strings to ASCII.
A string manipulation library with UTF-8 safe replacement methods.
A library to convert strings to slugs.
A library for formatting SQL statements.
A string manipulation library with multibyte support.
A library for parsing user agent strings.
A library for parsing URLs from text and converting them into clickable links.
A PHP port of Django's URLify.js.
A library for generating UUIDs.
Numbers
A library providing large number support: BigInteger, BigDecimal and BigRational.
A library to parse, format and convert byte units in binary and metric systems.
A value object to handle decimals/floats easily and more precisely.
An immutable value object for working with IPv4 and IPv6 addresses.
Another library for converting between units of measure.
A library for converting between units of measure.
A math library for PHP.
Filtering, Sanitizing and Validation
A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.
Provides tools to validate and sanitize objects and arrays.
Another validation library.
A simple PHP filtering library.
A standards compliant HTML filter.
A library for validating inputs according to standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries.
A JSON Schema validation library.
A PHP implementation of Google's phone number handling library.
A schema validation library that supports YAML, JSON and XML.
A simple validation library.
An HTML sanitizer library.
A library for handling file uploads and validation.
Another validation library.
A library for mapping to strongly typed value objects.
Another simplified validation library.
API
An API builder built with the Laminas Framework.
A library for exposing Doctrine entities as REST resource endpoints.
A Hypertext Application Language (HAL) builder library.
A HATEOAS REST web service library.
An OpenApi client generator with validation support.
A content negotiation library.
A lightweight framework to expose PHP methods as RESTful web API.
Package Generator generates a PHP SDK from any WSDL.
Caching and Locking
A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing.
A tool to clear APC/opcode caches from the command line.
A caching library.
A caching library.
Cache slam defense using a semaphore to prevent dogpile effect.
Another library for caching.
Another caching library.
A lock library to provide exclusive execution.
Data Structure and Storage
A simple collections library.
A library for converting complex data structures to JSON output.
Another PHP library based on .NET's LINQ.
A library that maps nested JSON structures onto PHP classes.
Provides iteration over huge JSONs using simple foreach
Collection library inspired by Clojure's sequences.
A pure PHP implementation of the MessagePack serialization format.
A PHP library based on .NET's LINQ (Language Integrated Query).
A library for serializing and de-serializing data.
Yet Another LINQ to Objects for PHP.
Another library for serialising and de-serialising data.
Notifications
A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)
A standalone library for device push notifications.
A library for handling push notifications.
A lightweight notification library.
A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.
Deployment
Internationalisation and Localisation
Configuration
Parse and load environment variables from .env files.
Parse and load environment variables from .env files.
A PHP parser for TOML.
Structured data outputs with LLMs, in PHP.
A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain.
OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API.
A powerful and easy-to-use PHP SDK for the Mistral AI API, allowing seamless integration of advanced AI-powered features into your PHP projects.
The official PHP AWS SDK library.
A library to interface with the Github API.
The official Mailgun PHP API.
The official Square PHP SDK for payments and other Square APIs.
The official Stripe PHP library.
The official Twilio PHP REST API.
A compiled language between PHP and C++ for developing PHP extensions.
An annotation library (part of Doctrine).
A framework agnostic PHP library to build cross-platform chatbots.
A library for optimizing autoloading.
A PHP implementation of Circuit Breaker pattern.
A cross-language RPC.
A library that allows Closures to be serialized.
Helper for Google's noCAPTCHA (reCAPTCHA).
A pagination library.
All PHP functions, rewritten to throw exceptions instead of returning false.
Brew PHP switcher.
A PHP version manager and installer.
Another PHP version installer.
Build or download static versions of PHP CLI and FPM.
a local web development environment system for PHP.
Easily install PHP extensions in Docker containers.
Unified, Docker powered web development environments for macOS, Windows, and Linux.
An open-source PHP tunneling service.
A Docker-based development-only dependency manager.
A Virtual Machine, Runtime and JIT for PHP by Facebook.
PHP compiler and runtime for .NET and .NET Core.
The open source status page system.
A database version control application.
An easy to use and great looking photo-management-system.
A web tool for capturing and viewing emails.
A web interface for MySQL/MariaDB.
An application for managing queueing backends.
A simple web interface to manage Redis databases.
A multithreaded application server for PHP, written in PHP.
A process manager, supercharger and load balancer for PHP applications.
High-performance PHP application server, load-balancer and process manager.
The PHP Framework Interoperability Group.
Open Source Learning for PHP.
PHP articles, news, upcoming changes, RFCs and more.
The official Laravel YouTube channel.
Screencasts and tutorials about PHP and Symfony.
A simple web interface to manage Redis databases.
The official Laravel YouTube channel.
Screencasts and tutorials about PHP and Symfony.