awesome-php

PHP development toolkit

A curated list of PHP libraries, resources, and tools for building and managing software projects

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

GitHub

31k stars
2k watching
5k forks
last commit: 10 months ago
Linked from 22 awesome lists

awesomeawesome-listsphpphp-applicationsphp-frameworkphp-installationphp-library

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,432 11 months ago A multi-framework Composer library installer
Composer A package and dependency manager
Pie 827 10 months ago The official PHP installer for extensions
Phive A PHAR manager
Pickle 1,646 about 2 years ago A PHP extension installer

Awesome PHP / Table of Contents / Dependency Management Extras

Composed 53 almost 9 years ago A library to parse your project's Composer environment at runtime
Composer Merge Plugin 941 almost 2 years ago A composer plugin to merge several files
Composer Normalize 1,057 10 months ago A plugin for normalizing files
Composer Patches 1,547 10 months ago A plugin for Composer to apply patches
Composer Prefer Lowest Validator 20 almost 2 years ago A plugin to check if minimum dependencies can be installed and tested
Composer Require Checker 905 10 months ago CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package
Composer Unused 1,540 over 1 year ago A CLI Tool to scan for unused composer packages
Repman A private PHP package repository manager and Packagist proxy
Satis 3,147 10 months ago A static Composer repository generator
Tooly 101 over 1 year 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,241 10 months ago A fast, secure, and efficient web framework

Awesome PHP / Table of Contents / Framework Extras

CakePHP CRUD 375 11 months ago A Rapid Application Development (RAD) plugin for CakePHP
Knp RAD Components A set of Rapid Application Development (RAD) components for Symfony
LaravelS 3,842 10 months 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,293 10 months ago A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond
Drupal An enterprise level CMS
Grav 14,606 10 months ago A modern flat-file CMS
Joomla Another leading CMS
Kirby A flat-file CMS that adapts to any project
Magento 11,594 10 months 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,681 10 months 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,050 11 months ago Minimalist, dependency-free framework for building CLI-centric PHP applications
Silly 922 11 months ago A micro-framework for CLI applications
Slim Another simple micro framework

Awesome PHP / Table of Contents / Micro Framework Extras

Slim Skeleton 1,595 over 1 year ago A skeleton for Slim
Slim Twig View 305 over 3 years ago Integrate Twig into Slim
Slim PHP View 263 10 months ago A simple PHP renderer for Slim

Awesome PHP / Table of Contents / Routers

Aura.Router 493 over 1 year ago A full-featured routing library
Fast Route 5,133 over 1 year ago A fast routing library
Klein 2,667 over 1 year ago A flexible router
Pux 1,270 over 2 years ago Another fast routing library
Route 653 11 months 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 3 years ago A PHP implementation of the HAML template language
Mustache 3,244 about 1 year 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,917 about 1 year ago Another HTTP client
Guzzle 23,246 about 1 year ago A comprehensive HTTP client
HTTPlug An HTTP client abstraction without binding to a specific implementation
Nyholm PSR-7 1,183 about 1 year ago A super lightweight PSR-7 implementation. Very strict and very fast
PHP VCR A library for recording and replaying HTTP requests
Requests 3,574 10 months ago A simple HTTP library
Retrofit 157 about 1 year ago A library to ease creation of REST API clients
Symfony HTTP Client 1,960 10 months ago A component to fetch HTTP resources synchronously or asynchronously
Laminas Diactoros 491 11 months ago PSR-7 HTTP Message implementation

Awesome PHP / Table of Contents / Scraping

Chrome PHP 2,307 10 months ago Instrument headless Chrome/Chromium instances from PHP
CrawlerDetect 2,019 10 months ago A PHP class for detecting bots/crawlers/spiders via the user agent
DiDOM 2,202 over 1 year ago A super-fast HTML scrapper and parser
Embed 2,100 10 months ago An information extractor from any web service or page
PHP Spider 1,336 over 1 year ago A configurable and extensible PHP web spider
Symfony Panther 2,955 about 1 year ago A browser testing and web crawling library for PHP and Symfony

