awesome-php

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

GitHub

31k stars
2k watching
5k forks
last commit: about 1 month ago
Linked from 22 awesome lists

awesomeawesome-listsphpphp-applicationsphp-frameworkphp-installationphp-libraryphp7

Awesome PHP / Table of Contents / Composer Repositories

Firegento Magento Module Composer Repository
Packagist The PHP Package Repository
Packalyst The Laravel Package Repository
Private Packagist Composer package archive as a service for PHP
WordPress Packagist Manage your plugins with Composer

Awesome PHP / Table of Contents / Dependency Management

Composer Installers 1,431 26 days ago A multi-framework Composer library installer
Composer A package and dependency manager
Phive A PHAR manager
Pickle 1,647 about 1 year ago A PHP extension installer

Awesome PHP / Table of Contents / Dependency Management Extras

Composed 52 almost 8 years ago A library to parse your project's Composer environment at runtime
Composer Merge Plugin 934 12 months ago A composer plugin to merge several files
Composer Normalize 1,035 11 days ago A plugin for normalizing files
Composer Patches 1,523 24 days ago A plugin for Composer to apply patches
Composer Prefer Lowest Validator 20 11 months ago A plugin to check if minimum dependencies can be installed and tested
Composer Require Checker 886 13 days ago CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package
Composer Unused 1,527 4 months ago A CLI Tool to scan for unused composer packages
Repman A private PHP package repository manager and Packagist proxy
Satis 3,137 11 days ago A static Composer repository generator
Tooly 101 9 months ago 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.)

Awesome PHP / Table of Contents / Frameworks

CakePHP A rapid application development framework
CodeIgniter A powerful PHP framework with a very small footprint
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
Yii2 14,238 17 days ago A fast, secure, and efficient web framework

Awesome PHP / Table of Contents / Framework Extras

CakePHP CRUD 375 5 days ago A Rapid Application Development (RAD) plugin for CakePHP
Knp RAD Components A set of Rapid Application Development (RAD) components for Symfony
LaravelS 3,824 29 days ago An out-of-the-box adapter between Laravel/Lumen and Swoole
Livewire Powerful, dynamic, front-end UIs without leaving PHP

Awesome PHP / Table of Contents / 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 3,244 10 days ago A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond
Drupal An enterprise level CMS
Grav 14,504 about 2 months ago A modern flat-file CMS
Joomla Another leading CMS
Kirby A flat-file CMS that adapts to any project
Magento 11,489 11 days ago The most popular e-commerce platform
Moodle An open-source learning 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
WordPress 19,383 4 days ago A blogging platform and CMS

Awesome PHP / Table of Contents / Components

Aura Independent components, fully decoupled from each other and from any framework
CakePHP Plugins A directory of CakePHP plugins
Laravel Components The Laravel Framework components
League of Extraordinary Packages A PHP package development group
Spatie Open Source A collection of open-source PHP and Laravel packages
Symfony Components The components that make Symfony
Laminas Components The components that make the Laminas Framework

Awesome PHP / Table of Contents / Micro Frameworks

Laravel Zero A micro-framework for console applications
Mezzio A micro-framework by Laminas
Minicli 1,035 19 days ago Minimalist, dependency-free framework for building CLI-centric PHP applications
Silly 912 9 months ago A micro-framework for CLI applications
Slim Another simple micro framework

Awesome PHP / Table of Contents / Micro Framework Extras

Slim Skeleton 1,583 4 months ago A skeleton for Slim
Slim Twig View 305 over 2 years ago Integrate Twig into Slim
Slim PHP View 263 about 1 month ago A simple PHP renderer for Slim

Awesome PHP / Table of Contents / Routers

Aura.Router 493 7 months ago A full-featured routing library
Fast Route 5,104 6 months ago A fast routing library
Klein 2,666 9 months ago A flexible router
Pux 1,274 over 1 year ago Another fast routing library
Route 649 14 days ago A routing library built on top of Fast Route

Awesome PHP / Table of Contents / Templating

Latte The safest and truly intuitive templates for PHP
MtHaml 359 almost 2 years ago A PHP implementation of the HAML template language
Mustache 3,243 2 months ago A PHP implementation of the Mustache template language
PHPTAL A PHP implementation of the templating language
Plates A native PHP templating library
Smarty A template engine to complement PHP
Twig A comprehensive templating language

Awesome PHP / Table of Contents / 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

Awesome PHP / Table of Contents / HTTP

Buzz 1,919 19 days ago Another HTTP client
Guzzle 23,147 2 months ago A comprehensive HTTP client
HTTPlug An HTTP client abstraction without binding to a specific implementation
Nyholm PSR-7 1,155 about 1 month ago A super lightweight PSR-7 implementation. Very strict and very fast
PHP VCR A library for recording and replaying HTTP requests
Requests 3,572 18 days ago A simple HTTP library
Retrofit 156 3 months ago A library to ease creation of REST API clients
Symfony HTTP Client 1,932 16 days ago A component to fetch HTTP resources synchronously or asynchronously
Laminas Diactoros 472 13 days ago PSR-7 HTTP Message implementation

Awesome PHP / Table of Contents / Scraping

