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.
1437β
414π΄
Composer Installers) - A multi-framework Composer library installer.- π Composer - A package and dependency manager.
956β
27π΄
Pie) - The official PHP installer for extensions.- π Phive - A PHAR manager.
1649β
89π΄
Pickle) - A PHP extension installer.
Extras related to dependency management.
52β
4π΄
Composed) - A library to parse your project's Composer environment at runtime.945β
160π΄
Composer Merge Plugin) - A composer plugin to merge severalcomposer.json
files.1067β
32π΄
Composer Normalize) - A plugin for normalizingcomposer.json
files.1575β
246π΄
Composer Patches) - A plugin for Composer to apply patches.20β
1π΄
Composer Prefer Lowest Validator) - A plugin to check if minimum dependencies can be installed and tested.934β
71π΄
Composer Require Checker) - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.1551β
55π΄
Composer Unused) - A CLI Tool to scan for unused composer packages.- π Repman - A private PHP package repository manager and Packagist proxy.
3178β
524π΄
Satis) - A static Composer repository generator.101β
15π΄
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.
374β
145π΄
CakePHP CRUD) - A Rapid Application Development (RAD) plugin for CakePHP.- π Knp RAD Components - A set of Rapid Application Development (RAD) components for Symfony.
3864β
475π΄
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.
3335β
646π΄
CraftCMS) - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.- π Drupal - An enterprise level CMS.
14790β
1417π΄
Grav) - A modern flat-file CMS.- π Joomla - Another leading CMS.
- π Kirby - A flat-file CMS that adapts to any project.
11740β
9361π΄
Magento) - 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.
- π TYPO3 - An enterprise level CMS.
19954β
12733π΄
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 Components - The components that make Symfony.
- π 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.
1058β
58π΄
Minicli) - Minimalist, dependency-free framework for building CLI-centric PHP applications.924β
52π΄
Silly) - A micro-framework for CLI applications.- π Slim - Another simple micro framework.
Extras related to micro frameworks and routers.
1595β
475π΄
Slim Skeleton) - A skeleton for Slim.305β
54π΄
Slim Twig View) - Integrate Twig into Slim.268β
60π΄
Slim PHP View) - A simple PHP renderer for Slim.
Libraries for handling application routing.
497β
75π΄
Aura.Router) - A full-featured routing library.5160β
449π΄
Fast Route) - A fast routing library.2666β
289π΄
Klein) - A flexible router.1267β
81π΄
Pux) - Another fast routing library.654β
128π΄
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.
358β
54π΄
MtHaml) - A PHP implementation of the HAML template language.3246β
428π΄
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.
1914β
251π΄
Buzz) - Another HTTP client.- Guzzle - A comprehensive HTTP client.
- HTTPlug - An HTTP client abstraction without binding to a specific implementation.
1212β
74π΄
Nyholm PSR-7) - A super lightweight PSR-7 implementation. Very strict and very fast.- π PHP VCR - A library for recording and replaying HTTP requests.
3579β
501π΄
Requests) - A simple HTTP library.157β
23π΄
Retrofit) - A library to ease creation of REST API clients.1987β
51π΄
Symfony HTTP Client) - A component to fetch HTTP resources synchronously or asynchronously.501β
64π΄
Laminas Diactoros) - PSR-7 HTTP Message implementation.
Libraries for scraping websites and detecting crawlers.
2404β
285π΄
Chrome PHP) - Instrument headless Chrome/Chromium instances from PHP.2052β
261π΄
CrawlerDetect) - A PHP class for detecting bots/crawlers/spiders via the user agent.2203β
201π΄
DiDOM) - A super-fast HTML scrapper and parser.2107β
311π΄
Embed) - An information extractor from any web service or page.1335β
231π΄
PHP Spider) - A configurable and extensible PHP web spider.2983β
229π΄
Symfony Panther) - A browser testing and web crawling library for PHP and Symfony.
Libraries for building application using middlewares.
666β
56π΄
PSR-7 Middlewares) - Inspiring collection of handy middlewares.322β
18π΄
Relay) - A PHP 5.5 PSR-7 middleware dispatcher.- Stack - A library of stackable middleware for Symfony.
56β
12π΄
Laminas Stratigility) - Middleware for PHP built on top of PSR-7.
Libraries for parsing URLs.
1183β
128π΄
PHP Domain Parser) - A domain suffix parser library.905β
123π΄
Purl) - A URL manipulation library.289β
19π΄
sabre/uri) - A functional URI manipulation library.1066β
66π΄
Uri) - Another URL manipulation library.
Libraries for sending and parsing email.
5829β
185π΄
CssToInlineStyles) - A library to inline CSS in email templates.638β
79π΄
Email Reply Parser) - An email reply parser library.161β
22π΄
Email Validator) - A small email address validation library.504β
158π΄
Fetch) - An IMAP library.7749β
2764π΄
Mautic) - Email marketing automation21316β
9778π΄
PHPMailer) - Another mailer solution.1678β
460π΄
PHP IMAP) - A library to access mailboxes via POP3, IMAP and NNTP.293β
30π΄
Stampie) - A library for email services such as π SendGrid, π PostMark, π MailGun and π MailChimp.- π SwiftMailer - A mailer solution.
1537β
48π΄
Symfony Mailer) - A powerful library for creating and sending emails.
Libraries for file manipulation and MIME type detection.
3389β
339π΄
CSV) - A CSV data manipulation library.13421β
837π΄
Flysystem) - Abstraction for local and remote filesystems.2470β
357π΄
Gaufrette) - A filesystem abstraction layer.?β
?π΄
PHP FFmpeg) - A wrapper for the π FFmpeg video library.276β
22π΄
UnifiedArchive) - A unified reader and writer of compressed archives.31β
0π΄
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.
348β
63π΄
Aura.Di) - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.220β
17π΄
Acclimate) - A common interface to dependency injection containers and service locators.724β
65π΄
Auryn) - A recursive dependency injector.851β
103π΄
Container) - Another flexible dependency injection container.139β
17π΄
Disco) - A PSR-11 compatible, annotation-based dependency injection container.- π PHP-DI - A dependency injection container that supports autowiring.
- π Pimple - A tiny dependency injection container.
4135β
94π΄
Symfony DI) - A dependency injection container component.
Libraries for manipulating images.
1307β
158π΄
Color Extractor) - A library for extracting colours from images.2573β
200π΄
Glide) - An on-demand image manipulation library.1999β
174π΄
Image Hash) - A library for generating perceptual image hashes.910β
140π΄
Image Optimizer) - A library for optimizing images.- π Imagine - An image manipulation library.
14096β
1496π΄
Intervention Image) - Another image manipulation library.857β
188π΄
PHP Image Workshop) - Another image manipulation library.?β
?π΄
PHP QR Code) - QR Code generator and reader.
Libraries for testing codebases and generating test data.
2521β
330π΄
Alice) - An expressive fixture generation library.1443β
147π΄
Atoum) - A simple testing library.- π Behat - A behaviour driven development (BDD) testing framework.
4800β
1306π΄
Codeception) - A full stack testing framework.3719β
366π΄
Faker) - A fake data generator library.708β
87π΄
Foundry) - A fixture factory generation library for Doctrine.2077β
161π΄
Infection) - An AST-based PHP Mutation testing framework.1145β
68π΄
Kahlan) - Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.- π Mink - Web acceptance testing.
10672β
457π΄
Mockery) - A mock object library for testing.464β
71π΄
Nette Tester) - A productive and enjoyable parallel unit testing framework.2355β
233π΄
ParaTest) - A parallel testing library for PHPUnit.- π Pest - A testing framework with a focus on simplicity.
476β
87π΄
Phake) - Another mock object library for testing.362β
20π΄
PHP-Mock) - A mock library for built-in PHP functions (e.g. time()).557β
47π΄
PHP MySQL Engine) - A MySQL engine written in pure PHP.1885β
280π΄
PHPSpec) - A design by specification unit testing library.- π PHPT - A test tool used by PHP itself.
19814β
2210π΄
PHPUnit) - A unit testing framework.?β
?π΄
PHPUnit Polyfills) - Simplifies running PHPUnit tests on multiple PHPUnit versions.8517β
240π΄
Prophecy) - A highly opinionated mocking framework.1425β
102π΄
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.
654β
46π΄
JoliCi) - A continuous integration client written in PHP and powered by Docker.2413β
438π΄
PHPCI) - 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.
3009β
366π΄
Setup PHP) - A GitHub Action for PHP.
Libraries for generating project documentation.
2162β
309π΄
APIGen) - Another API documentation generator.806β
195π΄
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).
5157β
943π΄
zircote/swagger-php) - Generate OpenAPI documentation for your RESTful API.
Libraries for generating secure random numbers, encrypting data and scanning and testing for vulnerabilities.
687β
106π΄
AntiXSS) - A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.- π Halite - A simple library for encryption using
12565β
1762π΄
libsodium). 1268β
74π΄
Optimus) - Id obfuscation based on Knuth's multiplicative hashing method.- π OWASP - Explore the world of cyber security.
3388β
512π΄
PHPGGC) - A library of PHP unserializable payloads along with a tool to generate them.3823β
309π΄
PHP Encryption) - Secure PHP Encryption Library.- π PHPSecLib - A pure PHP secure communications library.
8176β
146π΄
random_compat) - PHP 5.x support forrandom_bytes()
andrandom_int()
2763β
108π΄
Roave Security Advisories) - This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.523β
46π΄
Secure Headers) - A package that adds security related headers to HTTP response.33560β
5811π΄
SQLMap) - An automatic SQL injection and database takeover tool.13290β
2334π΄
Zap) - An integrated penetration testing tool for web applications.
Libraries and tools for working with and storing passwords.
116β
8π΄
GenPhrase) - A library for generating secure random passphrases.2142β
420π΄
Password Compat) - A compatibility library for the new PHP 5.5 password functions.78β
19π΄
Password Policy) - A password policy library for PHP and JavaScript.143β
16π΄
Password Validator) - A library for validating and upgrading password hashes.295β
37π΄
Password-Generator) - PHP library to generate random passwords.375β
61π΄
PHP Password Lib) - A library for generating and validating passwords.- π phpass - A portable password hashing framework.
842β
114π΄
Zxcvbn PHP) - A realistic PHP password strength estimate library based on Zxcvbn JS.
Libraries and tools for analysing, parsing and manipulating codebases.
1212β
134π΄
Better Reflection) - AST-based reflection library that allows analysis and manipulation of code- π Code Climate - An automated code review.
65β
14π΄
Editorconfig-Checker) - A command line utility which verifies that your files implement your.editorconfig
rules.4183β
440π΄
GrumPHP) - A PHP code-quality tool.- π PHP AST Viewer - A tool for viewing the Abstract Syntax Tree of PHP code.
565β
47π΄
PHP Magic Number Detector) - A library that detects magic numbers in code.17191β
1103π΄
PHP Parser) - A PHP parser written in PHP.430β
28π΄
PHP Semantic Versioning Checker) - A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.1553β
138π΄
Phpactor) - PHP completion, refactoring and introspection tool.2344β
164π΄
PHPLOC) - A tool for quickly measuring the size of a PHP project.565β
57π΄
PHPQA) - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).9440β
709π΄
Rector) - A tool to upgrade and refactor code.- π Scrutinizer - A web tool to
444β
57π΄
scrutinise PHP code). 565β
71π΄
UBench) - A simple micro-benchmark library.
Libraries for managing code quality, formatting and linting.
1025β
89π΄
CaptainHook) - An easy-to-use and flexible Git hook library.1123β
69π΄
PHP CodeSniffer) - A library that detects and can auto-fix PHP, CSS and JS coding standard violations.13066β
1596π΄
PHP CS Fixer) - A coding standards fixer library.- π PHP CS Fixer Configurator - A web application to help configure PHP CS Fixer rule sets.
2351β
346π΄
PHP Mess Detector) - A library that scans code for bugs, sub-optimal code, unused parameters and more.164β
31π΄
PHPCheckstyle) - A tool to help adhere to certain coding conventions.2213β
190π΄
PHPCPD) - A library that detects copied and pasted code.2871β
153π΄
Laravel Pint) - A coding standards fixer library for Laravel.
Libraries for performing static analysis of PHP code.
379β
42π΄
Exakat) - A static analysis engine for PHP.0β
0π΄
Deptrac) - A static code analysis tool that helps to enforce rules for dependencies between software layers.396β
22π΄
Mondrian) - A code analysis tool using Graph Theory.5560β
361π΄
phan) - A static analyzer based on PHP 7+ and the php-ast extension.1146β
49π΄
PHP Architecture Tester) - Easy-to-use architecture testing tool for PHP.2228β
196π΄
PHPCompatibility) - A PHP compatibility checker for PHP CodeSniffer.569β
45π΄
PhpDependencyAnalysis) - A tool to create customizable dependency graphs.1411β
64π΄
PHPDoc Parser) - Next-gen phpDoc parser with support for intersection types and generics2516β
263π΄
PHP Metrics) - A static metric library.202β
18π΄
PHP Migration) - A static analyzer for PHP version migration.13263β
914π΄
PHPStan) - A PHP Static Analysis Tool.5636β
672π΄
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.- π Finite - A simple PHP finite state machine.
1980β
206π΄
Functional PHP) - A functional programming library.1134β
70π΄
Iter) - A library that provides iteration primitives using generators.141β
12π΄
IterTools PHP) - A library that provides functionality for working with iterable entities (similar to itertools library in Python).977β
74π΄
Pipeline) - A pipeline pattern implementation.612β
24π΄
Porter) - Data import abstraction library for consuming Web APIs and other data sources.873β
98π΄
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.
1343β
282π΄
Barbushin PHP Console) - Another web debugging console using Google Chrome.2798β
292π΄
Kint) - A debugging and profiling tool.318β
38π΄
Metrics) - A simple metrics API library.718β
31π΄
PCOV) - A self-contained code coverage compatible driver.528β
90π΄
PHP Console) - A web debugging console.- PHP Debug Bar - A debugging toolbar.
1929β
121π΄
PHPBench) - A benchmarking Framework.1447β
67π΄
PHPSpy) - A low-overhead sampling profiler.7430β
102π΄
Symfony VarDumper) - A variable dumper component.1771β
218π΄
Tracy) - A simple error detection, logging and time measuring library.13222β
603π΄
Whoops) - A pretty error-handling library.3240β
576π΄
xDebug) - A debug and profile tool for PHP.2604β
924π΄
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.
1178β
104π΄
Box) - A utility to build PHAR files.267β
16π΄
Construct) - A PHP project/micro-package generator.- π Phing - A PHP project build system inspired by Apache Ant.
454β
47π΄
RMT) - A library for versioning and releasing software.
Libraries for automating and running tasks.
- π Bldr - A PHP Task runner built on Symfony components.
1051β
154π΄
Jobby) - A PHP cron job manager without modifying crontab.2687β
304π΄
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.
1396β
195π΄
KnpMenu) - A menu library.747β
99π΄
Menu) - A flexible menu library with a fluent interface.
Tools for managing, compressing and minifying website assets.
754β
148π΄
JShrink) - A JavaScript minifier library.?β
?π΄
Laravel Mix) - An elegant wrapper around Webpack for the 80% use case.3139β
13π΄
Symfony Asset) - Manages URL generation and versioning of web assets.2233β
199π΄
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.
5199β
1549π΄
Country List) - A list of all countries with names and ISO 3166-1 codes.- π GeoCoder - A geocoding library.
301β
47π΄
GeoJSON) - A GeoJSON implementation.1384β
125π΄
GeoTools) - A library of geo-related tools.1579β
196π΄
PHPGeo) - A simple geo library.
Libraries for working with dates and times.
- π CalendR - A calendar management library.
16624β
1289π΄
Carbon) - A simple DateTime API extension.1356β
64π΄
Chronos) - A DateTime API extension supporting both mutable and immutable date/time.970β
153π΄
Moment.php) - Moment.js inspired PHP DateTime handler with i18n support.1056β
159π΄
Yasumi) - A library to help you calculate the dates and names of holidays.
Libraries that are event-driven or implement non-blocking event loops.
4287β
257π΄
Amp) - An event driven non-blocking I/O library.1500β
176π΄
Broadway) - An event source and CQRS library.21β
6π΄
CakePHP Event) - An event dispatcher library.121β
37π΄
Elephant.io) - Yet another web socket library.1306β
73π΄
Evenement) - An event dispatcher library.1545β
48π΄
Event) - An event library with a focus on domain events.556β
34π΄
Fast CGI Client) - A client to make synchronous/asynchronous requests through php-fpm socket.- π FrankenPHP - A modern PHP app server written in Go.
593β
97π΄
Pawl) - An asynchronous web socket client.547β
76π΄
Prooph Event Store) - An event source component to persist event messages302β
17π΄
PHP Defer) - Golang's defer statement for PHP.6325β
772π΄
Ratchet) - A web socket library.8996β
727π΄
ReactPHP) - An event driven non-blocking I/O library.1713β
140π΄
RxPHP) - A reactive extension library.18608β
3169π΄
Swoole) - An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C.11297β
2270π΄
Workerman) - An event driven non-blocking I/O library.
Libraries for generating and working with log files.
21179β
1907π΄
Monolog) - A comprehensive logger.
Libraries and applications for taking payments and building online e-commerce stores.
4714β
444π΄
Money) - A PHP implementation of Fowler's money pattern.1728β
101π΄
Brick Money) - A money library for PHP, with support for contexts, cash roundings, currency conversion.5987β
927π΄
OmniPay) - A framework agnostic multi-gateway payment processing library.1874β
340π΄
Payum) - A payment abstraction library.?β
?π΄
Shopsys Framework) - An open source e-commerce platform for in-house development teams.2968β
1055π΄
Shopware) - Highly customizable e-commerce software1324β
138π΄
Swap) - An exchange rates library.- π Sylius - An open source e-commerce solution.
Libraries and software for working with PDF files.
4958β
503π΄
Browsershot) - Convert HTML to an image, PDF or string.10737β
1805π΄
Dompdf) - A HTML to PDF converter.260β
17π΄
Gotenberg) - A PHP client for interacting with Gotenberg.4425β
436π΄
Snappy) - A PDF and image generation library.- π TCPDF - An open source PHP class for generating PDF documents.
Libraries for working with office suite documents.
1329β
526π΄
PHPPowerPoint) - A library for working with Microsoft PowerPoint Presentations.7365β
2708π΄
PHPWord) - A library for working with Microsoft Word documents.13546β
3535π΄
PHPSpreadsheet) - A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel).893β
113π΄
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.
427β
22π΄
Atlas.Orm) - A data mapper implementation for your persistence model in PHP.554β
100π΄
Aura.Sql) - Provides an extension to the native PDO along with a profiler and connection locator.452β
87π΄
Aura.SqlQuery) - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.2242β
458π΄
Baum) - A nested set implementation for Eloquent.147β
18π΄
CakePHP ORM) - Object-Relational Mapper, implemented using the DataMapper pattern.1243β
74π΄
Cycle ORM) - PHP DataMapper, ORM.?β
?π΄
Doctrine Extensions) - A collection of Doctrine behavioural extensions.- π Doctrine - A comprehensive DBAL and ORM.
2707β
595π΄
Laravel Eloquent) - A simple ORM.164β
31π΄
Pomm) - An Object Model Manager for PostgreSQL.4965β
191π΄
ProxyManager) - A set of utilities to generate proxy objects for data mappers.- π RedBean - A lightweight, configuration-less ORM.
185β
27π΄
Slimdump) - An easy dumper tool for MySQL.600β
101π΄
Spot2) - A MySQL datamapper ORM.
Libraries to help manage database schemas and migrations.
- π Doctrine Migrations - A migration library for Doctrine.
40β
1π΄
Migrations) - A migration management library.4478β
891π΄
Phinx) - Another database migration library.569β
95π΄
PHPMig) - Another migration management library.507β
96π΄
Ruckusing) - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.
Libraries for working with "NoSQL" backends.
894β
209π΄
MongoDB) - MongoDB PHP Driver.242β
46π΄
PHPMongo) - A MongoDB ORM.7654β
990π΄
Predis) - A feature-complete Redis library.
Libraries for working with event and task queues.
1212β
129π΄
Bernard) - A multibackend abstraction library.720β
104π΄
BunnyPHP) - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library.1916β
281π΄
Pheanstalk) - A Beanstalkd client library.4501β
1029π΄
PHP AMQP) - A pure PHP AMQP library.64β
7π΄
Tarantool Queue) - PHP bindings for Tarantool Queue.277β
62π΄
Thumper) - A RabbitMQ pattern library.2183β
439π΄
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.
2263β
730π΄
Elastica) - A client library for ElasticSearch.5331β
979π΄
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.
102β
21π΄
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.1942β
105π΄
CLI Menu) - A library for building CLI menus.441β
51π΄
CLIFramework) - A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.1874β
124π΄
CLImate) - A library for outputting colors and special formatting.797β
80π΄
Commando) - Another simple command line opt parser.4891β
341π΄
Cron Expression) - A library to calculate cron run dates.338β
63π΄
GetOpt) - A command line opt parser.150β
25π΄
GetOptionKit) - Another command line opt parser.9768β
315π΄
PsySH) - Another PHP REPL.742β
55π΄
ShellWrap) - A simple command line wrapper library.
Libraries for implementing user authentication and authorization.
132β
27π΄
Aura.Auth) - Provides authentication functionality and session tracking using various adapters.555β
101π΄
SocialConnect Auth) - An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect).7359β
601π΄
Json Web Token) - Json Tokens to authenticate and transmit information.984β
73π΄
OAuth 1.0 Client) - An OAuth 1.0 client library.3694β
758π΄
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.
1648β
240π΄
Opauth) - A multi-provider authentication framework.3294β
106π΄
Paseto) - Platform-Agnostic Security Tokens.1084β
453π΄
PHP oAuthLib) - Another OAuth library.- π Sentinel Social - A library for social network authentication.
- π Sentinel - A framework agnostic authentication & authorisation library.
4308β
1709π΄
TwitterOAuth) - A Twitter OAuth library.
Libraries for working with markup and CSS formats.
1007β
140π΄
Cebe Markdown) - A fast and extensible Markdown parser.2809β
197π΄
CommonMark PHP) - Highly-extensible Markdown parser which fully supports the π CommonMark spec.197β
52π΄
Decoda) - A lightweight markup parser library.769β
81π΄
Essence) - A library for extracting web media.347β
61π΄
Embera) - An Oembed consumer library.1799β
208π΄
HTML to Markdown) - Converts HTML into Markdown.1655β
116π΄
HTML5 PHP) - An HTML5 parser and serializer library.14873β
1140π΄
Parsedown) - Another Markdown parser.1781β
144π΄
PHP CSS Parser) - A Parser for CSS Files written in PHP.3440β
531π΄
PHP Markdown) - A Markdown parser.290β
27π΄
Shiki PHP) - A11082β
410π΄
Shiki) code highlighting package in PHP.573β
130π΄
VObject) - A library for parsing VCard and iCalendar objects.
Libraries for working with JSON.
1326β
57π΄
JSON Lint) - A JSON lint utility.212β
27π΄
JSONMapper) - A library for mapping JSON to PHP objects.
Libraries for parsing and manipulating strings.
4595β
537π΄
Agent) - A PHP desktop/mobile user agent parser, based on Mobiledetect.243β
32π΄
ANSI to HTML5) - An ANSI to HTML5 converter library.285β
33π΄
Color Jizz) - A library for manipulating and converting colors.3249β
489π΄
Device Detector) - Another library for parsing user agent strings.52β
14π΄
Hyphenation) - Text-Hyphenation based on the TeX-hyphenation Algorithm1339β
260π΄
Jieba-PHP) - A PHP port of Python's jieba. Chinese text segmentation for natural language processing.10613β
2661π΄
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.555β
35π΄
Portable ASCII) - A library to convert strings to ASCII.518β
84π΄
Portable UTF-8) - A string manipulation library with UTF-8 safe replacement methods.2896β
249π΄
Slugify) - A library to convert strings to slugs.?β
?π΄
SQL Formatter) - A library for formatting SQL statements.174β
21π΄
Stringy) - A string manipulation library with multibyte support.1972β
497π΄
UA Parser) - A library for parsing user agent strings.676β
79π΄
URLify) - A PHP port of Django's URLify.js.12518β
506π΄
UUID) - A library for generating UUIDs.
Libraries for working with numbers.
1913β
79π΄
Brick Math) - A library providing large number support:BigInteger
,BigDecimal
andBigRational
.164β
16π΄
ByteUnits) - A library to parse, format and convert byte units in binary and metric systems.22β
4π΄
DecimalObject) - A value object to handle decimals/floats easily and more precisely.253β
22π΄
IP) - An immutable value object for working with IPv4 and IPv6 addresses.4834β
468π΄
LibPhoneNumber for PHP) - A PHP implementation of Google's phone number handling library.131β
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.2364β
243π΄
MathPHP) - A math library for PHP.
Libraries for filtering, sanitizing and validating data.
2412β
185π΄
Assert) - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.159β
33π΄
Aura.Filter) - Provides tools to validate and sanitize objects and arrays.42β
9π΄
CakePHP Validation) - Another validation library.452β
54π΄
Filterus) - A simple PHP filtering library.3136β
337π΄
HTML Purifier) - A standards compliant HTML filter.794β
78π΄
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.3571β
356π΄
JSON Schema) - A π JSON Schema validation library.103β
21π΄
MetaYaml) - A schema validation library that supports YAML, JSON and XML.5849β
777π΄
Respect Validation) - A simple validation library.248β
9π΄
Symfony HTML Sanitizer) - An HTML sanitizer library.1664β
315π΄
Upload) - A library for handling file uploads and validation.1583β
254π΄
Valitron) - Another validation library.1339β
76π΄
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.
50β
66π΄
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.203β
41π΄
HAL) - A Hypertext Application Language (HAL) builder library.1042β
118π΄
Hateoas) - A HATEOAS REST web service library.?β
?π΄
Jane) - An OpenApi client generator with validation support.1418β
63π΄
Negotiation) - A content negotiation library.1362β
314π΄
Restler) - A lightweight framework to expose PHP methods as RESTful web API.431β
74π΄
PackageGenerator) - Package Generator generates a PHP SDK from any WSDL.
Libraries for caching data and acquiring locks.
117β
27π΄
APIx Cache) - A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing.1729β
158π΄
CacheTool) - A tool to clear APC/opcode caches from the command line.51β
10π΄
CakePHP Cache) - A caching library.7882β
213π΄
Doctrine Cache) - A caching library.101β
9π΄
Metaphore) - Cache slam defense using a semaphore to prevent dogpile effect.962β
133π΄
Stash) - Another library for caching.104β
54π΄
Laminas Cache) - Another caching library.940β
88π΄
Lock) - A lock library to provide exclusive execution.
Libraries that implement data structure or storage techniques.
89β
6π΄
CakePHP Collection) - A simple collections library.3534β
347π΄
Fractal) - A library for converting complex data structures to JSON output.193β
18π΄
Ginq) - Another PHP library based on .NET's LINQ.1566β
184π΄
JsonMapper) - A library that maps nested JSON structures onto PHP classes.1138β
64π΄
JSON Machine) - Provides iteration over huge JSONs using simpleforeach
535β
57π΄
Knapsack) - Collection library inspired by Clojure's sequences.394β
19π΄
msgpack.php) - A pure PHP implementation of the π MessagePack serialization format.462β
19π΄
PINQ) - A PHP library based on .NET's LINQ (Language Integrated Query).2331β
588π΄
Serializer) - A library for serializing and de-serializing data.446β
39π΄
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.
1416β
93π΄
JoliNotif) - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)1185β
273π΄
Notification Pusher) - A standalone library for device push notifications.225β
44π΄
Notificato) - A library for handling push notifications.193β
26π΄
Notificator) - A lightweight notification library.66β
37π΄
Php-pushwoosh) - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.
Libraries for project deployment.
10743β
1495π΄
Deployer) - A deployment tool.1593β
177π΄
Envoy) - A tool to run SSH tasks with PHP.2654β
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β
7π΄
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.
13293β
643π΄
PHP Dotenv) - Parse and load environment variables from.env
files.3769β
29π΄
Symfony Dotenv)- Parse and load environment variables from.env
files.202β
29π΄
Yo! Symfony TOML) - A PHP parser for19738β
862π΄
TOML).
Libraries for working with Large Language Models.
240β
16π΄
Instructor for PHP) - Structured data outputs with LLMs, in PHP.1062β
111π΄
LLPhant) - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain.5224β
566π΄
OpenAI Client) - OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.3110β
212π΄
OpenAI Client for Laravel) - OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API.10β
1π΄
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.
6083β
1228π΄
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.
2175β
601π΄
Github) - A library to interface with the Github API.1113β
319π΄
Mailgun) The official Mailgun PHP API.115β
55π΄
Square) - The official Square PHP SDK for payments and other Square APIs.3821β
868π΄
Stripe) - The official Stripe PHP library.1589β
563π΄
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.
6745β
234π΄
Annotations) - An annotation library (part of Doctrine).6124β
811π΄
BotMan) - A framework agnostic PHP library to build cross-platform chatbots.372β
30π΄
ClassPreloader) - A library for optimizing autoloading.621β
45π΄
Ganesha) - A PHP implementation of Circuit Breaker pattern.1967β
388π΄
Hprose-PHP) - A cross-language RPC.554β
35π΄
Laravel Serializable Closure) - A library that allows Closures to be serialized.364β
56π΄
noCAPTCHA) - Helper for Google's noCAPTCHA (reCAPTCHA).1589β
2π΄
Pagerfanta) - A pagination library.2415β
162π΄
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.
979β
90π΄
Brew PHP Switcher) - Brew PHP switcher.- π HomeBrew - A package manager for OSX.
5457β
368π΄
PHP Brew) - A PHP version manager and installer.1004β
150π΄
PHP Build) - Another PHP version installer.1473β
265π΄
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.
3009β
630π΄
DDEV) - a local web development environment system for PHP.- π Docker - A containerization platform.
4513β
401π΄
Docker PHP Extension Installer) - Easily install PHP extensions in Docker containers.698β
175π΄
Docksal) - Unified, Docker π³ powered web development environments for macOS, Windows, and Linux.4350β
273π΄
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.
1626β
85π΄
Takeout) - A Docker-based development-only dependency manager.- π Vagrant - A portable development environment utility.
Alternative PHP virtual machines.
- π Hack - A programming language for HHVM.
18318β
3033π΄
HHVM) - A Virtual Machine, Runtime and JIT for PHP by Facebook.2408β
207π΄
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.
14331β
1583π΄
Cachet) - The open source status page system.1697β
244π΄
DBV) - A database version control application.6319β
672π΄
Lychee) - An easy to use and great looking photo-management-system.6570β
586π΄
MailCatcher) - A web tool for capturing and viewing emails.7441β
3460π΄
phpMyAdmin) - A web interface for MySQL/MariaDB.665β
68π΄
PHP Queue) - An application for managing queueing backends.3142β
670π΄
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.
967β
99π΄
appserver.io) - A multithreaded application server for PHP, written in PHP.6570β
367π΄
php-pm) - A process manager, supercharger and load balancer for PHP applications.8060β
414π΄
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.
- π Voices of the ElePHPant - Interviews with the people who make the PHP community special.
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.
128β
15π΄
PHP RFC Watch) - Watch the latest PHP π RFCs.- π PHP Internals Book - An online book about PHP internals, written by three core developers.
31359β
5105π΄
ziadoz/awesome-php)