Awesome PHP / Table of Contents / Middlewares

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

Awesome PHP / Table of Contents / URL

PHP Domain Parser 1,170 11 months ago A domain suffix parser library
Purl 908 almost 4 years ago A URL manipulation library
sabre/uri 288 10 months ago A functional URI manipulation library
Uri 1,045 10 months ago Another URL manipulation library

Awesome PHP / Table of Contents / Email

CssToInlineStyles 5,811 over 1 year ago A library to inline CSS in email templates
Email Reply Parser 640 about 3 years ago An email reply parser library
Email Validator 162 about 7 years ago A small email address validation library
Fetch 503 over 1 year ago An IMAP library
Mautic 7,451 10 months ago Email marketing automation
PHPMailer 21,145 11 months ago Another mailer solution
PHP IMAP 1,671 over 1 year ago A library to access mailboxes via POP3, IMAP and NNTP
Stampie 294 over 3 years ago A library for email services such as , , and
SwiftMailer A mailer solution
Symfony Mailer 1,508 10 months ago A powerful library for creating and sending emails

Awesome PHP / Table of Contents / Files

CSV 3,357 10 months ago A CSV data manipulation library
Flysystem 13,372 10 months ago Abstraction for local and remote filesystems
Gaufrette 2,471 over 1 year ago A filesystem abstraction layer
PHP FFmpeg 4,869 11 months ago A wrapper for the video library
UnifiedArchive 274 about 1 year ago A unified reader and writer of compressed archives
Parquet 19 10 months ago PHP implementation of Parquet file format

Awesome PHP / Table of Contents / Streams

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

Awesome PHP / Table of Contents / Dependency Injection

Aura.Di 349 about 1 year ago A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more
Acclimate 220 about 2 years ago A common interface to dependency injection containers and service locators
Auryn 723 11 months ago A recursive dependency injector
Container 849 11 months ago Another flexible dependency injection container
Disco 139 over 1 year 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,115 10 months ago A dependency injection container component

Awesome PHP / Table of Contents / Imagery

Color Extractor 1,302 almost 2 years ago A library for extracting colours from images
Glide 2,555 10 months ago An on-demand image manipulation library
Image Hash 1,994 about 1 year ago A library for generating perceptual image hashes
Image Optimizer 912 almost 2 years ago A library for optimizing images
Imagine An image manipulation library
Intervention Image 13,980 10 months ago Another image manipulation library
PHP Image Workshop 861 over 2 years ago Another image manipulation library
PHP QR Code 2,030 11 months ago QR Code generator and reader

Awesome PHP / Table of Contents / Testing

Alice 2,506 10 months ago An expressive fixture generation library
Atoum 1,445 about 1 year ago A simple testing library
Behat A behaviour driven development (BDD) testing framework
Codeception 4,776 10 months ago A full stack testing framework
Faker 3,642 10 months ago A fake data generator library
Foundry 679 10 months ago A fixture factory generation library for Doctrine
Infection 2,063 10 months ago An AST-based PHP Mutation testing framework
Kahlan 1,145 12 months ago Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support
Mink Web acceptance testing
Mockery 10,652 11 months ago A mock object library for testing
Nette Tester 462 11 months ago A productive and enjoyable parallel unit testing framework
ParaTest 2,331 10 months ago A parallel testing library for PHPUnit
Pest A testing framework with a focus on simplicity
Phake 478 10 months ago Another mock object library for testing
PHP-Mock 359 10 months ago A mock library for built-in PHP functions (e.g. time())
PHP MySQL Engine 550 10 months ago A MySQL engine written in pure PHP
PHPSpec 1,883 11 months ago A design by specification unit testing library
PHPT A test tool used by PHP itself
PHPUnit 19,733 10 months ago A unit testing framework
PHPUnit Polyfills 173 10 months ago Simplifies running PHPUnit tests on multiple PHPUnit versions
Prophecy 8,528 11 months ago A highly opinionated mocking framework
VFS Stream 1,423 about 1 year 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 653 almost 9 years ago A continuous integration client written in PHP and powered by Docker
PHPCI 2,418 over 5 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,943 10 months ago A GitHub Action for PHP

