No description
Find a file
2026-01-23 14:40:12 +08:00
.editorconfig Updates from fork so far. (#1242) 2024-01-04 17:48:07 +01:00
CODE-OF-CONDUCT.md Update CODE-OF-CONDUCT.md 2024-01-10 20:29:19 +00:00
COLLABORATING.md Update COLLABORATING.md 2024-01-10 20:28:38 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2025-04-25 16:19:52 +01:00
LICENSE.md Make license file markdown 2014-10-18 13:58:02 -06:00
README.md update predis 2026-01-23 14:40:12 +08:00

Awesome PHP

A curated list of amazingly awesome PHP libraries, resources, and shiny things.

Table of Contents

Library

Authentication

  • Aura.Auth - Provides a unified interface to local and remote authentication systems (BSDv2)
  • SocialConnect Auth - Connect your application(s) with social network(s) (MIT)
  • Json Web Token - A simple library to work with JSON Web Token and JSON Web Signature (BSDv3)
  • OAuth 1.0 Client - OAuth 1 Client (MIT)
  • OAuth 2.0 Client - Easy integration with OAuth 2.0 service providers (MIT)
  • bshaffer/oauth2-server-php - A library for implementing an OAuth2 Server in php (MIT)
  • league/oauth2-server - A spec compliant, secure by default PHP OAuth 2.0 Server (MIT)
  • Opauth - Multi-provider authentication framework for PHP (MIT)
  • Paseto - Platform-Agnostic Security Tokens (ISC License)
  • PHP oAuthLib - PHP 5.3+ oAuth 1/2 Client Library (MIT)
  • Sentinel Social - About A Sentinel addon that makes authenticating your users through social networks & third-party OAuth providers in Sentinel an absolute breeze (PSL)
  • Sentinel - A framework agnostic authentication & authorization system (BSDv3)
  • TwitterOAuth - PHP library for use with the Twitter OAuth REST API (MIT)

Cache

  • APIx Cache - A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing (BSDv3)
  • CacheTool - CLI App and library to manage apc & opcache (MIT)
  • CakePHP Cache - Caching library with support for multiple caching backends (MIT)
  • Doctrine Cache - Doctrine Cache component (MIT)
  • Metaphore - Cache slam defense using a semaphore to prevent dogpile effect (MIT)
  • Stash - place to keep your cache (BSDv3)
  • Laminas Cache - Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output (BSDv3)

Code Quality

  • PHP CodeSniffer - tokenizes PHP files and detects violations of a defined set of coding standards (BSDv3)
  • PHP CS Fixer - automatically fix PHP Coding Standards issues (MIT)
  • PHP CS Fixer Configurator - Inspect PHP-CS-Fixer fixers and easily configure them (MIT)
  • PHPMD - a spin-off project of PHP Depend and aims (BSDv3)
  • PHPCheckstyle - tool that helps PHP programmers adhere to certain coding conventions (LGLPv3)
  • PHPCPD - Copy/Paste Detector (CPD) for PHP code (BSDv3)
  • Laravel Pint - an opinionated PHP code style fixer for minimalists (MIT)
  • editorconfig-checker - tool to verify that your files are in harmony with your .editorconfig (MIT)
  • GrumPHP - A PHP code-quality tool (MIT)
  • PHP AST Viewer - tool for viewing the Abstract Syntax Tree of PHP code (MIT)
  • PHP Magic Number Detector - help you to detect magic numbers in your PHP code (MIT)
  • PHP Parser - A PHP parser written in PHP (BSDv3)
  • PHP Semantic Versioning Checker - Compares two source sets and determines the appropriate semantic versioning to apply (MIT)
  • Phpactor - PHP Language Server with more features than you can shake a stick at (MIT)
  • PHPLOC - tool for quickly measuring the size of a PHP project (BSDv3)
  • PHPQA - Analyze PHP code with one command (MIT)
  • Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code (MIT)
  • Scrutinizer - A web tool to scrutinise PHP code.
  • UBench - A simple micro-benchmark library.

Configuration

  • PHP Dotenv - Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically (BSDv3)
  • Symfony Dotenv- Registers environment variables from a .env file (MIT)
  • Yo! Symfony TOML - A PHP parser for TOML (MIT)

Console Tool

  • Aura.Cli - Command-Line Interface tools (BSDv2)
  • Cilex - Cilex a lightweight framework for creating PHP CLI scripts inspired by Silex (MIT)
  • CLI Menu - Build beautiful PHP CLI menus. Simple yet Powerful (MIT)
  • CLIFramework - A powerful command line application framework for PHP (BSD)
  • CLImate - PHP's best friend for the terminal (MIT)
  • Commando - An Elegant CLI Library for PHP (MIT)
  • Cron Expression - Calculate the next or previous run date and determine if a CRON expression is due (MIT)
  • GetOpt - library for command-line argument processing (MIT)
  • GetOptionKit - object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking (MITT)
  • PsySH - runtime developer console, interactive debugger and REPL for PHP (MIT)
  • ShellWrap - Lovely PHP wrapper for using the command-line (MIT)

Continuous Integration (CI)

  • JoliCi - Run your TravisCi builds locally (MIT)
  • PHPCI - free and open source continuous integration tool specifically designed for PHP (BSDv2)
  • Setup PHP - GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools (MIT)

Crawler

  • Chrome PHP - Instrument headless chrome/chromium instances from PHP (MIT)
  • CrawlerDetect - PHP class for detecting bots/crawlers/spiders via the user agent (MIT)
  • DiDOM - Simple and fast HTML and XML parser (MIT)
  • Embed - Get info from any web service or page (MIT)
  • PHP Spider - configurable and extensible PHP web spider (MIT)
  • Symfony Panther - A browser testing and web crawling library for PHP and Symfony (MIT)

Convertor

  • ANSI to HTML5 - An ANSI to HTML5 converter library (MIT)
  • Hyphenation - Provide TeX-Hyphenation to PHP (MIT)
  • Slugify - Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte (MIT)
  • SQL Formatter - lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting (MIT)
  • Color Jizz - library for manipulating and converting colors (unknown)
  • PHP Conversion - Library for converting units and sizes (Apachev2)
  • PHP Units of Measure - handling physical quantities and the units of measure in which they're represented (MIT)
  • ByteUnits - parse, format and convert byte units (MIT)
  • Hateoas - implementing representations for HATEOAS REST web services (MIT)
  • Jane - a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs (MIT)

Data Science

datamining, machine learning

  • PHP-ML - PHP Machine Learning library (MIT)
  • PHP-MLX - PHP-MLX (php-ml next generation) - Machine Learning library for PHP (MIT liked)
  • Rubix ML - A high-level machine learning and deep learning library for the PHP language (MIT)

Data Structure

  • CakePHP Collection - Collection library in CakePHP (MIT)
  • convert_mbox_to_eml_files - Split huge mbox file to many .eml(.emlx) file (unknow)
  • Fractal - Output complex, flexible, AJAX/RESTful data structures (MIT)
  • Ginq - LINQ to Object inspired DSL for PHP (MIT)
  • JsonMapper - Map nested JSON structures onto PHP classes (OSLv3)
  • JSON Machine - Efficient, easy-to-use, and fast PHP JSON stream parser (Apachev2)
  • Knapsack - Collection pipeline library for PHP (MIT)
  • mbox-splitter - Allow to split mbox filesn smaller files to allow POST import (GPLv2)
  • msgpack.php - pure PHP implementation of the MessagePack serialization format (MIT)
  • PINQ - real LINQ library for PHP (MIT)
  • Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML) (MIT)
  • YaLinqo - Yet Another LINQ to Objects for PHP (BSDv2)
  • Laminas Serializer - Serialize and deserialize PHP structures to a variety of representations (BSDv3)
  • Laravel Serializable Closure - Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP (MIT)