Chrome PHP 2,254 4 months ago Instrument headless Chrome/Chromium instances from PHP
CrawlerDetect 1,979 23 days ago A PHP class for detecting bots/crawlers/spiders via the user agent
DiDOM 2,193 7 months ago A super-fast HTML scrapper and parser
Embed 2,088 about 1 month ago An information extractor from any web service or page
PHP Spider 1,331 4 months ago A configurable and extensible PHP web spider
Symfony Panther 2,933 10 days ago A browser testing and web crawling library for PHP and Symfony

Awesome PHP / Table of Contents / Middlewares

PSR-7 Middlewares 668 over 6 years ago Inspiring collection of handy middlewares
Relay 320 10 months ago A PHP 5.5 PSR-7 middleware dispatcher
Stack A library of stackable middleware for Symfony
Laminas Stratigility 55 27 days ago Middleware for PHP built on top of PSR-7

Awesome PHP / Table of Contents / URL

PHP Domain Parser 1,158 6 months ago A domain suffix parser library
Purl 907 almost 3 years ago A URL manipulation library
sabre/uri 288 about 1 month ago A functional URI manipulation library
Uri 1,027 22 days ago Another URL manipulation library

Awesome PHP / Table of Contents / Email

CssToInlineStyles 5,800 3 months ago A library to inline CSS in email templates
Email Reply Parser 640 about 2 years ago An email reply parser library
Email Validator 163 about 6 years ago A small email address validation library
Fetch 503 9 months ago An IMAP library
Mautic 7,143 10 days ago Email marketing automation
PHPMailer 20,966 10 days ago Another mailer solution
PHP IMAP 1,663 6 months ago A library to access mailboxes via POP3, IMAP and NNTP
Stampie 294 over 2 years ago A library for email services such as , , and
SwiftMailer A mailer solution
Symfony Mailer 1,478 14 days ago A powerful library for creating and sending emails

Awesome PHP / Table of Contents / Files

CSV 3,334 2 days ago A CSV data manipulation library
Flysystem 13,332 4 days ago Abstraction for local and remote filesystems
Gaufrette 2,467 8 months ago A filesystem abstraction layer
PHP FFmpeg 4,822 6 months ago A wrapper for the video library
UnifiedArchive 274 about 1 month ago A unified reader and writer of compressed archives
Parquet 18 about 1 month ago PHP implementation of Parquet file format

Awesome PHP / Table of Contents / Streams

ByteStream An asynchronous stream abstraction
Streamer 267 over 7 years ago A simple object-orientated stream wrapper library

Awesome PHP / Table of Contents / Dependency Injection

Aura.Di 349 25 days ago A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more
Acclimate 220 about 1 year ago A common interface to dependency injection containers and service locators
Auryn 723 over 1 year ago A recursive dependency injector
Container 840 3 months ago Another flexible dependency injection container
Disco 139 6 months ago A PSR-11 compatible, annotation-based dependency injection container
PHP-DI A dependency injection container that supports autowiring
Pimple A tiny dependency injection container
Symfony DI 4,098 3 days ago A dependency injection container component

Awesome PHP / Table of Contents / Imagery

Color Extractor 1,297 11 months ago A library for extracting colours from images
Glide 2,547 4 months ago An on-demand image manipulation library
Image Hash 1,983 3 months ago A library for generating perceptual image hashes
Image Optimizer 908 11 months ago A library for optimizing images
Imagine An image manipulation library
Intervention Image 13,880 21 days ago Another image manipulation library
PHP Image Workshop 861 over 1 year ago Another image manipulation library
PHP QR Code 1,956 18 days ago QR Code generator and reader

Awesome PHP / Table of Contents / Testing

Alice 2,491 12 days ago An expressive fixture generation library
Atoum 1,444 2 months ago A simple testing library
Behat A behaviour driven development (BDD) testing framework
Codeception 4,763 29 days ago A full stack testing framework
Faker 3,573 2 months ago A fake data generator library
Foundry 644 about 1 month ago A fixture factory generation library for Doctrine
Infection 2,046 about 1 month ago An AST-based PHP Mutation testing framework
Kahlan 1,143 3 months ago Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support
Mink Web acceptance testing
Mockery 10,617 10 days ago A mock object library for testing
Nette Tester 457 about 1 month ago A productive and enjoyable parallel unit testing framework
ParaTest 2,306 5 days ago A parallel testing library for PHPUnit
Pest A testing framework with a focus on simplicity
Phake 480 7 months ago Another mock object library for testing
PHP-Mock 359 8 months ago A mock library for built-in PHP functions (e.g. time())
PHP MySQL Engine 548 3 months ago A MySQL engine written in pure PHP
PHPSpec 1,879 about 2 months ago A design by specification unit testing library
PHPT A test tool used by PHP itself
PHPUnit 19,676 13 days ago A unit testing framework
PHPUnit Polyfills 172 11 days ago Simplifies running PHPUnit tests on multiple PHPUnit versions
Prophecy 8,529 about 2 months ago A highly opinionated mocking framework
VFS Stream 1,418 about 1 month ago A virtual filesystem stream wrapper for testing