Awesome PHP / Table of Contents / Documentation

APIGen 2,161 about 1 year ago Another API documentation generator
daux.io 799 10 months 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,105 10 months ago Generate OpenAPI documentation for your RESTful API

Awesome PHP / Table of Contents / Security

AntiXSS 682 10 months ago A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting
Halite A simple library for encryption using
Optimus 1,271 over 1 year ago Id obfuscation based on Knuth's multiplicative hashing method
OWASP Explore the world of cyber security
PHPGGC 3,271 11 months ago A library of PHP unserializable payloads along with a tool to generate them
PHP Encryption 3,806 almost 2 years ago Secure PHP Encryption Library
PHPSecLib A pure PHP secure communications library
random_compat 8,172 about 1 year ago PHP 5.x support for and
Roave Security Advisories 2,731 10 months ago This package ensures that your application doesn't have installed dependencies with known security vulnerabilities
Secure Headers 510 12 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,841 10 months ago An automatic SQL injection and database takeover tool
Zap 12,847 10 months ago An integrated penetration testing tool for web applications

Awesome PHP / Table of Contents / Passwords

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

Awesome PHP / Table of Contents / Code Analysis

Better Reflection 1,196 10 months ago AST-based reflection library that allows analysis and manipulation of code
Code Climate An automated code review
Editorconfig-Checker 64 10 months ago A command line utility which verifies that your files implement your rules
GrumPHP 4,157 10 months ago A PHP code-quality tool
PHP AST Viewer A tool for viewing the Abstract Syntax Tree of PHP code
PHP Magic Number Detector 559 12 months ago A library that detects magic numbers in code
PHP Parser 17,094 10 months ago A PHP parser written in PHP
PHP Semantic Versioning Checker 430 about 2 years ago A command line utility that compares two source sets and determines the appropriate semantic versioning to apply
Phpactor 1,467 10 months ago PHP completion, refactoring and introspection tool
PHPLOC 2,336 over 1 year ago A tool for quickly measuring the size of a PHP project
PHPQA 565 over 1 year ago A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics)
Rector 8,845 10 months ago A tool to upgrade and refactor code
Scrutinizer A web tool to
UBench 567 about 2 years ago A simple micro-benchmark library

Awesome PHP / Table of Contents / Code Quality

CaptainHook 1,010 11 months ago An easy-to-use and flexible Git hook library
PHP CodeSniffer 1,018 10 months ago A library that detects and can auto-fix PHP, CSS and JS coding standard violations
PHP CS Fixer 12,922 10 months 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,342 about 1 year ago A library that scans code for bugs, sub-optimal code, unused parameters and more
PHPCheckstyle 164 almost 3 years ago A tool to help adhere to certain coding conventions
PHPCPD 2,212 over 2 years ago A library that detects copied and pasted code
Laravel Pint 2,817 10 months ago A coding standards fixer library for Laravel

Awesome PHP / Table of Contents / Static Analysis

Exakat 379 over 3 years ago A static analysis engine for PHP
Deptrac 2,670 11 months ago A static code analysis tool that helps to enforce rules for dependencies between software layers
Mondrian 397 almost 4 years ago A code analysis tool using Graph Theory
phan 5,539 11 months ago A static analyzer based on PHP 7+ and the php-ast extension
PHP Architecture Tester 1,098 11 months ago Easy-to-use architecture testing tool for PHP
PHPCompatibility 2,195 10 months ago A PHP compatibility checker for PHP CodeSniffer
PhpDependencyAnalysis 566 almost 2 years ago A tool to create customizable dependency graphs
PHPDoc Parser 1,369 11 months ago Next-gen phpDoc parser with support for intersection types and generics
PHP Metrics 2,482 about 1 year ago A static metric library
PHP Migration 202 about 7 years ago A static analyzer for PHP version migration
PHPStan 13,079 10 months ago A PHP Static Analysis Tool
Psalm 5,588 10 months ago A static analysis tool for finding errors in PHP applications