Database

  • Atlas.Orm - data mapper implementation for your persistence model in PHP (MIT)
  • Aura.Sql - SQL database access through PDO (MIT)
  • Aura.SqlQuery - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server (MIT)
  • Baum - implementation of the Nested Set pattern for Laravel's Eloquent ORM (MIT)
  • CakePHP ORM - flexible, lightweight and powerful Object-Relational Mapper for PHP, implemented using the DataMapper pattern (MIT)
  • Cycle ORM - PHP DataMapper, ORM (MIT)
  • Doctrine Extensions - Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable (MIT)
  • doctrine/orm - A comprehensive DBAL and ORM (MIT)
  • Laravel Eloquent - Subtree split of the Illuminate Database component (MIT)
  • Pomm - Object Model Manager for Postgresql (MIT, mixed)
  • RedBean - ORM layer that creates models, config and database on the fly (BSD & GPLv2 (ref))
  • Slimdump - tool for creating configurable dumps of large MySQL-databases (MIT)
  • Spot2 - Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer (BSDv3)
  • Doctrine Migrations - Doctrine Database Migrations Library (MIT)
  • Migrations - php 5.3 Migration Manager (MIT)
  • Phinx - PHP Database Migrations for Everyone (MIT)
  • PHPMig - Simple migrations system for php (MIT)
  • Ruckusing - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite (LGPL)
  • MongoDB - The Official MongoDB PHP driver (Apachev2)
  • PHPMongo - MongoDB ODM, Part of PHPMongoKit (MIT)
  • Predis - flexible and feature-complete Redis/Valkey client for PHP (MIT)

Date and Time

  • CalendR - A modern, object-oriented calendar management library (MIT)
  • Carbon - simple PHP API extension for DateTime (MIT)
  • Chronos - standalone DateTime library originally based off of Carbon (MIT)
  • Moment.php - Parse, validate, manipulate, and display dates in PHP w/ i18n support (MIT)
  • Yasumi - The easy PHP Library for calculating holidays (MIT)

Dependency Injection

  • Aura.Di - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
  • Acclimate - A common interface to dependency injection containers and service locators.
  • Auryn - A recursive dependency injector.
  • Container - Another flexible dependency injection container.
  • Disco - A PSR-11 compatible, annotation-based dependency injection container.
  • PHP-DI - dependency injection container for humans (MIT)
  • Pimple - A tiny dependency injection container.
  • Symfony DI - A dependency injection container component.

Documentation

  • APIGen - Another API documentation generator.
  • daux.io - A documentation generator that uses Markdown files.
  • phpDocumentor - Documentation Generator for PHP (MIT)
  • phpDox - Documentation generator for PHP Code using standard technology (BSDv3)
  • zircote/swagger-php - Generate OpenAPI documentation for your RESTful API.
  • Drest - A library for exposing Doctrine entities as REST resource endpoints.
  • Annotations - An annotation library (part of Doctrine).

Email

Encode Decode

Event

  • Broadway - An event source and CQRS library.
  • CakePHP Event - An event dispatcher library.
  • Elephant.io - Yet another web socket library.
  • Evenement - An event dispatcher library.
  • Event - An event library with a focus on domain events.
  • Fast CGI Client - A client to make synchronous/asynchronous requests through php-fpm socket.
  • Pawl - An asynchronous web socket client.
  • Prooph Event Store - An event source component to persist event messages
  • PHP Defer - Golang's defer statement for PHP.
  • RxPHP - A reactive extension library.

File

  • CSV - A CSV data manipulation library.
  • Flysystem - Abstraction for local and remote filesystems.
  • Gaufrette - A filesystem abstraction layer.
  • UnifiedArchive - A unified reader and writer of compressed archives.
  • Parquet - PHP implementation of Parquet file format

Geolocation

  • Country List - A list of all countries with names and ISO 3166-1 codes.
  • GeoCoder - The most featured Geocoder library written in PHP (MIT)
  • GeoJSON - A GeoJSON implementation.
  • GeoTools - A library of geo-related tools.
  • PHPGeo - A simple geo library.

Globalization

Include internationalization (I18n), localization (L10n) and translation

  • Aura.Intl - Internationalization tools, particularly message translation (MIT)
  • CakePHP I18n - Message translation and localization for dates and numbers.

HTTP

  • Buzz - Another HTTP client.
  • Guzzle - A comprehensive HTTP client.
  • HTTPlug - HTTPlug, the HTTP client abstraction for PHP (MIT)
  • Nyholm PSR-7 - A super lightweight PSR-7 implementation (MIT)
  • PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests (MIT)
  • Requests - Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries (BSD liked)
  • Retrofit - Retrofit implementation in PHP. A REST client for PHP (MIT)
  • Symfony HTTP Client - A component to fetch HTTP resources synchronously or asynchronously.
  • Laminas Diactoros - PSR-7 HTTP Message implementation.

Intergration

SDK, client API

  • Amazon Web Service SDK - The official PHP AWS SDK library.
  • AsyncAWS - An unofficial asynchronous PHP AWS SDK.
  • Bref - helps you go serverless on AWS with PHP (MIT)
  • Campaign Monitor - The official Campaign Monitor PHP library.
  • Elastica - A client library for ElasticSearch.- Ganesha - A PHP implementation of Circuit Breaker pattern.
  • ElasticSearch PHP - The official client library for ElasticSearch.
  • Github - A library to interface with the Github API.
  • Instructor for PHP - Structured data outputs with LLMs, in PHP.
  • Jieba-PHP - A PHP port of Python's jieba. Chinese text segmentation for natural language processing.
  • LLPhant - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain.
  • Mailgun The official Mailgun PHP API.
  • meilisearch-php - PHP client for Meilisearch (MIT)
  • OpenAI Client - OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
  • OpenAI Client for Laravel - OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API.
  • PHP Mistral AI SDK - 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.
  • Square - The official Square PHP SDK for payments and other Square APIs.
  • Stripe - The official Stripe PHP library.
  • Solarium - A client library for Solr.
  • SphinxQL Query Builder - A query library for the Sphinx and Manticore search engines.
  • Twilio - The official Twilio PHP REST API.

Image

JSON

  • JSON Lint - A JSON lint utility.
  • JSONMapper - A library for mapping JSON to PHP objects.
  • HAL - A Hypertext Application Language (HAL) builder library.

Logging

  • Monolog - A comprehensive logger.

Math

  • Brick Math - A library providing large number support: BigInteger, BigDecimal and BigRational.
  • MathPHP - A math library for PHP.
  • DecimalObject - A value object to handle decimals/floats easily and more precisely.

Middleware

Multi-Proccesses

Multi-Threads

Navigation

  • KnpMenu - A menu library.
  • Menu - A flexible menu library with a fluent interface.

Notifications

  • JoliNotif - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)
  • Notification Pusher - A standalone library for device push notifications.
  • Notificato - A library for handling push notifications.
  • Notificator - A lightweight notification library.
  • Php-pushwoosh - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.

Network

  • IP - An immutable value object for working with IPv4 and IPv6 addresses.
  • LibPhoneNumber for PHP - A PHP implementation of Google's phone number handling library.

Office

  • lowrapper - PHP wrapper over LibreOffice converter (MIT)
  • PHPPresentation - A pure PHP library for reading and writing presentations documents (LGPLv3)
  • PHPWord - A pure PHP library for reading and writing word processing documents (LGPLv3)
  • PhpSpreadsheet - A pure PHP library for reading and writing spreadsheet files (MIT)
  • Office Convertor - PHP Wrapper for LibreOffice (MIT)
  • OpenSpout - 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.

Parser

Parser and renderer for HTML, CSS, Markdown, YAML, TOML

PDF

  • Browsershot - Convert HTML to an image, PDF or string.
  • Dompdf - A HTML to PDF converter.
  • Gotenberg - A PHP client for interacting with Gotenberg.
  • Snappy - A PDF and image generation library.
  • TCPDF - Official clone of PHP library to generate PDF documents and barcodes (LGPLv3)

Profiling

  • Barbushin PHP Console - Another web debugging console using Google Chrome.
  • Kint - A debugging and profiling tool.
  • Metrics - A simple metrics API library.
  • PCOV - A self-contained code coverage compatible driver.
  • PHP Console - A web debugging console.
  • php-debugbar - Debug bar for PHP (MIT)
  • PHPBench - A benchmarking Framework.
  • PHPSpy - A low-overhead sampling profiler.
  • Tracy - A simple error detection, logging and time measuring library.
  • Whoops - A pretty error-handling library.
  • Xdebug - Step Debugger and Debugging Aid for PHP (PHP liked)
  • XHProf - A profiling tool originally developed by Facebook.
  • Z-Ray - enterprise-level PHP debugger that comes with Zend Server (commercial)
  • Blackfire - fastest way to spot bottlenecks in your PHP & Python code (commercial)

Queue

  • Bernard - A multibackend abstraction library.
  • BunnyPHP - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library.
  • Pheanstalk - A Beanstalkd client library.
  • PHP AMQP - A pure PHP AMQP library.
  • Tarantool Queue - PHP bindings for Tarantool Queue.
  • Thumper - A RabbitMQ pattern library.
  • Enqueue - A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports.

Router

  • Aura.Router - A full-featured routing library.
  • Fast Route - A fast routing library.
  • Klein - A flexible router.
  • Pux - Another fast routing library.
  • Route - A routing library built on top of Fast Route.

Security

  • AntiXSS - A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.
  • Halite - High-level cryptography interface powered by libsodium (MIT)
  • Optimus - Id obfuscation based on Knuth's multiplicative hashing method.
  • PHPGGC - A library of PHP unserializable payloads along with a tool to generate them.
  • PHP Encryption - Secure PHP Encryption Library.
  • PHPSecLib - PHP Secure Communications Library (MIT)
  • random_compat - PHP 5.x support for random_bytes() and random_int()
  • Roave Security Advisories - This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.
  • Secure Headers - A package that adds security related headers to HTTP response.
  • Zap - An integrated penetration testing tool for web applications.
  • GenPhrase - A library for generating secure random passphrases.
  • Password Compat - A compatibility library for the new PHP 5.5 password functions.
  • Password Policy - A password policy library for PHP and JavaScript.
  • Password Validator - A library for validating and upgrading password hashes.
  • Password-Generator - PHP library to generate random passwords.
  • PHP Password Lib - A library for generating and validating passwords.
  • phpass - Legacy password hashing framework for PHP applications needing to support or having previously supported PHP below 5.5 (Public Domain)
  • Zxcvbn PHP - A realistic PHP password strength estimate library based on Zxcvbn JS.
  • noCAPTCHA - Helper for Google's noCAPTCHA (reCAPTCHA).
  • Safe - All PHP functions, rewritten to throw exceptions instead of returning false.
  • RobThree/TwoFactorAuth - Two Factor Authentication (TFA / 2FA) (MIT)
  • Laragear/WebAuthn - Authenticate users with Passkeys: fingerprints, patterns and biometric data (MIT)

Static Analysis

  • Exakat - A static analysis engine for PHP.
  • Deptrac - A static code analysis tool that helps to enforce rules for dependencies between software layers.
  • Mondrian - A code analysis tool using Graph Theory.
  • phan - A static analyzer based on PHP 7+ and the php-ast extension.
  • PHP Architecture Tester - Easy-to-use architecture testing tool for PHP.
  • PHPCompatibility - A PHP compatibility checker for PHP CodeSniffer.
  • PhpDependencyAnalysis - A tool to create customizable dependency graphs.
  • PHPDoc Parser - Next-gen phpDoc parser with support for intersection types and generics
  • PHP Metrics - A static metric library.
  • PHP Migration - A static analyzer for PHP version migration.
  • PHPStan - A PHP Static Analysis Tool.
  • Psalm - A static analysis tool for finding errors in PHP applications.

Stream

  • Streamer - A simple object-orientated stream wrapper library.

Task Runner and Scheduler

  • Jobby - A PHP cron job manager without modifying crontab.
  • Robo - A PHP Task runner with object-orientated configurations.
  • Task - A pure PHP task runner inspired by Grunt and Gulp.
  • Envoy - A tool to run SSH tasks with PHP.

Template

  • Latte - safest & truly intuitive templates for PHP (GPL, BSD)
  • MtHaml - A PHP implementation of the HAML template language.
  • Mustache - A PHP implementation of the Mustache template language.
  • PHPTAL - template engine for XSS-proof well-formed XHTML and HTML5 pages (LGPLv2)
  • Plates - A native PHP templating library.
  • Smarty - template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic (LGPLv3)
  • Twig - flexible, fast, and secure template language for PHP (BSDv3)
  • Laravel Mix - An elegant wrapper around Webpack for the 80% use case.
  • Symfony Asset - Manages URL generation and versioning of web assets.
  • Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack.

Testing

  • Alice - An expressive fixture generation library.
  • AspectMock - The most powerful and flexible mocking framework for PHPUnit / Codeception (MIT)
  • Atoum - A simple testing library.
  • Behat - A behaviour driven development (BDD) testing framework.
  • Codeception - A full stack testing framework.
  • Faker - A fake data generator library.
  • Foundry - A fixture factory generation library for Doctrine.
  • Infection - An AST-based PHP Mutation testing framework.
  • Kahlan - Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.
  • Mockery - A mock object library for testing.
  • Nette Tester - A productive and enjoyable parallel unit testing framework.
  • ParaTest - A parallel testing library for PHPUnit.
  • Pest - an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing (MIT)
  • Phake - Another mock object library for testing.
  • PHP-Mock - A mock library for built-in PHP functions (e.g. time()).
  • PHP MySQL Engine - A MySQL engine written in pure PHP.
  • PHPSpec - A design by specification unit testing library.
  • PHPT - A test tool used by PHP itself.
  • PHPUnit - A unit testing framework.
  • PHPUnit Polyfills - Simplifies running PHPUnit tests on multiple PHPUnit versions.
  • Prophecy - A highly opinionated mocking framework.
  • VFS Stream - A virtual filesystem stream wrapper for testing.
  • Better Reflection - AST-based reflection library that allows analysis and manipulation of code
  • Assert - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.

URL

Validator

  • Filterus - A simple PHP filtering library.
  • Aura.Filter - Provides tools to validate and sanitize objects and arrays.
  • CakePHP Validation - Another validation library.
  • Upload - A library for handling file uploads and validation.
  • Valitron - Another validation library.
  • Volan - Another simplified validation library.
  • Respect Validation - A simple validation library.
  • Valinor - A library for mapping to strongly typed value objects.

Video

Misc

  • Finite - A simple PHP finite state machine.
  • Functional PHP - A functional programming library.
  • Iter - A library that provides iteration primitives using generators.
  • IterTools PHP - A library that provides functionality for working with iterable entities (similar to itertools library in Python).
  • Pipeline - A pipeline pattern implementation.
  • Porter - Data import abstraction library for consuming Web APIs and other data sources.
  • RulerZ - A powerful rule engine and implementation of the Specification pattern.
  • UUID - A library for generating UUIDs.
  • Url highlight - A library for parsing URLs from text and converting them into clickable links.
  • URLify - A PHP port of Django's URLify.js.
  • Device Detector - Another library for parsing user agent strings.
  • Mobile-Detect - A lightweight PHP class for detecting mobile devices (including tablets).
  • ISO-codes - A library for validating inputs according to standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries.
  • Lock - A lock library to provide exclusive execution.
  • Hprose-PHP - A cross-language RPC.
  • Laravel Serializable Closure - A library that allows Closures to be serialized.
  • Pagerfanta - A pagination library.
  • ProxyManager - A set of utilities to generate proxy objects for data mappers.

Framework

  • AMP - non-blocking concurrency framework for PHP applications (MIT)
  • CakePHP - A rapid application development framework.
  • CodeIgniter - A powerful PHP framework with a very small footprint.
  • FuelPHP - simple, flexible, community driven PHP 5.3+ (MIT)
  • Laminas - A framework comprised of individual components (previously Zend Framework).
  • Laravel - A web application framework with expressive, elegant syntax.
  • Nette - A web framework comprised of mature components.
  • Phalcon - A framework implemented as a C extension.
  • Spiral - A high-performance PHP/Go framework.
  • Symfony - A set of reusable components and a web framework.
  • ReactPHP - Event-driven, non-blocking I/O with PHP (MIT)
  • Yii2 - A fast, secure, and efficient web framework.
  • Laravel Zero - A micro-framework for console applications.
  • Mezzio - A micro-framework by Laminas.
  • Minicli - Minimalist, dependency-free framework for building CLI-centric PHP applications.
  • Silly - A micro-framework for CLI applications.
  • Slim - Another simple micro framework.
  • Slim Skeleton - A skeleton for Slim.
  • Slim Twig View - Integrate Twig into Slim.
  • Slim PHP View - A simple PHP renderer for Slim.
  • Symfony - for web and console applications and a set of reusable PHP components (MIT)
  • CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
  • LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
  • Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
  • Swoole - Coroutine-based concurrency library for PHP (Apache)
  • BotMan - A framework agnostic PHP library to build cross-platform chatbots.
  • TinnkPHP - simple, lightweight framework (Apache2)
  • Workerman - An asynchronous event driven PHP socket framework (MIT)

Extensions

  • PHP APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
  • PHP CPP - monitoring extension enabling native Application Performance Management (APM) for PHP (PHPv3)
  • Phalcon - A framework implemented as a C extension. (MIT)
  • Zephir - A compiled language between PHP and C++ for developing PHP extensions.
  • Swoole - Coroutine-based concurrency library for PHP (Apache)
  • ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust (Apache / MIT)

Platforms

Analytics

  • Matomo - leading open-source alternative to Google Analytics (GPLv3)

Content Management Systems (CMS)

  • Backdrop - A CMS targeting small-to-medium-sized business and non-profits (a fork of Drupal).
  • Concrete5 - A CMS targeting users with a minimum of technical skills.
  • CraftCMS - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
  • DigiDocu - Open Source Documents Management System Built with Laravel 10 (GPL)
  • Drupal - An enterprise level CMS.
  • Grav - A modern flat-file CMS.
  • Joomla - Another leading CMS.
  • Kirby - A flat-file CMS that adapts to any project.
  • Magento - The most popular e-commerce platform.
  • Moodle - An open-source learning platform.
  • OpenMage - Fork of EoL Magento 1 e-commerce platform.
  • Pico CMS - A stupidly simple, blazing fast, flat file CMS.
  • Statamic - Build beautiful, easy-to-manage websites.
  • Sulu - A user and developer friendly focused CMS and Platform based on the Symfony Framework.
  • TYPO3 - An enterprise level CMS.
  • WordPress - A blogging platform and CMS.
  • MediaWiki - collaborative editing software that runs Wikipedia (GPLv2)

E-commerce

  • Money - A PHP implementation of Fowler's money pattern.
  • Brick Money - A money library for PHP, with support for contexts, cash roundings, currency conversion.
  • OmniPay - A framework agnostic multi-gateway payment processing library.
  • Payum - A payment abstraction library.
  • Shopsys Framework - An open source e-commerce platform for in-house development teams.
  • Shopware - Highly customizable e-commerce software
  • Swap - An exchange rates library.
  • Sylius - An open source e-commerce solution.

ERP / CRM

  • Dolibarr - a modern software package to manage your company or foundation's activity (GPLv3)
  • Monica - personal CRM. Remember everything about your friends, family and business relationships (AGPLv3)

File Server

  • NextCloud - safe home for all your data (AGPLv3)

Forum

  • Flarum - Simple forum software for building great communities (MIT)
  • MyBB - free and open source forum software (LGPLv3)
  • phpBB - a popular open-source bulletin board (GPLv2)
  • Vanilla - powerfully simple discussion forum you can easily customize to make as unique as your community (GPLv2)

Photo and Video

  • Lychee - Great looking and easy-to-use photo-management-system (MIT)

Static Site Generators

  • Couscous - Couscous turns Markdown documentation into beautiful websites. It's GitHub Pages on steroids.
  • Jigsaw - Simple static sites with Laravel's Blade.
  • Sculpin - A tool that converts Markdown and Twig into static HTML.

Ecosystem

Build Tool

  • Box - A utility to build PHAR files.
  • Construct - A PHP project/micro-package generator.
  • Phing - A PHP project build system inspired by Apache Ant.
  • RMT - A library for versioning and releasing software.

Development tool / environment

  • Ansible - A radically simple orchestration framework.
  • CaptainHook - very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze (MIT)
  • DDEV - a local web development environment system for PHP.
  • Deployer - deployment tool with support for popular frameworks out of the box (MIT)
  • Docker - A containerization platform.
  • Docker PHP Extension Installer - Easily install PHP extensions in Docker containers.
  • Docksal - Unified, Docker 🐳 powered web development environments for macOS, Windows, and Linux.
  • Expose - An open-source PHP tunneling service.
  • Lando - Push-button development environments.
  • Laravel Homestead - A local development environment for Laravel.
  • Laravel Herd - A one click PHP development environment for macOS and Windows.
  • Laradock - A full PHP development environment based on Docker.
  • PHPMon - A macOS menu bar app for managing PHP installations (works with Laravel Valet).
  • Puppet - A server automation framework and application.
  • Rocketeer - Send your projects up in the clouds (MIT)
  • Laravel Sail - Docker files for running a basic Laravel application (MIT)
  • Takeout - A Docker-based development-only dependency manager.
  • Vagrant - A portable development environment utility.
  • ClassPreloader - A library for optimizing autoloading.

Dependency Management

  • Composer Installers - A multi-framework Composer library installer.
  • Composer - A package and dependency manager.
  • Pie - The official PHP installer for extensions.
  • Phive - A PHAR manager.
  • Pickle - A PHP extension installer.* Composed - A library to parse your project's Composer environment at runtime.
  • Composer Merge Plugin - A composer plugin to merge several composer.json files.
  • Composer Normalize - A plugin for normalizing composer.json files.
  • Composer Patches - A plugin for Composer to apply patches.
  • Composer Prefer Lowest Validator - A plugin to check if minimum dependencies can be installed and tested.
  • Composer Require Checker - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
  • Composer Unused - A CLI Tool to scan for unused composer packages.
  • Repman - A private PHP package repository manager and Packagist proxy.
  • Satis - A static Composer repository generator.
  • Tooly - A library to manage PHAR files in a project using Composer.
  • Toran Proxy - A Composer proxy for speed and reliability. (⚠️ Toran Proxy is being phased out.)

PHP Installation

Server

  • amphp/http-server - An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands (MIT)
  • appserver.io - A multithreaded application server for PHP, written in PHP.
  • php-pm - A process manager, supercharger and load balancer for PHP applications.
  • RoadRunner - High-performance PHP application server, load-balancer and process manager.
  • FrankenPHP - The modern PHP app server written in Golang (MIT)
  • Ratchet - Asynchronous WebSocket server (MIT)
  • Restler - A lightweight framework to expose PHP methods as RESTful web API.

Editor and IDE

Virtual Machines

  • Hack - A programming language for HHVM.
  • HHVM - A Virtual Machine, Runtime and JIT for PHP by Facebook.
  • PeachPie - PHP compiler and runtime for .NET and .NET Core.

Web Application

  • 3V4L - An online PHP & HHVM shell.
  • Adminer - Database management in a single PHP file.
  • Cachet - The open source status page system.
  • DBV - A database version control application.
  • Lychee - An easy to use and great looking photo-management-system.
  • MailCatcher - A web tool for capturing and viewing emails.
  • phpMyAdmin - A web interface for MySQL/MariaDB.
  • PHP Queue - An application for managing queueing backends.
  • phpRedisAdmin - A simple web interface to manage Redis databases.
  • PHPSandbox - An online IDE for PHP in the browser.

Utility

Resources

Web Service

Tutorial / Learning

Books

Videos

Conferences

  • Laracon EU - Laracon EU is a 2-day event for people who are interested in learning Laravel and related technologies, or who want to share their knowledge with others.
  • PHP[TEK] - The longest-running web developer conference in the United States that has a focus on the PHP programming language.
  • PHP UK Conference - A collection of videos from the PHP UK Conference.

Podcasts

  • Laravel News Podcast - The Laravel News Podcast brings you all the latest news and events related to the Laravel PHP Framework.
  • Mostly Technical - Hosted by Ian Landsman and Aaron Francis, Mostly Technical is a lively discussion on Laravel, business, and an eclectic mix of related topics.
  • No Compromises - Two seasoned salty programming veterans talk best practices based on years of working with Laravel SaaS teams.
  • North Meets South Web Podcast - Jacob Bennett and Michael Dyrynda conquer a 14.5 hour time difference to talk about life as web developers.
  • Over Engineered - A podcast in mini-series where we explore unimportant programming questions in extreme detail.
  • PHP Internals News - A podcast about PHP internals.
  • PHP Town Hall - A casual PHP podcast by Ben Edmunds and Phil Sturgeon.
  • php[podcast] episodes from php[architect] - The official podcast of php[architect] the industry's leading tech magazine and publisher focused on PHP and web development.
  • PHPUgly - The ramblings of a few overworked PHP Developers.
  • The Laracasts Snippet - The Laracasts snippet, each episode, offers a single thought on some aspect of web development.
  • The Laravel Podcast - Laravel and PHP development news and discussion.
  • The PHP Roundtable - The PHP Roundtable is a casual gathering of developers discussing topics that PHP nerds care about.

Newsletters

Reading

Internals Reading

Package Repository