Awesome PHP / Table of Contents / Continuous Integration

CircleCI A continuous integration platform
GitlabCi Let GitLab CI test, build, deploy your code. TravisCi like
Jenkins A continuous integration platform with
JoliCi 652 almost 8 years ago A continuous integration client written in PHP and powered by Docker
PHPCI 2,421 over 4 years ago An open-source continuous integration platform for PHP
SemaphoreCI A continuous integration platform for open-source and private projects
Shippable A Docker based continuous integration platform for open source and private projects
Travis CI A continuous integration platform
Setup PHP 2,902 26 days ago A GitHub Action for PHP

Awesome PHP / Table of Contents / Documentation

APIGen 2,158 7 months ago Another API documentation generator
daux.io 793 11 days ago A documentation generator that uses Markdown files
phpDocumentor A documentation generator
phpDox A documentation generator for PHP projects (that is not limited to API documentation)
zircote/swagger-php 5,074 11 days ago Generate OpenAPI documentation for your RESTful API

Awesome PHP / Table of Contents / Security

AntiXSS 678 15 days ago A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting
Halite A simple library for encryption using
Optimus 1,267 7 months ago Id obfuscation based on Knuth's multiplicative hashing method
OWASP Explore the world of cyber security
PHPGGC 3,202 about 2 months ago A library of PHP unserializable payloads along with a tool to generate them
PHP Encryption 3,784 9 months ago Secure PHP Encryption Library
PHPSecLib A pure PHP secure communications library
random_compat 8,163 about 1 month ago PHP 5.x support for and
Roave Security Advisories 2,709 10 days ago This package ensures that your application doesn't have installed dependencies with known security vulnerabilities
Secure Headers 503 7 months ago A package that adds security related headers to HTTP response
Symfony Security Monitoring A web tool to check your Composer dependencies for security advisories, previously known as "SensioLabs Security Check"
SQLMap 32,113 17 days ago An automatic SQL injection and database takeover tool
Zap 12,560 12 days ago An integrated penetration testing tool for web applications

Awesome PHP / Table of Contents / Passwords

GenPhrase 115 almost 5 years ago A library for generating secure random passphrases
Password Compat 2,150 8 months ago A compatibility library for the new PHP 5.5 password functions
Password Policy 77 about 8 years ago A password policy library for PHP and JavaScript
Password Validator 145 over 6 years ago A library for validating and upgrading password hashes
Password-Generator 292 about 1 month ago PHP library to generate random passwords
PHP Password Lib 373 almost 7 years ago A library for generating and validating passwords
phpass A portable password hashing framework
Zxcvbn PHP 826 7 months ago A realistic PHP password strength estimate library based on Zxcvbn JS

Awesome PHP / Table of Contents / Code Analysis

Better Reflection 1,186 13 days ago AST-based reflection library that allows analysis and manipulation of code
Code Climate An automated code review
Editorconfig-Checker 59 10 days ago A command line utility which verifies that your files implement your rules
GrumPHP 4,141 26 days ago A PHP code-quality tool
PHP AST Viewer A tool for viewing the Abstract Syntax Tree of PHP code
PHP Magic Number Detector 552 4 months ago A library that detects magic numbers in code
PHP Parser 16,998 13 days ago A PHP parser written in PHP
PHP Semantic Versioning Checker 426 about 1 year ago A command line utility that compares two source sets and determines the appropriate semantic versioning to apply
Phpactor 1,408 19 days ago PHP completion, refactoring and introspection tool
PHPLOC 2,330 9 months ago A tool for quickly measuring the size of a PHP project
PHPQA 567 8 months ago A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics)
Rector 8,659 10 days ago A tool to upgrade and refactor code
Scrutinizer A web tool to
UBench 567 about 1 year ago A simple micro-benchmark library

Awesome PHP / Table of Contents / Code Quality

CaptainHook 998 about 1 month ago An easy-to-use and flexible Git hook library
PHP CodeSniffer 903 12 days ago A library that detects and can auto-fix PHP, CSS and JS coding standard violations
PHP CS Fixer 12,823 5 days ago A coding standards fixer library
PHP CS Fixer Configurator A web application to help configure PHP CS Fixer rule sets
PHP Mess Detector 2,328 29 days ago A library that scans code for bugs, sub-optimal code, unused parameters and more
PHPCheckstyle 164 almost 2 years ago A tool to help adhere to certain coding conventions
PHPCPD 2,215 almost 2 years ago A library that detects copied and pasted code
Laravel Pint 2,769 18 days ago A coding standards fixer library for Laravel

Awesome PHP / Table of Contents / Static Analysis

Exakat 378 over 2 years ago A static analysis engine for PHP
Deptrac 2,618 3 months ago A static code analysis tool that helps to enforce rules for dependencies between software layers
Mondrian 396 almost 3 years ago A code analysis tool using Graph Theory
phan 5,527 about 2 months ago A static analyzer based on PHP 7+ and the php-ast extension
PHP Architecture Tester 1,068 13 days ago Easy-to-use architecture testing tool for PHP
PHPCompatibility 2,170 24 days ago A PHP compatibility checker for PHP CodeSniffer
PhpDependencyAnalysis 561 10 months ago A tool to create customizable dependency graphs
PHPDoc Parser 1,326 16 days ago Next-gen phpDoc parser with support for intersection types and generics
PHP Metrics 2,474 2 months ago A static metric library
PHP Migration 201 about 6 years ago A static analyzer for PHP version migration
PHPStan 12,854 10 days ago A PHP Static Analysis Tool
Psalm 5,545 14 days ago A static analysis tool for finding errors in PHP applications