Awesome PHP / Table of Contents / Architectural

Design Patterns PHP 22,022 12 months ago A repository of software patterns implemented in PHP
Finite A simple PHP finite state machine
Functional PHP 1,981 over 1 year ago A functional programming library
Iter 1,129 about 1 year ago A library that provides iteration primitives using generators
IterTools PHP 141 over 1 year ago A library that provides functionality for working with iterable entities (similar to itertools library in Python)
Pipeline 965 over 2 years ago A pipeline pattern implementation
Porter 611 about 2 years ago Data import abstraction library for consuming Web APIs and other data sources
RulerZ 871 about 3 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,343 over 1 year ago Another web debugging console using Google Chrome
Kint 2,780 10 months ago A debugging and profiling tool
Metrics 317 over 1 year ago A simple metrics API library
PCOV 707 10 months ago A self-contained code coverage compatible driver
PHP Console 529 over 4 years ago A web debugging console
PHP Debug Bar A debugging toolbar
PHPBench 1,906 12 months ago A benchmarking Framework
PHPSpy 1,438 about 1 year ago A low-overhead sampling profiler
Symfony VarDumper 7,413 10 months ago A variable dumper component
Tracy 1,765 10 months ago A simple error detection, logging and time measuring library
Whoops 13,197 about 1 year ago A pretty error-handling library
xDebug 3,199 10 months ago A debug and profile tool for PHP
XHProf 2,601 over 6 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,145 about 1 year ago A utility to build PHAR files
Construct 266 over 2 years ago A PHP project/micro-package generator
Phing A PHP project build system inspired by Apache Ant
RMT 455 10 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,046 over 1 year ago A PHP cron job manager without modifying crontab
Robo 2,667 10 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,388 10 months ago A menu library
Menu 741 over 1 year ago A flexible menu library with a fluent interface

Awesome PHP / Table of Contents / Asset Management

JShrink 751 almost 2 years ago A JavaScript minifier library
Laravel Mix 5,273 over 1 year ago An elegant wrapper around Webpack for the 80% use case
Symfony Asset 3,124 10 months ago Manages URL generation and versioning of web assets
Symfony Encore 2,235 10 months ago A simple but powerful API for processing and compiling assets built around Webpack

Awesome PHP / Table of Contents / Geolocation

Country List 5,178 over 3 years ago A list of all countries with names and ISO 3166-1 codes
GeoCoder A geocoding library
GeoJSON 296 over 1 year ago A GeoJSON implementation
GeoTools 1,375 over 1 year ago A library of geo-related tools
PHPGeo 1,568 over 1 year ago A simple geo library

Awesome PHP / Table of Contents / Date and Time

CalendR A calendar management library
Carbon 16,591 10 months ago A simple DateTime API extension
Chronos 1,354 10 months ago A DateTime API extension supporting both mutable and immutable date/time
Moment.php 971 over 1 year ago Moment.js inspired PHP DateTime handler with i18n support
Yasumi 1,049 10 months ago A library to help you calculate the dates and names of holidays

Awesome PHP / Table of Contents / Event

Amp 4,264 11 months ago An event driven non-blocking I/O library
Broadway 1,498 about 1 year ago An event source and CQRS library
CakePHP Event 21 10 months ago An event dispatcher library
Elephant.io 112 10 months ago Yet another web socket library
Evenement 1,292 over 1 year ago An event dispatcher library
Event 1,531 about 1 year ago An event library with a focus on domain events
Fast CGI Client 553 over 1 year ago A client to make synchronous/asynchronous requests through php-fpm socket
FrankenPHP A modern PHP app server written in Go
Pawl 588 over 1 year ago An asynchronous web socket client
Prooph Event Store 549 almost 2 years ago An event source component to persist event messages
PHP Defer 294 about 2 years ago Golang's defer statement for PHP
Ratchet 6,296 about 1 year ago A web socket library
ReactPHP 8,955 11 months ago An event driven non-blocking I/O library
RxPHP 1,709 about 1 year ago A reactive extension library
Swoole 18,494 10 months ago An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C
Workerman 11,207 10 months ago An event driven non-blocking I/O library

Awesome PHP / Table of Contents / Logging

Monolog 21,073 10 months ago A comprehensive logger

Awesome PHP / Table of Contents / E-commerce

Money 4,666 11 months ago A PHP implementation of Fowler's money pattern
Brick Money 1,690 12 months ago A money library for PHP, with support for contexts, cash roundings, currency conversion
OmniPay 5,959 about 1 year ago A framework agnostic multi-gateway payment processing library
Payum 1,852 12 months ago A payment abstraction library
Shopsys Framework 332 10 months ago An open source e-commerce platform for in-house development teams
Shopware 2,847 10 months ago Highly customizable e-commerce software
Swap 1,315 over 1 year ago An exchange rates library
Sylius An open source e-commerce solution

Awesome PHP / Table of Contents / PDF

Browsershot 4,905 10 months ago Convert HTML to an image, PDF or string
Dompdf 10,604 10 months ago A HTML to PDF converter
Gotenberg 237 10 months ago A PHP client for interacting with Gotenberg
Snappy 4,404 11 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,311 10 months ago A library for working with Microsoft PowerPoint Presentations
PHPWord 7,303 10 months ago A library for working with Microsoft Word documents
PHPSpreadsheet 13,411 10 months ago A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel)
OpenSpout 850 10 months 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 4 years ago A data mapper implementation for your persistence model in PHP
Aura.Sql 558 11 months ago Provides an extension to the native PDO along with a profiler and connection locator
Aura.SqlQuery 450 over 1 year ago Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server
Baum 2,241 over 1 year ago A nested set implementation for Eloquent
CakePHP ORM 147 10 months ago Object-Relational Mapper, implemented using the DataMapper pattern
Cycle ORM 1,236 10 months ago PHP DataMapper, ORM
Doctrine Extensions 4,058 10 months ago A collection of Doctrine behavioural extensions
Doctrine A comprehensive DBAL and ORM
Laravel Eloquent 2,699 10 months ago A simple ORM
Pomm 164 over 8 years ago An Object Model Manager for PostgreSQL
ProxyManager 4,956 10 months ago A set of utilities to generate proxy objects for data mappers
RedBean A lightweight, configuration-less ORM
Slimdump 184 about 1 year ago An easy dumper tool for MySQL
Spot2 601 about 2 years ago A MySQL datamapper ORM

Awesome PHP / Table of Contents / Migrations

Doctrine Migrations A migration library for Doctrine
Migrations 40 about 9 years ago A migration management library
Phinx 4,472 10 months ago Another database migration library
PHPMig 569 about 1 year ago Another migration management library
Ruckusing 506 almost 2 years ago Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite

Awesome PHP / Table of Contents / NoSQL

MongoDB 892 10 months ago MongoDB PHP Driver
PHPMongo 242 over 2 years ago A MongoDB ORM
Predis 7,617 11 months ago A feature-complete Redis library

Awesome PHP / Table of Contents / Queue

Bernard 1,214 about 2 years ago A multibackend abstraction library
BunnyPHP 706 11 months ago A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library
Pheanstalk 1,910 about 1 year ago A Beanstalkd client library
PHP AMQP 4,476 11 months ago A pure PHP AMQP library
Tarantool Queue 64 over 1 year ago PHP bindings for Tarantool Queue
Thumper 276 almost 4 years ago A RabbitMQ pattern library
Enqueue 2,180 10 months ago A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports
Elastica 2,259 10 months ago A client library for ElasticSearch
ElasticSearch PHP 5,313 11 months 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 103 over 1 year 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 almost 2 years ago A micro framework for building command line tools
CLI Menu 1,942 12 months ago A library for building CLI menus
CLIFramework 439 over 2 years ago A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew
CLImate 1,872 11 months ago A library for outputting colors and special formatting
Commando 800 over 1 year ago Another simple command line opt parser
Cron Expression 4,894 over 1 year ago A library to calculate cron run dates
GetOpt 337 about 1 year ago A command line opt parser
GetOptionKit 150 over 2 years ago Another command line opt parser
PsySH 9,747 10 months ago Another PHP REPL
ShellWrap 746 almost 3 years ago A simple command line wrapper library

Awesome PHP / Table of Contents / Authentication and Authorization

Aura.Auth 133 over 3 years ago Provides authentication functionality and session tracking using various adapters
SocialConnect Auth 550 11 months ago An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect)
Json Web Token 7,318 10 months ago Json Tokens to authenticate and transmit information
OAuth 1.0 Client 974 10 months ago An OAuth 1.0 client library
OAuth 2.0 Client 3,661 10 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 5 years ago A multi-provider authentication framework
Paseto 3,262 over 1 year ago Platform-Agnostic Security Tokens
PHP oAuthLib 1,083 almost 2 years ago Another OAuth library
Sentinel Social A library for social network authentication
Sentinel A framework agnostic authentication & authorisation library
TwitterOAuth 4,303 10 months ago A Twitter OAuth library

Awesome PHP / Table of Contents / Markup and CSS

Cebe Markdown 1,002 about 3 years ago A fast and extensible Markdown parser
CommonMark PHP 2,764 10 months ago Highly-extensible Markdown parser which fully supports the
Decoda 197 almost 3 years ago A lightweight markup parser library
Essence 768 over 2 years ago A library for extracting web media
Embera 341 about 1 year ago An Oembed consumer library
HTML to Markdown 1,778 11 months ago Converts HTML into Markdown
HTML5 PHP 1,612 11 months ago An HTML5 parser and serializer library
Parsedown 14,820 10 months ago Another Markdown parser
PHP CSS Parser 1,771 10 months ago A Parser for CSS Files written in PHP
PHP Markdown 3,431 over 1 year ago A Markdown parser
Shiki PHP 286 11 months ago A code highlighting package in PHP
VObject 569 10 months ago A library for parsing VCard and iCalendar objects

Awesome PHP / Table of Contents / JSON

JSON Lint 1,321 about 1 year ago A JSON lint utility
JSONMapper 212 11 months ago A library for mapping JSON to PHP objects

Awesome PHP / Table of Contents / Strings

Agent 4,565 about 1 year ago A PHP desktop/mobile user agent parser, based on Mobiledetect
ANSI to HTML5 238 11 months ago An ANSI to HTML5 converter library
Color Jizz 286 11 months ago A library for manipulating and converting colors
Device Detector 3,165 10 months ago Another library for parsing user agent strings
Hyphenation 54 over 1 year ago Text-Hyphenation based on the TeX-hyphenation Algorithm
Jieba-PHP 1,331 about 3 years ago A PHP port of Python's jieba. Chinese text segmentation for natural language processing
Mobile-Detect 10,563 10 months ago A lightweight PHP class for detecting mobile devices (including tablets)
Patchwork UTF-8 79 about 3 years ago A portable library for working with UTF-8 strings
Portable ASCII 540 10 months ago A library to convert strings to ASCII
Portable UTF-8 511 10 months ago A string manipulation library with UTF-8 safe replacement methods
Slugify 2,889 about 1 year ago A library to convert strings to slugs
SQL Formatter 3,885 over 2 years ago A library for formatting SQL statements
Stringy 173 10 months ago A string manipulation library with multibyte support
UA Parser 1,973 almost 9 years ago A library for parsing user agent strings
URLify 675 about 2 years ago A PHP port of Django's URLify.js
UUID 12,482 10 months ago A library for generating UUIDs

Awesome PHP / Table of Contents / Numbers

Brick Math 1,871 over 1 year ago A library providing large number support: , and
ByteUnits 163 over 4 years ago A library to parse, format and convert byte units in binary and metric systems
DecimalObject 20 12 months ago A value object to handle decimals/floats easily and more precisely
IP 252 10 months ago An immutable value object for working with IPv4 and IPv6 addresses
LibPhoneNumber for PHP 4,789 10 months ago A PHP implementation of Google's phone number handling library
PHP Conversion 131 over 3 years ago Another library for converting between units of measure
PHP Units of Measure 22 about 6 years ago A library for converting between units of measure
MathPHP 2,351 over 1 year ago A math library for PHP

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

Assert 2,411 11 months ago A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions
Aura.Filter 160 10 months ago Provides tools to validate and sanitize objects and arrays
CakePHP Validation 42 10 months ago Another validation library
Filterus 453 almost 7 years ago A simple PHP filtering library
HTML Purifier 3,106 10 months ago A standards compliant HTML filter
ISO-codes 791 about 1 year 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,553 11 months ago A validation library
MetaYaml 104 over 6 years ago A schema validation library that supports YAML, JSON and XML
Respect Validation 5,818 10 months ago A simple validation library
Symfony HTML Sanitizer 241 10 months ago An HTML sanitizer library
Upload 1,667 almost 2 years ago A library for handling file uploads and validation
Valitron 1,579 over 1 year ago Another validation library
Valinor 1,321 11 months ago A library for mapping to strongly typed value objects
Volan 44 over 7 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 50 over 1 year ago An API builder built with the Laminas Framework
Drest 87 over 8 years ago A library for exposing Doctrine entities as REST resource endpoints
HAL 203 about 4 years ago A Hypertext Application Language (HAL) builder library
Hateoas 1,039 11 months ago A HATEOAS REST web service library
Jane 609 about 1 year ago An OpenApi client generator with validation support
Negotiation 1,415 about 2 years ago A content negotiation library
Restler 1,361 about 1 year ago A lightweight framework to expose PHP methods as RESTful web API
PackageGenerator 429 10 months ago Package Generator generates a PHP SDK from any WSDL

Awesome PHP / Table of Contents / Caching and Locking

APIx Cache 117 about 3 years ago A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing
CacheTool 1,706 11 months ago A tool to clear APC/opcode caches from the command line
CakePHP Cache 50 10 months ago A caching library
Doctrine Cache 7,861 about 1 year ago A caching library
Metaphore 101 over 1 year ago Cache slam defense using a semaphore to prevent dogpile effect
Stash 961 over 1 year ago Another library for caching
Laminas Cache 102 10 months ago Another caching library
Lock 935 10 months ago A lock library to provide exclusive execution

Awesome PHP / Table of Contents / Data Structure and Storage

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

Awesome PHP / Table of Contents / Notifications

JoliNotif 1,400 11 months ago A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)
Notification Pusher 1,184 about 2 years ago A standalone library for device push notifications
Notificato 224 over 5 years ago A library for handling push notifications
Notificator 193 over 7 years ago A lightweight notification library
Php-pushwoosh 65 about 5 years ago A PHP Library to easily send push notifications with the Pushwoosh REST Web Services

Awesome PHP / Table of Contents / Deployment

Deployer 10,654 10 months ago A deployment tool
Envoy 1,577 11 months ago A tool to run SSH tasks with PHP
Rocketeer 2,662 about 5 years ago A fast and easy deployer for the PHP world

Awesome PHP / Table of Contents / Internationalisation and Localisation

Aura.Intl 90 almost 3 years ago Provides internationalization (I18N) tools, specifically package-oriented per-locale message translation
CakePHP I18n 28 10 months 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,206 about 1 year ago Parse and load environment variables from files
Symfony Dotenv 3,752 10 months ago Parse and load environment variables from files
Yo! Symfony TOML 202 about 5 years ago A PHP parser for

Awesome PHP / Configuration / LLMs

Instructor for PHP 230 10 months ago Structured data outputs with LLMs, in PHP
LLPhant 915 10 months ago A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain
OpenAI Client 5,022 11 months ago OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API
OpenAI Client for Laravel 2,866 12 months ago OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API
PHP Mistral AI SDK 7 about 1 year 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,049 10 months ago The official PHP AWS SDK library
AsyncAWS An unofficial asynchronous PHP AWS SDK
Campaign Monitor The official Campaign Monitor PHP library
Github 2,153 11 months ago A library to interface with the Github API
Mailgun 1,107 about 1 year ago The official Mailgun PHP API
Square 114 over 5 years ago The official Square PHP SDK for payments and other Square APIs
Stripe 3,759 10 months ago The official Stripe PHP library
Twilio 1,573 10 months ago The official Twilio PHP REST API

Awesome PHP / Configuration / Extensions

PHP CPP A C++ library for developing PHP extensions
Zephir 3,313 10 months ago A compiled language between PHP and C++ for developing PHP extensions

Awesome PHP / Configuration / Miscellaneous

Annotations 6,743 12 months ago An annotation library (part of Doctrine)
BotMan 6,086 12 months ago A framework agnostic PHP library to build cross-platform chatbots
ClassPreloader 361 almost 4 years ago A library for optimizing autoloading
Ganesha 593 over 1 year ago A PHP implementation of Circuit Breaker pattern
Hprose-PHP 1,968 over 1 year ago A cross-language RPC
Laravel Serializable Closure 535 10 months ago A library that allows Closures to be serialized
noCAPTCHA 360 over 1 year ago Helper for Google's noCAPTCHA (reCAPTCHA)
Pagerfanta 1,593 over 5 years ago A pagination library
Safe 2,374 10 months ago All PHP functions, rewritten to throw exceptions instead of returning false

Software / PHP Installation

Brew PHP Switcher 964 10 months ago Brew PHP switcher
HomeBrew A package manager for OSX
PHP Brew 5,416 about 1 year ago A PHP version manager and installer
PHP Build 1,001 11 months ago Another PHP version installer
Static PHP CLI 1,366 10 months ago Build or static versions of PHP CLI and FPM

Software / Development Environment

Ansible A radically simple orchestration framework
DDEV 2,823 10 months ago a local web development environment system for PHP
Docker A containerization platform
Docker PHP Extension Installer 4,368 10 months ago Easily install PHP extensions in Docker containers
Docksal 690 about 1 year ago Unified, Docker powered web development environments for macOS, Windows, and Linux
Expose 4,260 about 1 year 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,616 10 months 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,227 10 months ago A Virtual Machine, Runtime and JIT for PHP by Facebook
PeachPie 2,381 10 months 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,135 10 months ago The open source status page system
DBV 1,699 over 7 years ago A database version control application
Lychee 6,323 almost 4 years ago An easy to use and great looking photo-management-system
MailCatcher 6,512 over 1 year ago A web tool for capturing and viewing emails
phpMyAdmin 7,307 10 months ago A web interface for MySQL/MariaDB
PHP Queue 667 over 4 years ago An application for managing queueing backends
phpRedisAdmin 3,130 10 months ago A simple web interface to manage databases
PHPSandbox An online IDE for PHP in the browser

Software / Infrastructure

appserver.io 965 over 2 years ago A multithreaded application server for PHP, written in PHP
php-pm 6,565 almost 2 years ago A process manager, supercharger and load balancer for PHP applications
RoadRunner 7,965 10 months 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 128 11 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:

More related projects: