A curated list of amazingly awesome PHP libraries, resources, and shiny things.
Please see CONTRIBUTING, CODE-OF-CONDUCT and COLLABORATING for details.
- Awesome PHP
- Composer Repositories
- Dependency Management
- Dependency Management Extras
- Frameworks
- Framework Extras
- Content Management Systems
- Components
- Micro Frameworks
- Micro Framework Extras
- Routers
- Templating
- Static Site Generators
- HTTP
- Scraping
- Middlewares
- URL
- Files
- Streams
- Dependency Injection
- Imagery
- Testing
- Continuous Integration
- Documentation
- Security
- Passwords
- Code Analysis
- Code Quality
- Static Analysis
- Architectural
- Debugging and Profiling
- Error Tracking and Monitoring Services
- Build Tools
- Task Runners
- Navigation
- Asset Management
- Geolocation
- Date and Time
- Event
- Logging
- E-commerce
- Office
- Database
- Migrations
- NoSQL
- Queue
- Search
- Command Line
- Authentication and Authorization
- Markup and CSS
- JSON
- Strings
- Numbers
- Filtering, Sanitizing and Validation
- API
- Caching and Locking
- Data Structure and Storage
- Notifications
- Deployment
- Internationalisation and Localisation
- Serverless
- Configuration
- LLMs
- Third Party APIs
- Extensions
- Miscellaneous
- Software
- Resources
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.
Libraries for dependency and package management.
1441β405π΄Composer Installers) - A multi-framework Composer library installer.- π Composer - A package and dependency manager.
1665β52π΄Pie) - The official PHP installer for extensions.- π Phive - A PHAR manager.
1656β88π΄Pickle) - A PHP extension installer.
Extras related to dependency management.
52β4π΄Composed) - A library to parse your project's Composer environment at runtime.981β166π΄Composer Merge Plugin) - A composer plugin to merge severalcomposer.jsonfiles.1096β37π΄Composer Normalize) - A plugin for normalizingcomposer.jsonfiles.1658β256π΄Composer Patches) - A plugin for Composer to apply patches.22β2π΄Composer Prefer Lowest Validator) - A plugin to check if minimum dependencies can be installed and tested.976β77π΄Composer Require Checker) - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.1637β54π΄Composer Unused) - A CLI Tool to scan for unused composer packages.- π Repman - A private PHP package repository manager and Packagist proxy.
3238β526π΄Satis) - A static Composer repository generator.103β14π΄Tooly) - A library to manage PHAR files in a project using Composer.- π Toran Proxy - A Composer proxy for speed and reliability. (:warning: Toran Proxy is being phased out.)
Web development 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) - A fast, secure, and efficient web framework.
Extras related to web development frameworks.
376β144π΄CakePHP CRUD) - A Rapid Application Development (RAD) plugin for CakePHP.- π Filament PHP - A powerful open source UI framework for Laravel.
3885β474π΄LaravelS) - An out-of-the-box adapter between Laravel/Lumen and Swoole.- π Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
Tools for managing digital content.
- π 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.
3524β684π΄CraftCMS) - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.- π Drupal - An enterprise level CMS.
15341β1424π΄Grav) - A modern flat-file CMS.- π Joomla - Another leading CMS.
- π Kirby - A flat-file CMS that adapts to any project.
12022β9409π΄Magento) - The most popular e-commerce platform.- π Moodle - An open-source learning platform.
915β450π΄OpenMage) - Fork of EoL Magento 1 e-commerce platform.- π Pico CMS - A stupidly simple, blazing fast, flat file CMS.
- π Statamic - Build beautiful, easy-to-manage websites.
- π Sulu - A user and developer friendly focused CMS and Platform based on the Symfony Framework.
- π TYPO3 - An enterprise level CMS.
20762β12918π΄WordPress) - A blogging platform and CMS.
Standalone components from web development frameworks and development groups.
- π 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 Packages - Decoupled libraries for PHP applications.
- π Laminas Components - The components that make the Laminas Framework.
Micro frameworks and routers.
- π Laravel Zero - A micro-framework for console applications.
- π Mezzio - A micro-framework by Laminas.
1071β58π΄Minicli) - Minimalist, dependency-free framework for building CLI-centric PHP applications.930β51π΄Silly) - A micro-framework for CLI applications.- π Slim - Another simple micro framework.
Extras related to micro frameworks and routers.
1618β479π΄Slim Skeleton) - A skeleton for Slim.304β54π΄Slim Twig View) - Integrate Twig into Slim.272β61π΄Slim PHP View) - A simple PHP renderer for Slim.
Libraries for handling application routing.
502β77π΄Aura.Router) - A full-featured routing library.5250β453π΄Fast Route) - A fast routing library.2660β289π΄Klein) - A flexible router.1266β80π΄Pux) - Another fast routing library.662β126π΄Route) - A routing library built on top of Fast Route.
Libraries and tools for templating and lexing.
- π Latte - The safest and truly intuitive templates for PHP.
359β54π΄MtHaml) - A PHP implementation of the HAML template language.3276β437π΄Mustache) - A PHP implementation of the Mustache template language.- π PHPTAL - A PHP implementation of the π TAL templating language.
- Plates - A native PHP templating library.
- π Smarty - A template engine to complement PHP.
- π Twig - A comprehensive templating language.
Tools for pre-processing content to generate web pages.
- 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.
Libraries for working with HTTP.
1925β251π΄Buzz) - Another HTTP client.- Guzzle - A comprehensive HTTP client.
- HTTPlug - An HTTP client abstraction without binding to a specific implementation.
1258β78π΄Nyholm PSR-7) - A super lightweight PSR-7 implementation. Very strict and very fast.- π PHP VCR - A library for recording and replaying HTTP requests.
3581β503π΄Requests) - A simple HTTP library.156β23π΄Retrofit) - A library to ease creation of REST API clients.2027β53π΄Symfony HTTP Client) - A component to fetch HTTP resources synchronously or asynchronously.536β75π΄Laminas Diactoros) - PSR-7 HTTP Message implementation.
Libraries for scraping websites and detecting crawlers.
2603β309π΄Chrome PHP) - Instrument headless Chrome/Chromium instances from PHP.2302β275π΄CrawlerDetect) - A PHP class for detecting bots/crawlers/spiders via the user agent.2206β202π΄DiDOM) - A super-fast HTML scrapper and parser.2133β319π΄Embed) - An information extractor from any web service or page.1340β232π΄PHP Spider) - A configurable and extensible PHP web spider.3053β236π΄Symfony Panther) - A browser testing and web crawling library for PHP and Symfony.
Libraries for building application using middlewares.
413β14π΄PSR-15 Middlewares) - Inspiring collection of handy middlewares.327β19π΄Relay) - A PHP 5.5 PSR-7 middleware dispatcher.- Stack - A library of stackable middleware for Symfony.
57β13π΄Laminas Stratigility) - Middleware for PHP built on top of PSR-7.
Libraries for parsing URLs.
1222β127π΄PHP Domain Parser) - A domain suffix parser library.905β121π΄Purl) - A URL manipulation library.293β19π΄sabre/uri) - A functional URI manipulation library.1112β71π΄Uri) - Another URL manipulation library.
Libraries for sending and parsing email.
5838β191π΄CssToInlineStyles) - A library to inline CSS in email templates.647β79π΄Email Reply Parser) - An email reply parser library.164β20π΄Email Validator) - A small email address validation library.505β157π΄Fetch) - An IMAP library.9018β3118π΄Mautic) - Email marketing automation21956β9859π΄PHPMailer) - Another mailer solution.1695β461π΄PHP IMAP) - A library to access mailboxes via POP3, IMAP and NNTP.294β30π΄Stampie) - A library for email services such as π SendGrid, π PostMark, π MailGun and π MailChimp.- π SwiftMailer - A mailer solution.
1587β48π΄Symfony Mailer) - A powerful library for creating and sending emails.
Libraries for file manipulation and MIME type detection.
3459β342π΄CSV) - A CSV data manipulation library.13547β846π΄Flysystem) - Abstraction for local and remote filesystems.2478β352π΄Gaufrette) - A filesystem abstraction layer.?β?π΄PHP FFmpeg) - A wrapper for the π FFmpeg video library.278β24π΄UnifiedArchive) - A unified reader and writer of compressed archives.39β1π΄Parquet) - PHP implementation of Parquet file format
Libraries for working with streams.
- π ByteStream - An asynchronous stream abstraction.
264β31π΄Streamer) - A simple object-orientated stream wrapper library.
Libraries that implement the dependency injection design pattern.
353β63π΄Aura.Di) - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.219β17π΄Acclimate) - A common interface to dependency injection containers and service locators.726β65π΄Auryn) - A recursive dependency injector.864β105π΄Container) - Another flexible dependency injection container.139β16π΄Disco) - A PSR-11 compatible, annotation-based dependency injection container.- π PHP-DI - A dependency injection container that supports autowiring.
2661β305π΄Pimple) - A tiny dependency injection container.4166β92π΄Symfony DI) - A dependency injection container component.
Libraries for manipulating images.
1318β157π΄Color Extractor) - A library for extracting colours from images.2628β206π΄Glide) - An on-demand image manipulation library.2038β174π΄Image Hash) - A library for generating perceptual image hashes.912β141π΄Image Optimizer) - A library for optimizing images.- π Imagine - An image manipulation library.
14285β1500π΄Intervention Image) - Another image manipulation library.857β185π΄PHP Image Workshop) - Another image manipulation library.?β?π΄PHP QR Code) - QR Code generator and reader.
Libraries for testing codebases and generating test data.
2537β330π΄Alice) - An expressive fixture generation library.1445β146π΄Atoum) - A simple testing library.- π Behat - A behaviour driven development (BDD) testing framework.
4856β1293π΄Codeception) - A full stack testing framework.3918β408π΄Faker) - A fake data generator library.763β107π΄Foundry) - A fixture factory generation library for Doctrine.2161β175π΄Infection) - An AST-based PHP Mutation testing framework.1148β70π΄Kahlan) - Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.- π Mink - Web acceptance testing.
10738β464π΄Mockery) - A mock object library for testing.480β73π΄Nette Tester) - A productive and enjoyable parallel unit testing framework.2435β247π΄ParaTest) - A parallel testing library for PHPUnit.- π Pest - A testing framework with a focus on simplicity.
475β88π΄Phake) - Another mock object library for testing.367β20π΄PHP-Mock) - A mock library for built-in PHP functions (e.g. time()).560β48π΄PHP MySQL Engine) - A MySQL engine written in pure PHP.1898β286π΄PHPSpec) - A design by specification unit testing library.- π PHPT - A test tool used by PHP itself.
19976β2229π΄PHPUnit) - A unit testing framework.?β?π΄PHPUnit Polyfills) - Simplifies running PHPUnit tests on multiple PHPUnit versions.8507β243π΄Prophecy) - A highly opinionated mocking framework.1440β104π΄VFS Stream) - A virtual filesystem stream wrapper for testing.
Libraries and applications for continuous integration.
- π CircleCI - A continuous integration platform.
- π GitlabCi - Let GitLab CI test, build, deploy your code. TravisCi like.
- π Jenkins - A continuous integration platform with π PHP support.
652β46π΄JoliCi) - A continuous integration client written in PHP and powered by Docker.2409β432π΄PHPCI) - An open-source continuous integration platform for PHP.- π SemaphoreCI - A continuous integration platform for open-source and private projects.
- π Travis CI - A continuous integration platform.
3160β402π΄Setup PHP) - A GitHub Action for PHP.
Libraries for generating project documentation.
2168β309π΄APIGen) - Another API documentation generator.821β190π΄daux.io) - 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).
5280β947π΄zircote/swagger-php) - Generate OpenAPI documentation for your RESTful API.
Libraries for generating secure random numbers, encrypting data and scanning and testing for vulnerabilities.
703β114π΄AntiXSS) - A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.- π Halite - A simple library for encryption using
13309β1837π΄libsodium). 1271β75π΄Optimus) - Id obfuscation based on Knuth's multiplicative hashing method.- π OWASP - Explore the world of cyber security.
3695β539π΄PHPGGC) - A library of PHP unserializable payloads along with a tool to generate them.3862β311π΄PHP Encryption) - Secure PHP Encryption Library.- π PHPSecLib - A pure PHP secure communications library.
8177β145π΄random_compat) - PHP 5.x support forrandom_bytes()andrandom_int()2858β110π΄Roave Security Advisories) - This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.545β47π΄Secure Headers) - A package that adds security related headers to HTTP response.36217β6154π΄SQLMap) - An automatic SQL injection and database takeover tool.14579β2490π΄Zap) - An integrated penetration testing tool for web applications.
Libraries and tools for working with and storing passwords.
117β9π΄GenPhrase) - A library for generating secure random passphrases.2138β412π΄Password Compat) - A compatibility library for the new PHP 5.5 password functions.78β20π΄Password Policy) - A password policy library for PHP and JavaScript.142β16π΄Password Validator) - A library for validating and upgrading password hashes.304β37π΄Password-Generator) - PHP library to generate random passwords.373β59π΄PHP Password Lib) - A library for generating and validating passwords.- π phpass - A portable password hashing framework.
865β116π΄Zxcvbn PHP) - A realistic PHP password strength estimate library based on Zxcvbn JS.
Libraries and tools for analysing, parsing and manipulating codebases.
1232β137π΄Better Reflection) - AST-based reflection library that allows analysis and manipulation of code- π Code Climate - An automated code review.
74β16π΄Editorconfig-Checker) - A command line utility which verifies that your files implement your.editorconfigrules.4263β443π΄GrumPHP) - A PHP code-quality tool.- π PHP AST Viewer - A tool for viewing the Abstract Syntax Tree of PHP code.
577β46π΄PHP Magic Number Detector) - A library that detects magic numbers in code.17397β1118π΄PHP Parser) - A PHP parser written in PHP.434β28π΄PHP Semantic Versioning Checker) - A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.1772β153π΄Phpactor) - PHP completion, refactoring and introspection tool.2348β164π΄PHPLOC) - A tool for quickly measuring the size of a PHP project.561β58π΄PHPQA) - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).10140β738π΄Rector) - A tool to upgrade and refactor code.- π Scrutinizer - A web tool to
441β50π΄scrutinise PHP code). 563β70π΄UBench) - A simple micro-benchmark library.
Libraries for managing code quality, formatting and linting.
1081β88π΄CaptainHook) - An easy-to-use and flexible Git hook library.1427β87π΄PHP CodeSniffer) - A library that detects and can auto-fix PHP, CSS and JS coding standard violations.13410β1627π΄PHP CS Fixer) - A coding standards fixer library.- π PHP CS Fixer Configurator - A web application to help configure PHP CS Fixer rule sets.
2404β344π΄PHP Mess Detector) - A library that scans code for bugs, sub-optimal code, unused parameters and more.166β32π΄PHPCheckstyle) - A tool to help adhere to certain coding conventions.2210β189π΄PHPCPD) - A library that detects copied and pasted code.3061β175π΄Laravel Pint) - A coding standards fixer library for Laravel.
Libraries for performing static analysis of PHP code.
379β41π΄Exakat) - A static analysis engine for PHP.1β0π΄Deptrac) - A static code analysis tool that helps to enforce rules for dependencies between software layers.394β22π΄Mondrian) - A code analysis tool using Graph Theory.5601β369π΄phan) - A static analyzer based on PHP 7+ and the php-ast extension.1230β57π΄PHP Architecture Tester) - Easy-to-use architecture testing tool for PHP.2269β205π΄PHPCompatibility) - A PHP compatibility checker for PHP CodeSniffer.572β44π΄PhpDependencyAnalysis) - A tool to create customizable dependency graphs.1504β66π΄PHPDoc Parser) - Next-gen phpDoc parser with support for intersection types and generics2577β266π΄PHP Metrics) - A static metric library.203β18π΄PHP Migration) - A static analyzer for PHP version migration.13760β934π΄PHPStan) - A PHP Static Analysis Tool.5791β684π΄Psalm) - A static analysis tool for finding errors in PHP applications.
Libraries related to design patterns, programming approaches and ways to organize code.
?β?π΄Design Patterns PHP) - A repository of software patterns implemented in PHP.1338β186π΄Finite) - A simple PHP finite state machine.1985β210π΄Functional PHP) - A functional programming library.1147β70π΄Iter) - A library that provides iteration primitives using generators.149β13π΄IterTools PHP) - A library that provides functionality for working with iterable entities (similar to itertools library in Python).999β75π΄Pipeline) - A pipeline pattern implementation.614β25π΄Porter) - Data import abstraction library for consuming Web APIs and other data sources.880β97π΄RulerZ) - A powerful rule engine and implementation of the Specification pattern.
Libraries and tools for debugging errors and profiling code.
- π APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
1339β281π΄Barbushin PHP Console) - Another web debugging console using Google Chrome.2822β289π΄Kint) - A debugging and profiling tool.321β38π΄Metrics) - A simple metrics API library.762β36π΄PCOV) - A self-contained code coverage compatible driver.527β90π΄PHP Console) - A web debugging console.- PHP Debug Bar - A debugging toolbar.
1973β129π΄PHPBench) - A benchmarking Framework.1471β69π΄PHPSpy) - A low-overhead sampling profiler.7453β99π΄Symfony VarDumper) - A variable dumper component.1809β221π΄Tracy) - A simple error detection, logging and time measuring library.13253β599π΄Whoops) - A pretty error-handling library.3358β594π΄xDebug) - A debug and profile tool for PHP.2612β914π΄XHProf) - A profiling tool originally developed by Facebook.- π Z-Ray - A debug and profile tool for Zend Server.
Self-hosted or cloud-based application performance monitoring & error tracking tools
- π 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.
Project build and automation tools.
1267β108π΄Box) - A utility to build PHAR files.266β16π΄Construct) - A PHP project/micro-package generator.- π Phing - A PHP project build system inspired by Apache Ant.
458β46π΄RMT) - A library for versioning and releasing software.
Libraries for automating and running tasks.
- π Bldr - A PHP Task runner built on Symfony components.
1050β153π΄Jobby) - A PHP cron job manager without modifying crontab.2704β303π΄Robo) - A PHP Task runner with object-orientated configurations.- π Task - A pure PHP task runner inspired by Grunt and Gulp.
Tools for building navigation structures.
1401β191π΄KnpMenu) - A menu library.757β100π΄Menu) - A flexible menu library with a fluent interface.
Tools for managing, compressing and minifying website assets.
761β147π΄JShrink) - A JavaScript minifier library.?β?π΄Laravel Mix) - An elegant wrapper around Webpack for the 80% use case.3162β12π΄Symfony Asset) - Manages URL generation and versioning of web assets.2234β198π΄Symfony Encore) - A simple but powerful API for processing and compiling assets built around Webpack.
Libraries for geocoding addresses and working with latitudes and longitudes.
5244β1546π΄Country List) - A list of all countries with names and ISO 3166-1 codes.- π GeoCoder - A geocoding library.
305β48π΄GeoJSON) - A GeoJSON implementation.1399β126π΄GeoTools) - A library of geo-related tools.1609β199π΄PHPGeo) - A simple geo library.
Libraries for working with dates and times.
465β65π΄CalendR) - A calendar management library.16650β1294π΄Carbon) - A simple DateTime API extension.1358β65π΄Chronos) - A DateTime API extension supporting both mutable and immutable date/time.971β152π΄Moment.php) - Moment.js inspired PHP DateTime handler with i18n support.1077β163π΄Yasumi) - A library to help you calculate the dates and names of holidays.
Libraries that are event-driven or implement non-blocking event loops.
4389β256π΄Amp) - An event driven non-blocking I/O library.1513β173π΄Broadway) - An event source and CQRS library.22β3π΄CakePHP Event) - An event dispatcher library.133β39π΄Elephant.io) - Yet another web socket library.1340β74π΄Evenement) - An event dispatcher library.1566β48π΄Event) - An event library with a focus on domain events.563β33π΄Fast CGI Client) - A client to make synchronous/asynchronous requests through php-fpm socket.- π FrankenPHP - A modern PHP app server written in Go.
613β100π΄Pawl) - An asynchronous web socket client.547β76π΄Prooph Event Store) - An event source component to persist event messages307β17π΄PHP Defer) - Golang's defer statement for PHP.6421β791π΄Ratchet) - A web socket library.9076β722π΄ReactPHP) - An event driven non-blocking I/O library.1730β141π΄RxPHP) - A reactive extension library.18817β3157π΄Swoole) - An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C.11505β2272π΄Workerman) - An event driven non-blocking I/O library.
Libraries for generating and working with log files.
21371β1899π΄Monolog) - A comprehensive logger.
Libraries and applications for taking payments and building online e-commerce stores.
4812β447π΄Money) - A PHP implementation of Fowler's money pattern.1865β107π΄Brick Money) - A money library for PHP, with support for contexts, cash roundings, currency conversion.6047β929π΄OmniPay) - A framework agnostic multi-gateway payment processing library.1918β345π΄Payum) - A payment abstraction library.?β?π΄Shopsys Framework) - An open source e-commerce platform for in-house development teams.3257β1148π΄Shopware) - Highly customizable e-commerce software1328β146π΄Swap) - An exchange rates library.- π Sylius - An open source e-commerce solution.
Libraries and software for working with PDF files.
5148β507π΄Browsershot) - Convert HTML to an image, PDF or string.11030β1824π΄Dompdf) - A HTML to PDF converter.339β20π΄Gotenberg) - A PHP client for interacting with Gotenberg.4469β437π΄Snappy) - A PDF and image generation library.- π TCPDF - An open source PHP class for generating PDF documents.
Libraries for working with office suite documents.
1359β536π΄PHPPowerPoint) - A library for working with Microsoft PowerPoint Presentations.7525β2734π΄PHPWord) - A library for working with Microsoft Word documents.13865β3618π΄PHPSpreadsheet) - A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel).1070β131π΄OpenSpout) - A community driven fork ofbox/spout, a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way.
Libraries for interacting with databases using object-relational mapping (ORM) or datamapping techniques.
428β22π΄Atlas.Orm) - A data mapper implementation for your persistence model in PHP.564β103π΄Aura.Sql) - Provides an extension to the native PDO along with a profiler and connection locator.455β87π΄Aura.SqlQuery) - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.2232β458π΄Baum) - A nested set implementation for Eloquent.147β15π΄CakePHP ORM) - Object-Relational Mapper, implemented using the DataMapper pattern.1323β84π΄Cycle ORM) - PHP DataMapper, ORM.?β?π΄Doctrine Extensions) - A collection of Doctrine behavioural extensions.- π Doctrine - A comprehensive DBAL and ORM.
2753β612π΄Laravel Eloquent) - A simple ORM.164β31π΄Pomm) - An Object Model Manager for PostgreSQL.4974β193π΄ProxyManager) - A set of utilities to generate proxy objects for data mappers.- π RedBean - A lightweight, configuration-less ORM.
186β27π΄Slimdump) - An easy dumper tool for MySQL.600β98π΄Spot2) - A MySQL datamapper ORM.
Libraries to help manage database schemas and migrations.
- π Doctrine Migrations - A migration library for Doctrine.
39β1π΄Migrations) - A migration management library.4515β887π΄Phinx) - Another database migration library.572β95π΄PHPMig) - Another migration management library.503β98π΄Ruckusing) - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.
Libraries for working with "NoSQL" backends.
917β212π΄MongoDB) - MongoDB PHP Driver.239β46π΄PHPMongo) - A MongoDB ORM.7746β993π΄Predis) - A feature-complete Redis library.
Libraries for working with event and task queues.
1214β128π΄Bernard) - A multibackend abstraction library.739β106π΄BunnyPHP) - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library.1924β282π΄Pheanstalk) - A Beanstalkd client library.4598β1031π΄PHP AMQP) - A pure PHP AMQP library.64β7π΄Tarantool Queue) - PHP bindings for Tarantool Queue.276β62π΄Thumper) - A RabbitMQ pattern library.2214β438π΄Enqueue) - A message queue packages for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports.
Libraries and software for indexing and performing search queries on data.
2270β731π΄Elastica) - A client library for ElasticSearch.5343β976π΄ElasticSearch PHP) - The official client library for π ElasticSearch.- π Solarium - A client library for π Solr.
- π SphinxQL Query Builder - A query library for the π Sphinx and π Manticore search engines.
Libraries related to the command line.
103β20π΄Aura.Cli) - 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.619β67π΄Cilex) - A micro framework for building command line tools.1947β108π΄CLI Menu) - A library for building CLI menus.438β51π΄CLIFramework) - A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.1881β123π΄CLImate) - A library for outputting colors and special formatting.801β83π΄Commando) - Another simple command line opt parser.4879β333π΄Cron Expression) - A library to calculate cron run dates.341β63π΄GetOpt) - A command line opt parser.150β24π΄GetOptionKit) - Another command line opt parser.9833β317π΄PsySH) - Another PHP REPL.739β54π΄ShellWrap) - A simple command line wrapper library.
Libraries for implementing user authentication and authorization.
134β28π΄Aura.Auth) - Provides authentication functionality and session tracking using various adapters.561β109π΄SocialConnect Auth) - An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect).7466β604π΄Json Web Token) - Json Tokens to authenticate and transmit information.999β74π΄OAuth 1.0 Client) - An OAuth 1.0 client library.3770β767π΄OAuth 2.0 Client) - An OAuth 2.0 client library.- π OAuth2 Server - Another OAuth2 server implementation.
- π OAuth2 Server - An OAuth2 authentication server, resource server and client library.
1638β238π΄Opauth) - A multi-provider authentication framework.3361β107π΄Paseto) - Platform-Agnostic Security Tokens.1080β450π΄PHP oAuthLib) - Another OAuth library.- π Sentinel Social - A library for social network authentication.
- π Sentinel - A framework agnostic authentication & authorisation library.
4307β1700π΄TwitterOAuth) - A Twitter OAuth library.
Libraries for working with markup and CSS formats.
1007β137π΄Cebe Markdown) - A fast and extensible Markdown parser.2912β201π΄CommonMark PHP) - Highly-extensible Markdown parser which fully supports the π CommonMark spec.192β52π΄Decoda) - A lightweight markup parser library.17β1π΄Djot) - A PHP parser for π Djot, a modern light markup language (successor of Markdown).771β81π΄Essence) - A library for extracting web media.351β60π΄Embera) - An Oembed consumer library.1844β211π΄HTML to Markdown) - Converts HTML into Markdown.1758β117π΄HTML5 PHP) - An HTML5 parser and serializer library.15002β1146π΄Parsedown) - Another Markdown parser.1815β149π΄PHP CSS Parser) - A Parser for CSS Files written in PHP.3460β528π΄PHP Markdown) - A Markdown parser.303β32π΄Shiki PHP) - A12645β562π΄Shiki) code highlighting package in PHP.591β132π΄VObject) - A library for parsing VCard and iCalendar objects.
Libraries for working with JSON.
1325β58π΄JSON Lint) - A JSON lint utility.218β29π΄JSONMapper) - A library for mapping JSON to PHP objects.
Libraries for parsing and manipulating strings.
4717β514π΄Agent) - A PHP desktop/mobile user agent parser, based on Mobiledetect.252β35π΄ANSI to HTML5) - An ANSI to HTML5 converter library.285β32π΄Color Jizz) - A library for manipulating and converting colors.3419β505π΄Device Detector) - Another library for parsing user agent strings.53β13π΄Hyphenation) - Text-Hyphenation based on the TeX-hyphenation Algorithm1369β257π΄Jieba-PHP) - A PHP port of Python's jieba. Chinese text segmentation for natural language processing.10682β2641π΄Mobile-Detect) - A lightweight PHP class for detecting mobile devices (including tablets).79β12π΄Patchwork UTF-8) - A portable library for working with UTF-8 strings.569β40π΄Portable ASCII) - A library to convert strings to ASCII.517β91π΄Portable UTF-8) - A string manipulation library with UTF-8 safe replacement methods.οΏ½οΏ½2907β249π΄Slugify) - A library to convert strings to slugs.?β?π΄SQL Formatter) - A library for formatting SQL statements.177β22π΄Stringy) - A string manipulation library with multibyte support.1974β490π΄UA Parser) - A library for parsing user agent strings.100β1π΄Url highlight) - A library for parsing URLs from text and converting them into clickable links.674β77π΄URLify) - A PHP port of Django's URLify.js.12611β516π΄UUID) - A library for generating UUIDs.
Libraries for working with numbers.
2089β87π΄Brick Math) - A library providing large number support:BigInteger,BigDecimalandBigRational.167β17π΄ByteUnits) - A library to parse, format and convert byte units in binary and metric systems.24β4π΄DecimalObject) - A value object to handle decimals/floats easily and more precisely.260β21π΄IP) - An immutable value object for working with IPv4 and IPv6 addresses.4973β479π΄LibPhoneNumber for PHP) - A PHP implementation of Google's phone number handling library.132β19π΄PHP Conversion) - Another library for converting between units of measure.22β5π΄PHP Units of Measure) - A library for converting between units of measure.2397β242π΄MathPHP) - A math library for PHP.
Libraries for filtering, sanitizing and validating data.
2432β188π΄Assert) - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.158β33π΄Aura.Filter) - Provides tools to validate and sanitize objects and arrays.42β8π΄CakePHP Validation) - Another validation library.449β52π΄Filterus) - A simple PHP filtering library.3359β354π΄HTML Purifier) - A standards compliant HTML filter.801β82π΄ISO-codes) - A library for validating inputs according to standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries.3621β366π΄JSON Schema) - A π JSON Schema validation library.102β21π΄MetaYaml) - A schema validation library that supports YAML, JSON and XML.5912β776π΄Respect Validation) - A simple validation library.274β11π΄Symfony HTML Sanitizer) - An HTML sanitizer library.1658β313π΄Upload) - A library for handling file uploads and validation.1603β254π΄Valitron) - Another validation library.1462β83π΄Valinor) - A library for mapping to strongly typed value objects.44β9π΄Volan) - Another simplified validation library.
Libraries and web tools for developing APIs.
- π API Platform - Expose in minutes a hypermedia REST API that embraces JSON-LD, Hydra format.
53β71π΄Laminas API Tool Skeleton) - An API builder built with the Laminas Framework.87β12π΄Drest) - A library for exposing Doctrine entities as REST resource endpoints.201β42π΄HAL) - A Hypertext Application Language (HAL) builder library.1044β121π΄Hateoas) - A HATEOAS REST web service library.?β?π΄Jane) - An OpenApi client generator with validation support.1425β64π΄Negotiation) - A content negotiation library.1371β311π΄Restler) - A lightweight framework to expose PHP methods as RESTful web API.434β73π΄PackageGenerator) - Package Generator generates a PHP SDK from any WSDL.
Libraries for caching data and acquiring locks.
115β24π΄APIx Cache) - A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing.1785β157π΄CacheTool) - A tool to clear APC/opcode caches from the command line.49β7π΄CakePHP Cache) - A caching library.7896β212π΄Doctrine Cache) - A caching library.100β9π΄Metaphore) - Cache slam defense using a semaphore to prevent dogpile effect.962β131π΄Stash) - Another library for caching.106β55π΄Laminas Cache) - Another caching library.946β88π΄Lock) - A lock library to provide exclusive execution.
Libraries that implement data structure or storage techniques.
89β5π΄CakePHP Collection) - A simple collections library.3546β347π΄Fractal) - A library for converting complex data structures to JSON output.192β19π΄Ginq) - Another PHP library based on .NET's LINQ.1572β187π΄JsonMapper) - A library that maps nested JSON structures onto PHP classes.1279β73π΄JSON Machine) - Provides iteration over huge JSONs using simpleforeach535β60π΄Knapsack) - Collection library inspired by Clojure's sequences.404β20π΄msgpack.php) - A pure PHP implementation of the π MessagePack serialization format.462β20π΄PINQ) - A PHP library based on .NET's LINQ (Language Integrated Query).2350β587π΄Serializer) - A library for serializing and de-serializing data.450β40π΄YaLinqo) - Yet Another LINQ to Objects for PHP.34β18π΄Laminas Serializer) - Another library for serialising and de-serialising data.
Libraries for working with notification software.
1435β98π΄JoliNotif) - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)1184β269π΄Notification Pusher) - A standalone library for device push notifications.225β44π΄Notificato) - A library for handling push notifications.192β26π΄Notificator) - A lightweight notification library.67β38π΄Php-pushwoosh) - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.
Libraries for project deployment.
10972β1520π΄Deployer) - A deployment tool.1609β176π΄Envoy) - A tool to run SSH tasks with PHP.2644β217π΄Rocketeer) - A fast and easy deployer for the PHP world.
Libraries for Internationalization (I18n) and Localization (L10n).
89β22π΄Aura.Intl) - Provides internationalization (I18N) tools, specifically package-oriented per-locale message translation.28β4π΄CakePHP I18n) - Message translation and localization for dates and numbers.
Libraries and tools to help build serverless web applications.
- π 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.
Libraries and tools for configuration.
13497β652π΄PHP Dotenv) - Parse and load environment variables from.envfiles.3797β29π΄Symfony Dotenv)- Parse and load environment variables from.envfiles.209β31π΄Yo! Symfony TOML) - A PHP parser for20271β885π΄TOML).
Libraries for working with Large Language Models.
298β21π΄Instructor for PHP) - Structured data outputs with LLMs, in PHP.1403β145π΄LLPhant) - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain.5681β667π΄OpenAI Client) - OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.3663β255π΄OpenAI Client for Laravel) - OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API.15β2π΄PHP Mistral AI SDK) - A powerful and easy-to-use PHP SDK for the Mistral AI API, allowing seamless integration of advanced AI-powered features into your PHP projects.
Libraries for accessing third party APIs.
6171β1233π΄Amazon Web Service SDK) - The official PHP AWS SDK library.- π AsyncAWS - An unofficial asynchronous PHP AWS SDK.
- π Campaign Monitor - The official Campaign Monitor PHP library.
2196β594π΄Github) - A library to interface with the Github API.1134β319π΄Mailgun) The official Mailgun PHP API.116β51π΄Square) - The official Square PHP SDK for payments and other Square APIs.3963β890π΄Stripe) - The official Stripe PHP library.1631β582π΄Twilio) - The official Twilio PHP REST API.
Libraries to help build PHP extensions.
- π PHP CPP - A C++ library for developing PHP extensions.
?β?π΄Zephir) - A compiled language between PHP and C++ for developing PHP extensions.
Useful libraries or utilities that don't fit into the categories above.
6748β230π΄Annotations) - An annotation library (part of Doctrine).6163β818π΄BotMan) - A framework agnostic PHP library to build cross-platform chatbots.376β30π΄ClassPreloader) - A library for optimizing autoloading.647β46π΄Ganesha) - A PHP implementation of Circuit Breaker pattern.2042β385π΄Hprose-PHP) - A cross-language RPC.596β39π΄Laravel Serializable Closure) - A library that allows Closures to be serialized.366β57π΄noCAPTCHA) - Helper for Google's noCAPTCHA (reCAPTCHA).1584β2π΄Pagerfanta) - A pagination library.2478β163π΄Safe) - All PHP functions, rewritten to throw exceptions instead of returning false.
Software for creating a development environment.
Tools to help install and manage PHP on your computer.
999β92π΄Brew PHP Switcher) - Brew PHP switcher.- π HomeBrew - A package manager for OSX.
5519β369π΄PHP Brew) - A PHP version manager and installer.1037β157π΄PHP Build) - Another PHP version installer.1786β345π΄Static PHP CLI) - Build or π download static versions of PHP CLI and FPM.
Software and tools for creating and sharing a development environment.
- π Ansible - A radically simple orchestration framework.
3420β687π΄DDEV) - a local web development environment system for PHP.- π Docker - A containerization platform.
4812β421π΄Docker PHP Extension Installer) - Easily install PHP extensions in Docker containers.714β177π΄Docksal) - Unified, Docker π³ powered web development environments for macOS, Windows, and Linux.4495β301π΄Expose) - An open-source PHP tunneling service.- π Lando - Push-button development environments.
- π Laravel Homestead - A local development environment for Laravel.
- π Laravel Herd - A one click PHP development environment for macOS and Windows.
- Laradock - A full PHP development environment based on Docker.
- π PHPMon - A macOS menu bar app for managing PHP installations (works with π Laravel Valet).
- π Puppet - A server automation framework and application.
1649β80π΄Takeout) - A Docker-based development-only dependency manager.- π Vagrant - A portable development environment utility.
Alternative PHP virtual machines.
- π Hack - A programming language for HHVM.
18581β3071π΄HHVM) - A Virtual Machine, Runtime and JIT for PHP by Facebook.2460β210π΄PeachPie) - PHP compiler and runtime for .NET and .NET Core.
Text Editors and Integrated Development Environments (IDE) with support for PHP.
- π Eclipse for PHP Developers - A PHP IDE based on the Eclipse platform.
- π Apache NetBeans - An IDE with support for PHP and HTML5.
- π PhpEd - An IDE with professional commercial debugger.
- π PhpStorm - A commercial PHP IDE.
- π VS Code - An open source code editor.
Web-based applications and tools.
- π 3V4L - An online PHP & HHVM shell.
- π Adminer - Database management in a single PHP file.
14801β1601π΄Cachet) - The open source status page system.?β?π΄DBV) - A database version control application.6360β668π΄Lychee) - An easy to use and great looking photo-management-system.6715β595π΄MailCatcher) - A web tool for capturing and viewing emails.7754β3547π΄phpMyAdmin) - A web interface for MySQL/MariaDB.664β69π΄PHP Queue) - An application for managing queueing backends.3183β666π΄phpRedisAdmin) - A simple web interface to manage π Redis databases.- π PHPSandbox - An online IDE for PHP in the browser.
Infrastructure for providing PHP applications and services.
964β101π΄appserver.io) - A multithreaded application server for PHP, written in PHP.6563β370π΄php-pm) - A process manager, supercharger and load balancer for PHP applications.8361β421π΄RoadRunner) - High-performance PHP application server, load-balancer and process manager.
Various resources, such as books, websites and articles, for improving your PHP development skills and knowledge.
Useful PHP-related 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.
Fantastic PHP-related 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.
Fantastic PHP-related 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.
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.
Podcasts with a focus on PHP topics.
- π 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.
PHP-related news directly to your inbox.
- π PHP Weekly - A weekly newsletter about PHP.
PHP-related reading materials.
- php[architect] - A monthly magazine dedicated to PHP.
Reading materials related to the PHP internals or performance.
- π PHP RFCs - The home of PHP RFCs (Request for Comments).
- π Externals - PHP internal discussions.
127β15π΄PHP RFC Watch) - Watch the latest PHP π RFCs.- π PHP Internals Book - An online book about PHP internals, written by three core developers.
32255β 5138π΄ ziadoz/awesome-php)