awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/ziadoz/awesome-php
Last synced: 10 days ago
JSON representation
-
Table of Contents
-
Debugging and Profiling
- PHP Debug Bar - A debugging toolbar.
- Z-Ray - A debug and profile tool for Zend Server.
- Barbushin PHP Console - Another web debugging console using Google Chrome.
- Kint - A debugging and profiling tool.
- Metrics - A simple metrics API library.
- PCOV - A self-contained code coverage compatible driver.
- PHP Console - A web debugging console.
- PHPBench - A benchmarking framework.
- PHPSpy - A low-overhead sampling profiler.
- Symfony VarDumper - A variable dumper component.
- Tracy - A simple error detection, logging and time measuring library.
- Whoops - A pretty error-handling library.
- xDebug - A debug and profile tool for PHP.
- XHProf - A profiling tool originally developed by Facebook.
- PHP Debug Bar - A debugging toolbar.
- LaraDumps - A debugging tool for Laravel with a dedicated desktop application.
- Trap - An extended variable dumper with a web interface and IDE plugin.
-
Dependency Injection
- PHP-DI - A dependency injection container that supports autowiring.
- Pimple - A tiny dependency injection container.
- Aura.Di - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
- Acclimate - A common interface to dependency injection containers and service locators.
- Auryn - A recursive dependency injector.
- Container - Another flexible dependency injection container.
- Disco - A PSR-11 compatible, annotation-based dependency injection container.
- Symfony DI - A dependency injection container component.
- Pimple - A tiny dependency injection container.
-
Dependency Management
- Composer - A package and dependency manager.
- Phive - A PHAR manager.
- Composer Installers - A multi-framework Composer library installer.
- Pickle - A PHP extension installer.
- Pie - The official PHP installer for extensions.
-
Dependency Management Extras
- Repman - A private PHP package repository manager and Packagist proxy.
- Composed - A library to parse your project's Composer environment at runtime.
- Composer Merge Plugin - A composer plugin to merge several `composer.json` files.
- Composer Normalize - A plugin for normalizing `composer.json` files.
- Composer Patches - A plugin for Composer to apply patches.
- Composer Prefer Lowest Validator - A plugin to check if minimum dependencies can be installed and tested.
- Composer Require Checker - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
- Composer Unused - A CLI Tool to scan for unused composer packages.
- Satis - A static Composer repository generator.
- Tooly - A library to manage PHAR files in a project using Composer.
- Toran Proxy - A Composer proxy for speed and reliability. (:warning: Toran Proxy is being phased out.)
-
Deployment
-
Development Environment
- Docker - A containerization platform.
- Lando - Push-button development environments.
- Laravel Homestead - A local development environment for Laravel.
- DDEV - A local web development environment system for PHP.
- Docker PHP Extension Installer - Easily install PHP extensions in Docker containers.
- Docksal - Unified, Docker :whale: powered web development environments for macOS, Windows, and Linux.
- Takeout - A Docker-based development-only dependency manager.
- PHPMon - A macOS menu bar app for managing PHP installations (works with [Laravel Valet](https://laravel.com/docs/master/valet)).
- Ansible - A radically simple orchestration framework.
- Expose - An open-source PHP tunneling service.
- Laravel Herd - A one click PHP development environment for macOS and Windows.
- Puppet - A server automation framework and application.
- Laradock - A full PHP development environment based on Docker.
- Vagrant - A portable development environment utility.
- Solo - A terminal application to manage processes for a Laravel application.
-
Documentation
- phpDox - A documentation generator for PHP projects (that is not limited to API documentation).
- APIGen - Another API documentation generator.
- daux.io - A documentation generator that uses Markdown files.
- PHP Documentor 2 - A documentation generator.
- zircote/swagger-php - Generate OpenAPI documentation for your RESTful API.
- phpDocumentor - A documentation generator.
- Scramble - Automatically generates OpenAPI documentation from your code without annotations.
-
E-commerce
- Sylius - An open source e-commerce solution.
- Money - A PHP implementation of Fowler's money pattern.
- Brick Money - A money library for PHP, with support for contexts, cash roundings, currency conversion.
- OmniPay - A framework agnostic multi-gateway payment processing library.
- Payum - A payment abstraction library.
- Shopware - Highly customizable e-commerce software.
- Swap - An exchange rates library.
-
Email
- SwiftMailer - A mailer solution.
- CssToInlineStyles - A library to inline CSS in email templates.
- Email Reply Parser - An email reply parser library.
- Email Validator - A small email address validation library.
- Fetch - An IMAP library.
- Mautic - Email marketing automation.
- PHPMailer - Another mailer solution.
- PHP IMAP - A library to access mailboxes via POP3, IMAP and NNTP.
- Stampie - A library for email services such as [SendGrid](https://www.twilio.com/en-us/sendgrid), [PostMark](https://postmarkapp.com), [MailGun](https://www.mailgun.com/) and [MailChimp](https://mailchimp.com/features/transactional-email/).
- Symfony Mailer - A powerful library for creating and sending emails.
- ddeboer/imap - Object-oriented, fully tested PHP IMAP library.
-
Error Tracking and Monitoring Services
- Tideways - Monitoring and profiling tool.
- 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.
- Blackfire - A low-overhead code profiler.
- Buggregator - A debug server that aggregates var-dumps, profiling data, emails, logs and Sentry events.
-
Event
- Amp - An event-driven non-blocking I/O library.
- Broadway - An event source and CQRS library.
- CakePHP Event - An event dispatcher library.
- Elephant.io - Yet another web socket library.
- Evenement - An event dispatcher library.
- Event - An event library with a focus on domain events.
- Fast CGI Client - A client to make synchronous/asynchronous requests through php-fpm socket.
- Pawl - An asynchronous web socket client.
- Prooph Event Store - An event source component to persist event messages.
- PHP Defer - Golang's defer statement for PHP.
- Ratchet - A web socket library.
- ReactPHP - An event-driven non-blocking I/O library.
- RxPHP - A reactive extension library.
- Swoole - An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C.
- Workerman - An event-driven non-blocking I/O library.
- FrankenPHP - A modern PHP app server written in Go.
-
Extensions
-
Files
- CSV - A CSV data manipulation library.
- Flysystem - Abstraction for local and remote filesystems.
- Gaufrette - A filesystem abstraction layer.
- UnifiedArchive - A unified reader and writer of compressed archives.
- Parquet - PHP implementation of Parquet file format.
- PHP FFmpeg - A wrapper for the [FFmpeg](https://www.ffmpeg.org/) video library.
-
Filtering, Sanitizing and Validation
- HTML Purifier - A standards compliant HTML filter.
- LibPhoneNumber for PHP - A PHP implementation of Google's phone number handling library.
- Assert - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.
- Aura.Filter - Provides tools to validate and sanitize objects and arrays.
- CakePHP Validation - Another validation library.
- Filterus - A simple PHP filtering library.
- 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.
- JSON Schema - A [JSON Schema](https://json-schema.org/) validation library.
- MetaYaml - A schema validation library that supports YAML, JSON and XML.
- Respect Validation - A simple validation library.
- Upload - A library for handling file uploads and validation.
- Valitron - Another validation library.
- Volan - Another simplified validation library.
- Symfony HTML Sanitizer - An HTML sanitizer library.
- Valinor - A library for mapping to strongly typed value objects.
-
Framework Extras
- Knp RAD Components - A set of Rapid Application Development (RAD) components for Symfony.
- Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
- CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
- LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
- Filament PHP - A powerful open source UI framework for Laravel.
- Inertia.js - An adapter for building single-page applications using server-side routing and controllers, without a separate API.
-
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.
- Ecotone - A Service Bus for PHP based on architectural principles of DDD CQRS and Event Sourcing.
- Tempest - A framework that gets out of your way.
-
Geolocation
- GeoCoder - A geocoding library.
- Country List - A list of all countries with names and ISO 3166-1 codes.
- GeoJSON - A GeoJSON implementation.
- GeoTools - A library of geo-related tools.
- PHPGeo - A simple geo library.
-
HTTP
- HTTPlug - An HTTP client abstraction without binding to a specific implementation.
- PHP VCR - A library for recording and replaying HTTP requests.
- Buzz - Another HTTP client.
- Guzzle - A comprehensive HTTP client.
- Nyholm PSR-7 - A super lightweight PSR-7 implementation. Very strict and very fast.
- Requests - A simple HTTP library.
- Retrofit - A library to ease creation of REST API clients.
- Symfony HTTP Client - A component to fetch HTTP resources synchronously or asynchronously.
- Laminas Diactoros - PSR-7 HTTP Message implementation.
- Saloon - A framework for building beautiful API integrations and SDKs.
-
Imagery
- Imagine - An image manipulation library.
- Color Extractor - A library for extracting colours from images.
- Glide - An on-demand image manipulation library.
- Image Hash - A library for generating perceptual image hashes.
- Image Optimizer - A library for optimizing images.
- Intervention Image - Another image manipulation library.
- PHP Image Workshop - Another image manipulation library.
- PHP QR Code - QR Code generator and reader.
-
Infrastructure
- appserver.io - A multithreaded application server for PHP, written in PHP.
- php-pm - A process manager, supercharger and load balancer for PHP applications.
- RoadRunner - High-performance PHP application server, load-balancer and process manager.
-
Internationalisation and Localisation
- Aura.Intl - Provides internationalization (I18N) tools, specifically package-oriented per-locale message translation.
- CakePHP I18n - Message translation and localization for dates and numbers.
-
JSON
- JSON Lint - A JSON lint utility.
- JSONMapper - A library for mapping JSON to PHP objects.
- Lazy JSON - A memory-efficient lazy parser for large JSON files.
-
LLMs
- Instructor for PHP - Structured data outputs with LLMs, in PHP.
- OpenAI Client - OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
- OpenAI Client for Laravel - OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API.
- PHP Mistral AI SDK - A powerful and easy-to-use PHP SDK for the Mistral AI API, allowing seamless integration of advanced AI-powered features into your PHP projects.
- LLPhant - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain.
- Anthropic - A PHP client for the Anthropic API, supporting messages, streaming, tool use, and batch processing.
- Anthropic for Laravel - A Laravel wrapper for the Anthropic PHP client with Facades, config publishing, and testing fakes.
-
Logging
- Monolog - A comprehensive logger.
-
Markup and CSS
- Cebe Markdown - A fast and extensible Markdown parser.
- CommonMark PHP - Highly-extensible Markdown parser which fully supports the [CommonMark spec](https://spec.commonmark.org/).
- Decoda - A lightweight markup parser library.
- Essence - A library for extracting web media.
- Embera - An Oembed consumer library.
- HTML to Markdown - Converts HTML into Markdown.
- HTML5 PHP - An HTML5 parser and serializer library.
- Parsedown - Another Markdown parser.
- PHP CSS Parser - A Parser for CSS Files written in PHP.
- PHP Markdown - A Markdown parser.
- Shiki PHP - A [Shiki](https://github.com/shikijs/shiki) code highlighting package in PHP.
- VObject - A library for parsing VCard and iCalendar objects.
- Djot - A PHP parser for [Djot](https://djot.net/), a modern light markup language (successor of Markdown).
-
Programming Languages
Categories
Sub Categories
Testing
22
Content Management Systems (CMS)
20
Debugging and Profiling
19
Development Environment
17
Strings
17
Static Analysis
16
Event
16
Security
16
Filtering, Sanitizing and Validation
15
PHP Books
15
Code Analysis
15
Database
15
PHP Websites
15
Authentication and Authorization
14
PHP Podcasts
14
Web Applications
13
Markup and CSS
13
PHP Videos
11
Email
11
Architectural
11
Data Structure and Storage
11
Dependency Management Extras
11
Command Line
11
Frameworks
11
HTTP
10
Code Quality
10
Miscellaneous
10
API
9
Dependency Injection
9
Imagery
8
Numbers
8
Templating
8
Third Party APIs
8
Passwords
8
Date and Time
8
Caching and Locking
8
Queue
7
Micro Frameworks
7
Error Tracking and Monitoring Services
7
E-commerce
7
Scraping
7
LLMs
7
Components
7
Continuous Integration
7
Documentation
7
PHP Installation
6
Framework Extras
6
Files
6
Build Tools
5
Notifications
5
Migrations
5
Serverless
5
PHP Internals Reading
5
PDF
5
Routers
5
Composer Repositories
5
Asset Management
5
Text Editors and IDEs
5
Dependency Management
5
Static Site Generators
5
Middlewares
5
Geolocation
5
NoSQL
4
URL
4
Office
4
Task Runners
4
Search
4
JSON
3
Extensions
3
Configuration
3
Deployment
3
Virtual Machines
3
Micro Framework Extras
3
Infrastructure
3
PHP Conferences
2
Navigation
2
Streams
2
Internationalisation and Localisation
2
PHP Reading
1
PHP Newsletters
1
Logging
1
Keywords
php
234
symfony
18
laravel
17
composer
17
static-analysis
15
cli
11
php7
10
php-library
9
component
8
json
8
parser
8
markdown
8
html
8
aura
7
psr-7
7
phpunit
7
symfony-component
7
testing
7
library
6
code-quality
6
api
6
http
6
mysql
5
sdk
5
docker
5
automation
5
magento
5
php8
5
websocket
4
dependency-injection
4
performance
4
mongodb
4
standalone-php-library
4
unit-testing
4
phpstan
4
async
4
static-analyzer
4
asynchronous
4
client
4
redis
4
language
4
twig
4
debug
4
linter
4
doctrine
4
email
3
smtp
3
validator
3
money
3
oauth2
3