Awesome PHP / Table of Contents / Architectural

Design Patterns PHP 21,852 4 months ago A repository of software patterns implemented in PHP
Finite A simple PHP finite state machine
Functional PHP 1,981 5 months ago A functional programming library
Iter 1,124 3 months ago A library that provides iteration primitives using generators
IterTools PHP 140 8 months ago A library that provides functionality for working with iterable entities (similar to itertools library in Python)
Pipeline 957 over 1 year ago A pipeline pattern implementation
Porter 613 about 1 year ago Data import abstraction library for consuming Web APIs and other data sources
RulerZ 872 about 2 years ago A powerful rule engine and implementation of the Specification pattern

Awesome PHP / Table of Contents / Debugging and Profiling

APM Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD
Barbushin PHP Console 1,342 8 months ago Another web debugging console using Google Chrome
Kint 2,768 10 days ago A debugging and profiling tool
Metrics 316 7 months ago A simple metrics API library
PCOV 697 3 months ago A self-contained code coverage compatible driver
PHP Console 529 over 3 years ago A web debugging console
PHP Debug Bar A debugging toolbar
PHPBench 1,886 13 days ago A benchmarking Framework
PHPSpy 1,422 about 2 months ago A low-overhead sampling profiler
Symfony VarDumper 7,397 15 days ago A variable dumper component
Tracy 1,749 2 months ago A simple error detection, logging and time measuring library
Whoops 13,182 17 days ago A pretty error-handling library
xDebug 3,140 about 2 months ago A debug and profile tool for PHP
XHProf 2,597 over 5 years ago A profiling tool originally developed by Facebook
Z-Ray A debug and profile tool for Zend Server

Awesome PHP / Table of Contents / Error Tracking and Monitoring Services

Blackfire A low-overhead code profiler
BugSnag Error and Real User Monitoring
Honeybadger Error Tracking & Application Monitoring for Developers
Rollbar Error Logging & Tracking Service for Software Teams
Sentry Application Performance Monitoring & Error Tracking Software
Tideways Monitoring and profiling tool

Awesome PHP / Table of Contents / Build Tools

Box 1,124 19 days ago A utility to build PHAR files
Construct 266 over 1 year ago A PHP project/micro-package generator
Phing A PHP project build system inspired by Apache Ant
RMT 456 9 months ago A library for versioning and releasing software

Awesome PHP / Table of Contents / Task Runners

Bldr A PHP Task runner built on Symfony components
Jobby 1,045 7 months ago A PHP cron job manager without modifying crontab
Robo 2,660 3 months ago A PHP Task runner with object-orientated configurations
Task A pure PHP task runner inspired by Grunt and Gulp

Awesome PHP / Table of Contents / Navigation

KnpMenu 1,386 2 months ago A menu library
Menu 735 4 months ago A flexible menu library with a fluent interface

Awesome PHP / Table of Contents / Asset Management

JShrink 750 9 months ago A JavaScript minifier library
Laravel Mix 5,266 9 months ago An elegant wrapper around Webpack for the 80% use case
Symfony Asset 3,117 16 days ago Manages URL generation and versioning of web assets
Symfony Encore 2,232 10 days ago A simple but powerful API for processing and compiling assets built around Webpack

Awesome PHP / Table of Contents / Geolocation

Country List 5,164 over 2 years ago A list of all countries with names and ISO 3166-1 codes
GeoCoder A geocoding library
GeoJSON 295 9 months ago A GeoJSON implementation
GeoTools 1,368 7 months ago A library of geo-related tools
PHPGeo 1,559 3 months ago A simple geo library

Awesome PHP / Table of Contents / Date and Time

CalendR A calendar management library
Carbon 16,543 18 days ago A simple DateTime API extension
Chronos 1,355 23 days ago A DateTime API extension supporting both mutable and immutable date/time
Moment.php 974 8 months ago Moment.js inspired PHP DateTime handler with i18n support
Yasumi 1,038 about 2 months ago A library to help you calculate the dates and names of holidays

Awesome PHP / Table of Contents / Event

Amp 4,231 3 months ago An event driven non-blocking I/O library
Broadway 1,490 6 days ago An event source and CQRS library
CakePHP Event 22 22 days ago An event dispatcher library
Elephant.io 106 3 months ago Yet another web socket library
Evenement 1,272 3 months ago An event dispatcher library
Event 1,519 about 1 month ago An event library with a focus on domain events
Fast CGI Client 551 5 months ago A client to make synchronous/asynchronous requests through php-fpm socket
FrankenPHP A modern PHP app server written in Go
Pawl 582 4 months ago An asynchronous web socket client
Prooph Event Store 547 10 months ago An event source component to persist event messages
PHP Defer 284 about 1 year ago Golang's defer statement for PHP
Ratchet 6,256 2 months ago A web socket library
ReactPHP 8,923 6 months ago An event driven non-blocking I/O library
RxPHP 1,695 19 days ago A reactive extension library
Swoole 18,422 12 days ago An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C
Workerman 11,116 11 days ago An event driven non-blocking I/O library

Awesome PHP / Table of Contents / Logging

Monolog 20,982 about 2 months ago A comprehensive logger

Awesome PHP / Table of Contents / E-commerce

Money 4,616 15 days ago A PHP implementation of Fowler's money pattern
Brick Money 1,643 22 days ago A money library for PHP, with support for contexts, cash roundings, currency conversion
OmniPay 5,929 2 months ago A framework agnostic multi-gateway payment processing library
Payum 1,839 16 days ago A payment abstraction library
Shopsys Framework 329 10 days ago An open source e-commerce platform for in-house development teams
Shopware 2,787 1 day ago Highly customizable e-commerce software
Swap 1,313 6 months ago An exchange rates library
Sylius An open source e-commerce solution

Awesome PHP / Table of Contents / PDF

Browsershot 4,828 about 2 months ago Convert HTML to an image, PDF or string
Dompdf 10,485 about 2 months ago A HTML to PDF converter
Gotenberg 217 13 days ago A PHP client for interacting with Gotenberg
Snappy 4,383 8 months ago A PDF and image generation library
TCPDF An open source PHP class for generating PDF documents

Awesome PHP / Table of Contents / Office

PHPPowerPoint 1,306 about 1 month ago A library for working with Microsoft PowerPoint Presentations
PHPWord 7,236 29 days ago A library for working with Microsoft Word documents
PHPSpreadsheet 13,297 11 days ago A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel)
OpenSpout 778 16 days ago A community driven fork of , a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

Awesome PHP / Table of Contents / Database

Atlas.Orm 427 over 3 years ago A data mapper implementation for your persistence model in PHP
Aura.Sql 554 5 months ago Provides an extension to the native PDO along with a profiler and connection locator
Aura.SqlQuery 450 7 months ago Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server
Baum 2,241 4 months ago A nested set implementation for Eloquent
CakePHP ORM 149 22 days ago Object-Relational Mapper, implemented using the DataMapper pattern
Cycle ORM 1,227 about 1 month ago PHP DataMapper, ORM
Doctrine Extensions 4,033 19 days ago A collection of Doctrine behavioural extensions
Doctrine A comprehensive DBAL and ORM
Laravel Eloquent 2,682 11 days ago A simple ORM
Pomm 164 over 7 years ago An Object Model Manager for PostgreSQL
ProxyManager 4,956 16 days ago A set of utilities to generate proxy objects for data mappers
RedBean A lightweight, configuration-less ORM
Slimdump 183 about 2 months ago An easy dumper tool for MySQL
Spot2 601 about 1 year ago A MySQL datamapper ORM

Awesome PHP / Table of Contents / Migrations

Doctrine Migrations A migration library for Doctrine
Migrations 40 about 8 years ago A migration management library
Phinx 4,461 9 days ago Another database migration library
PHPMig 569 2 months ago Another migration management library
Ruckusing 505 9 months ago Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite

Awesome PHP / Table of Contents / NoSQL

MongoDB 885 10 days ago MongoDB PHP Driver
PHPMongo 242 over 1 year ago A MongoDB ORM
Predis 7,601 3 months ago A feature-complete Redis library

Awesome PHP / Table of Contents / Queue

Bernard 1,213 about 1 year ago A multibackend abstraction library
BunnyPHP 700 4 months ago A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library
Pheanstalk 1,904 8 days ago A Beanstalkd client library
PHP AMQP 4,467 about 1 month ago A pure PHP AMQP library
Tarantool Queue 63 7 months ago PHP bindings for Tarantool Queue
Thumper 276 almost 3 years ago A RabbitMQ pattern library
Enqueue 2,171 11 days ago A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports
Elastica 2,256 about 2 months ago A client library for ElasticSearch
ElasticSearch PHP 5,269 25 days ago The official client library for
Solarium A client library for
SphinxQL Query Builder A query library for the and search engines

Awesome PHP / Table of Contents / Command Line

Aura.Cli 104 4 months ago 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
Cilex 620 10 months ago A micro framework for building command line tools
CLI Menu 1,936 10 months ago A library for building CLI menus
CLIFramework 437 over 1 year ago A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew
CLImate 1,865 11 months ago A library for outputting colors and special formatting
Commando 797 5 months ago Another simple command line opt parser
Cron Expression 4,895 6 months ago A library to calculate cron run dates
GetOpt 336 about 1 month ago A command line opt parser
GetOptionKit 150 over 1 year ago Another command line opt parser
PsySH 9,723 10 days ago Another PHP REPL
ShellWrap 746 almost 2 years ago A simple command line wrapper library

Awesome PHP / Table of Contents / Authentication and Authorization

Aura.Auth 134 over 2 years ago Provides authentication functionality and session tracking using various adapters
SocialConnect Auth 552 over 1 year ago An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect)
Json Web Token 7,270 11 days ago Json Tokens to authenticate and transmit information
OAuth 1.0 Client 967 11 months ago An OAuth 1.0 client library
OAuth 2.0 Client 3,644 3 months ago An OAuth 2.0 client library
OAuth2 Server Another OAuth2 server implementation
OAuth2 Server An OAuth2 authentication server, resource server and client library
Opauth 1,651 over 4 years ago A multi-provider authentication framework
Paseto 3,239 5 months ago Platform-Agnostic Security Tokens
PHP oAuthLib 1,086 9 months ago Another OAuth library
Sentinel Social A library for social network authentication
Sentinel A framework agnostic authentication & authorisation library
TwitterOAuth 4,295 26 days ago A Twitter OAuth library

Awesome PHP / Table of Contents / Markup and CSS

Cebe Markdown 998 about 2 years ago A fast and extensible Markdown parser
CommonMark PHP 2,727 11 days ago Highly-extensible Markdown parser which fully supports the
Decoda 196 almost 2 years ago A lightweight markup parser library
Essence 769 over 1 year ago A library for extracting web media
Embera 338 about 2 months ago An Oembed consumer library
HTML to Markdown 1,759 28 days ago Converts HTML into Markdown
HTML5 PHP 1,573 2 months ago An HTML5 parser and serializer library
Parsedown 14,758 about 1 month ago Another Markdown parser
PHP CSS Parser 1,754 5 days ago A Parser for CSS Files written in PHP
PHP Markdown 3,425 4 months ago A Markdown parser
Shiki PHP 280 13 days ago A code highlighting package in PHP
VObject 569 about 1 month ago A library for parsing VCard and iCalendar objects

Awesome PHP / Table of Contents / JSON

JSON Lint 1,321 about 2 months ago A JSON lint utility
JSONMapper 210 5 months ago A library for mapping JSON to PHP objects

Awesome PHP / Table of Contents / Strings

Agent 4,522 2 months ago A PHP desktop/mobile user agent parser, based on Mobiledetect
ANSI to HTML5 238 about 2 years ago An ANSI to HTML5 converter library
Color Jizz 288 over 1 year ago A library for manipulating and converting colors
Device Detector 2,922 1 day ago Another library for parsing user agent strings
Hyphenation 54 8 months ago Text-Hyphenation based on the TeX-hyphenation Algorithm
Jieba-PHP 1,322 about 2 years ago A PHP port of Python's jieba. Chinese text segmentation for natural language processing
Mobile-Detect 10,527 2 months ago A lightweight PHP class for detecting mobile devices (including tablets)
Patchwork UTF-8 79 over 2 years ago A portable library for working with UTF-8 strings
Portable ASCII 522 about 2 months ago A library to convert strings to ASCII
Portable UTF-8 504 about 1 month ago A string manipulation library with UTF-8 safe replacement methods
Slugify 2,875 about 1 month ago A library to convert strings to slugs
SQL Formatter 3,889 over 1 year ago A library for formatting SQL statements
Stringy 169 4 months ago A string manipulation library with multibyte support
UA Parser 1,971 almost 8 years ago A library for parsing user agent strings
URLify 674 about 1 year ago A PHP port of Django's URLify.js
UUID 12,448 12 days ago A library for generating UUIDs

Awesome PHP / Table of Contents / Numbers

Brick Math 1,824 4 months ago A library providing large number support: , and
ByteUnits 162 over 3 years ago A library to parse, format and convert byte units in binary and metric systems
DecimalObject 17 8 months ago A value object to handle decimals/floats easily and more precisely
IP 249 4 months ago An immutable value object for working with IPv4 and IPv6 addresses
LibPhoneNumber for PHP 4,739 17 days ago A PHP implementation of Google's phone number handling library
PHP Conversion 130 over 2 years ago Another library for converting between units of measure
PHP Units of Measure 22 about 5 years ago A library for converting between units of measure
MathPHP 2,332 6 months ago A math library for PHP

Awesome PHP / Table of Contents / Filtering, Sanitizing and Validation

Assert 2,406 3 months ago A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions
Aura.Filter 159 almost 2 years ago Provides tools to validate and sanitize objects and arrays
CakePHP Validation 43 22 days ago Another validation library
Filterus 454 almost 6 years ago A simple PHP filtering library
HTML Purifier 3,067 about 2 months ago A standards compliant HTML filter
ISO-codes 791 3 months ago A library for validating inputs according to standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries
JSON Schema 3,531 4 days ago A validation library
MetaYaml 104 over 5 years ago A schema validation library that supports YAML, JSON and XML
Respect Validation 5,786 11 days ago A simple validation library
Symfony HTML Sanitizer 237 16 days ago An HTML sanitizer library
Upload 1,668 11 months ago A library for handling file uploads and validation
Valitron 1,573 6 months ago Another validation library
Valinor 1,297 18 days ago A library for mapping to strongly typed value objects
Volan 43 over 6 years ago Another simplified validation library

Awesome PHP / Table of Contents / API

API Platform Expose in minutes a hypermedia REST API that embraces JSON-LD, Hydra format
Laminas API Tool Skeleton 49 6 months ago An API builder built with the Laminas Framework
Drest 87 over 7 years ago A library for exposing Doctrine entities as REST resource endpoints
HAL 203 about 3 years ago A Hypertext Application Language (HAL) builder library
Hateoas 1,037 9 months ago A HATEOAS REST web service library
Jane 606 2 months ago An OpenApi client generator with validation support
Negotiation 1,412 about 1 year ago A content negotiation library
Restler 1,359 19 days ago A lightweight framework to expose PHP methods as RESTful web API
PackageGenerator 424 4 months ago Package Generator generates a PHP SDK from any WSDL

Awesome PHP / Table of Contents / Caching and Locking

APIx Cache 117 about 2 years ago A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing
CacheTool 1,624 2 months ago A tool to clear APC/opcode caches from the command line
CakePHP Cache 51 22 days ago A caching library
Doctrine Cache 7,835 about 1 month ago A caching library
Metaphore 101 8 months ago Cache slam defense using a semaphore to prevent dogpile effect
Stash 961 6 months ago Another library for caching
Laminas Cache 100 11 days ago Another caching library
Lock 928 9 months ago A lock library to provide exclusive execution

Awesome PHP / Table of Contents / Data Structure and Storage

CakePHP Collection 89 22 days ago A simple collections library
Fractal 3,525 5 months ago A library for converting complex data structures to JSON output
Ginq 193 over 2 years ago Another PHP library based on .NET's LINQ
JsonMapper 1,561 about 1 month ago A library that maps nested JSON structures onto PHP classes
JSON Machine 1,078 about 2 months ago Provides iteration over huge JSONs using simple
Knapsack 536 5 months ago Collection library inspired by Clojure's sequences
msgpack.php 388 over 1 year ago A pure PHP implementation of the serialization format
PINQ 461 over 2 years ago A PHP library based on .NET's LINQ (Language Integrated Query)
Serializer 2,321 about 1 month ago A library for serializing and de-serializing data
YaLinqo 440 9 months ago Yet Another LINQ to Objects for PHP
Laminas Serializer 33 27 days ago Another library for serialising and de-serialising data

Awesome PHP / Table of Contents / Notifications

JoliNotif 1,362 10 days ago A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)
Notification Pusher 1,183 about 1 year ago A standalone library for device push notifications
Notificato 224 over 4 years ago A library for handling push notifications
Notificator 193 over 6 years ago A lightweight notification library
Php-pushwoosh 66 about 4 years ago A PHP Library to easily send push notifications with the Pushwoosh REST Web Services

Awesome PHP / Table of Contents / Deployment

Deployer 10,576 9 days ago A deployment tool
Envoy 1,572 about 1 month ago A tool to run SSH tasks with PHP
Rocketeer 2,664 about 4 years ago A fast and easy deployer for the PHP world

Awesome PHP / Table of Contents / Internationalisation and Localisation

Aura.Intl 90 almost 2 years ago Provides internationalization (I18N) tools, specifically package-oriented per-locale message translation
CakePHP I18n 29 22 days ago Message translation and localization for dates and numbers

Awesome PHP / Table of Contents / Serverless

Bref Serverless PHP on AWS Lambda
OpenWhisk An open-source serverless cloud platform
Serverless Framework An open-source framework for building serverless applications
Laravel Vapor A serverless deployment platform for Laravel, powered by AWS

Awesome PHP / Configuration

PHP Dotenv 13,122 3 months ago Parse and load environment variables from files
Symfony Dotenv 3,738 14 days ago Parse and load environment variables from files
Yo! Symfony TOML 200 about 4 years ago A PHP parser for

Awesome PHP / Configuration / LLMs

Instructor for PHP 184 10 days ago Structured data outputs with LLMs, in PHP
LLPhant 802 14 days ago A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain
OpenAI Client 4,819 23 days ago OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API
OpenAI Client for Laravel 2,636 23 days ago OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API
PHP Mistral AI SDK 3 3 months ago 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

Awesome PHP / Configuration / Third Party APIs

Amazon Web Service SDK 6,010 11 days ago The official PHP AWS SDK library
AsyncAWS An unofficial asynchronous PHP AWS SDK
Campaign Monitor The official Campaign Monitor PHP library
Github 2,149 16 days ago A library to interface with the Github API
Mailgun 1,095 16 days ago The official Mailgun PHP API
Square 114 over 4 years ago The official Square PHP SDK for payments and other Square APIs
Stripe 3,710 10 days ago The official Stripe PHP library
Twilio 1,553 17 days ago The official Twilio PHP REST API

Awesome PHP / Configuration / Extensions

PHP CPP A C++ library for developing PHP extensions
Zephir 3,291 12 days ago A compiled language between PHP and C++ for developing PHP extensions

Awesome PHP / Configuration / Miscellaneous

Annotations 6,735 11 days ago An annotation library (part of Doctrine)
BotMan 6,050 18 days ago A framework agnostic PHP library to build cross-platform chatbots
ClassPreloader 361 almost 3 years ago A library for optimizing autoloading
Ganesha 571 5 months ago A PHP implementation of Circuit Breaker pattern
Hprose-PHP 1,969 8 months ago A cross-language RPC
Laravel Serializable Closure 514 11 days ago A library that allows Closures to be serialized
noCAPTCHA 358 6 months ago Helper for Google's noCAPTCHA (reCAPTCHA)
Pagerfanta 1,594 over 4 years ago A pagination library
Safe 2,352 14 days ago All PHP functions, rewritten to throw exceptions instead of returning false

Software / PHP Installation

Brew PHP Switcher 957 5 months ago Brew PHP switcher
HomeBrew A package manager for OSX
PHP Brew 5,377 4 days ago A PHP version manager and installer
PHP Build 1,002 about 1 month ago Another PHP version installer
Static PHP CLI 1,268 11 days ago Build or static versions of PHP CLI and FPM

Software / Development Environment

Ansible A radically simple orchestration framework
DDEV 2,678 16 days ago a local web development environment system for PHP
Docker A containerization platform
Docker PHP Extension Installer 4,230 10 days ago Easily install PHP extensions in Docker containers
Docksal 686 28 days ago Unified, Docker powered web development environments for macOS, Windows, and Linux
Expose 4,223 17 days ago 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 )
Puppet A server automation framework and application
Takeout 1,597 22 days ago A Docker-based development-only dependency manager
Vagrant A portable development environment utility

Software / Virtual Machines

Hack A programming language for HHVM
HHVM 18,152 1 day ago A Virtual Machine, Runtime and JIT for PHP by Facebook
PeachPie 2,325 19 days ago PHP compiler and runtime for .NET and .NET Core

Software / Text Editors and IDEs

Eclipse for PHP Developers A PHP IDE based on the Eclipse platform
Apache NetBeans An IDE with support for PHP and HTML5
PhpStorm A commercial PHP IDE
VS Code An open source code editor

Software / Web Applications

3V4L An online PHP & HHVM shell
Adminer Database management in a single PHP file
Cachet 14,013 26 days ago The open source status page system
DBV 1,677 over 6 years ago A database version control application
Lychee 6,321 almost 3 years ago An easy to use and great looking photo-management-system
MailCatcher 6,296 5 months ago A web tool for capturing and viewing emails
phpMyAdmin 7,227 12 days ago A web interface for MySQL/MariaDB
PHP Queue 663 over 3 years ago An application for managing queueing backends
phpRedisAdmin 3,112 21 days ago A simple web interface to manage databases
PHPSandbox An online IDE for PHP in the browser

Software / Infrastructure

appserver.io 965 over 1 year ago A multithreaded application server for PHP, written in PHP
php-pm 6,556 10 months ago A process manager, supercharger and load balancer for PHP applications
RoadRunner 7,865 11 days ago High-performance PHP application server, load-balancer and process manager

Resources / PHP Websites

Nomad PHP A online PHP learning resource
Laravel News The official Laravel blog
PHP Annotated Monthly A monthly digest of PHP news
PHP FIG The PHP Framework Interoperability Group
PHP Package Development Standards Package development standards for PHP
PHP School Open Source Learning for PHP
PHP The Right Way A PHP best practice quick reference guide
PHP UG A website to help people locate their nearest PHP user group (UG)
PHP Watch PHP articles, news, upcoming changes, RFCs and more
Unit Testing Tips Unit Testing Tips by examples in PHP

Resources / PHP Books

Domain-Driven Design in PHP Real examples written in PHP showcasing DDD Architectural Styles
Functional Programming in PHP This book will show you how to leverage these new PHP5.3+ features by understanding functional programming principles
Grumpy PHPUnit A book about unit testing with PHPUnit by Chris Hartjes
Mastering Object-Orientated PHP A book about object-orientated PHP by Brandon Savage
PHP Cookbook This cookbook provides code recipes to help you resolve a variety of coding issues
Modernizing Legacy Applications in PHP A book about modernizing legacy PHP applications by Paul M. Jones
Scaling PHP Applications An ebook about scaling PHP applications by Steve Corona
Securing PHP: Core Concepts A book about common security terms and practices for PHP by Chris Cornutt
Signaling PHP A book about catching PCNTL signals in CLI scripts by Cal Evans
XML Parsing with PHP This book covers parsing and validating XML documents, leveraging XPath expressions, and working with namespaces as well as how to create and modify XML files programmatically

Resources / PHP Videos

Laracasts Screencasts about Laravel, Vue JS and more
Laravel YouTube Channel The official Laravel YouTube channel
Program With Gio PHP 8 course by Gio
Programming with Anthony A video series by Anthony Ferrara
SymfonyCasts Screencasts and tutorials about PHP and Symfony

Resources / PHP 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

Resources / PHP 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
Voices of the ElePHPant Interviews with the people who make the PHP community special

Resources / PHP Newsletters

PHP Weekly A weekly newsletter about PHP

Resources / PHP Reading

php[architect] A monthly magazine dedicated to PHP

Resources / PHP Internals Reading

PHP RFCs The home of PHP RFCs (Request for Comments)
Externals PHP internal discussions
PHP RFC Watch 127 4 months ago Watch the latest PHP
PHP Internals Book An online book about PHP internals, written by three core developers

Backlinks from these awesome lists: