awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/mario-deluna/awesome-php
Last synced: 13 days ago
JSON representation
-
Table of Contents
-
Continuous Integration
- Setup PHP - A GitHub Action for PHP.
-
Database
- Atlas.Orm - A data mapper implementation for your persistence model in PHP.
- Aura.Sql - Provides an extension to the native PDO along with a profiler and connection locator.
- Aura.SqlQuery - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
- Baum - A nested set implementation for Eloquent.
- CakePHP ORM - Object-Relational Mapper, implemented using the DataMapper pattern.
- Cycle ORM - PHP DataMapper, ORM.
- Doctrine Extensions - A collection of Doctrine behavioural extensions.
- Doctrine - A comprehensive DBAL and ORM.
- Laravel Eloquent - A simple ORM.
- Pomm - An Object Model Manager for PostgreSQL.
- ProxyManager - A set of utilities to generate proxy objects for data mappers.
- RedBean - A lightweight, configuration-less ORM.
- Slimdump - An easy dumper tool for MySQL.
- Spot2 - A MySQL datamapper ORM.
-
Data Structure and Storage
- CakePHP Collection - A simple collections library.
- Fractal - A library for converting complex data structures to JSON output.
- Ginq - Another PHP library based on .NET's LINQ.
- JsonMapper - A library that maps nested JSON structures onto PHP classes.
- JSON Machine - Provides iteration over huge JSONs using simple `foreach`
- Knapsack - Collection library inspired by Clojure's sequences.
- msgpack.php - A pure PHP implementation of the [MessagePack](https://msgpack.org/) serialization format.
- PINQ - A PHP library based on .NET's LINQ (Language Integrated Query).
- Serializer - A library for serializing and de-serializing data.
- YaLinqo - Yet Another LINQ to Objects for PHP.
- Laminas Serializer - Another library for serialising and de-serialising data.
-
Date and Time
- CalendR - A calendar management library.
- Carbon - A simple DateTime API extension.
- Chronos - A DateTime API extension supporting both mutable and immutable date/time.
- Moment.php - Moment.js inspired PHP DateTime handler with i18n support.
- Yasumi - A library to help you calculate the dates and names of holidays.
-
Debugging and Profiling
- APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
- 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.
- Tideways.io - Monitoring and profiling tool.
- 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.
- Z-Ray - A debug and profile tool for Zend Server.
- Blackfire.io - A low-overhead code profiler.
-
Dependency Injection
- 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.
- PHP-DI - A dependency injection container that supports autowiring.
- Pimple - A tiny dependency injection container.
- Symfony DI - A dependency injection container component.
-
Dependency Management
- Composer Installers - A multi-framework Composer library installer.
- Composer - A package and dependency manager.
- Phive - A PHAR manager.
- Pickle - A PHP extension installer.
-
Dependency Management Extras
- 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.
- Prestissimo - This is a composer 1.x plugin that downloads packages in parallel to speed up the installation process.
- 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
-
Documentation
- APIGen - Another API documentation generator.
- daux.io - A documentation generator that uses Markdown files.
- PHP Documentor 2 - A documentation generator.
- phpDox - A documentation generator for PHP projects (that is not limited to API documentation).
-
E-commerce
- 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.
- Sylius - An open source e-commerce solution.
-
Email
- 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://sendgrid.com/), [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.
-
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.
- 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.
-
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.
- PHP FFmpeg - A wrapper for the [FFmpeg](https://www.ffmpeg.org/) video library.
-
Filtering and Validation
- 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.
- 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.
- JSON Schema - A [JSON Schema](https://json-schema.org/) validation library.
-
Framework Extras
- CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
- Knp RAD Components - A set of Rapid Application Development (RAD) components for Symfony.
- LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
- Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
-
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.
- 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.
-
Geolocation
- Country List - A list of all countries with names and ISO 3166-1 codes.
- GeoCoder - A geocoding library.
- GeoJSON - A GeoJSON implementation.
- GeoTools - A library of geo-related tools.
- PHPGeo - A simple geo library.
-
HTTP
- Buzz - Another HTTP client.
- Guzzle - A comprehensive HTTP client.
- Nyholm PSR-7 - A super lightweight PSR-7 implementation. Very strict and very fast.
- PHP VCR - A library for recording and replaying HTTP requests.
- 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.
-
Imagery
- 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.
- Imagine - An image manipulation library.
- Intervention Image - Another image manipulation library.
- PHP Image Workshop - Another image manipulation library.
-
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.
-
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 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.
- PHP CSS Parser - A Parser for CSS Files written in PHP.
-
Micro Framework Extras
- Slim Skeleton - A skeleton for Slim.
- Slim Twig View - Integrate Twig into Slim.
- Slim PHP View - A simple PHP renderer for Slim.
-
Micro Frameworks
- Mezzio - A micro-framework by Laminas.
- Radar - An Action-Domain-Responder implementation for PHP.
- Silly - A micro-framework for CLI applications.
- Slim - Another simple micro framework.
- Laravel-Zero - A micro-framework for console applications.
-
Middlewares
- PSR-7 Middlewares - Inspiring collection of handy middlewares.
- Relay - A PHP 5.5 PSR-7 middleware dispatcher.
- Stack - A library of stackable middleware for Symfony.
- Laminas Stratigility - Middleware for PHP built on top of PSR-7.
-
Migrations
- Doctrine Migrations - A migration library for Doctrine.
- Migrations - A migration management library.
- Phinx - Another database migration library.
- PHPMig - Another migration management library.
- Ruckusing - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.
-
Navigation
-
NoSQL
-
Notifications
- JoliNotif - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc)
- Notification Pusher - A standalone library for device push notifications.
- Notificato - A library for handling push notifications.
- Notificator - A lightweight notification library.
- Php-pushwoosh - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.
-
Numbers
- Brick\Math - A library providing large number support: `BigInteger`, `BigDecimal` and `BigRational`.
- ByteUnits - A library to parse, format and convert byte units in binary and metric systems.
-
Programming Languages
Sub Categories
Testing
25
Debugging and Profiling
16
Security
15
Strings
15
Event
14
Database
14
Authentication and Authorization
13
Command Line
12
Content Management Systems (CMS)
12
Markup and CSS
12
Code Analysis
12
PHP Books
12
PHP Websites
12
Filtering and Validation
11
PHP Podcasts
11
Static Analysis
11
Data Structure and Storage
11
Dependency Management Extras
11
Web Applications
10
Email
9
Caching and Locking
8
Dependency Injection
8
Third Party APIs
8
Passwords
8
Architectural
8
API
8
Numbers
8
Development Environment
8
Frameworks
8
Miscellaneous
8
HTTP
8
Imagery
7
Queue
7
Serverless
7
Templating
7
Components
7
E-commerce
7
Code Quality
6
Scraping
6
Routers
5
Migrations
5
Date and Time
5
PHP Installation
5
Micro Frameworks
5
Geolocation
5
Notifications
5
Files
5
Continuous Integration
5
Asset Management
4
PHP Internals Reading
4
Task Runners
4
PDF
4
Build Tools
4
Composer Repositories
4
Documentation
4
Search
4
Dependency Management
4
Middlewares
4
URL
4
Framework Extras
4
Office
4
Micro Framework Extras
3
Infrastructure
3
Deployment
3
Text Editors and IDEs
3
PHP Videos
3
Virtual Machines
3
Extensions
2
Static Site Generators
2
Streams
2
Navigation
2
Internationalisation and Localisation
2
JSON
2
NoSQL
2
PHP Newsletters
1
Logging
1
PHP Reading
1
Keywords
php
190
symfony
16
composer
12
static-analysis
10
php7
9
testing
8
psr-7
8
php-library
7
component
7
cli
7
aura
7
markdown
6
laravel
6
library
6
http
6
symfony-component
6
json
6
phpunit
5
mysql
5
html
5
standalone-php-library
4
performance
4
parser
4
websocket
4
asynchronous
4
bdd
4
async
4
code-quality
4
php8
4
twig
4
redis
4
doctrine
4
filesystem
3
oauth2
3
office
3
server
3
static-analyzer
3
timer
3
configuration
3
test
3
dependency-injection
3
oembed
3
phar
3
amqp
3
ast
3
validation
3
currency
3
rabbitmq
3
validator
3
currency-converter
3