---
visibility: public
---

# PHP

**repo:** [ziadoz/awesome-php](https://github.com/ziadoz/awesome-php)  
**category:** [[programming-languages|Programming Languages]]
**related:** [[laravel|Laravel]] · [[wordpress|WordPress]]

---

# Awesome PHP [![Awesome](https://cdn.jsdelivr.net/gh/sindresorhus/awesome@d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)

A curated list of awesome PHP libraries, resources, and useful tools.

## Contributing and Collaborating
Please see [CONTRIBUTING](https://github.com/ziadoz/awesome-php/blob/master/CONTRIBUTING.md), [CODE-OF-CONDUCT](https://github.com/ziadoz/awesome-php/blob/master/CODE-OF-CONDUCT.md) and [COLLABORATING](https://github.com/ziadoz/awesome-php/blob/master/COLLABORATING.md) for details.

## Table of Contents
- [Awesome PHP](#[awesome](/@harrisonqian/awesome/wiki/miscellaneous/awesome)-php)
  - [Composer Repositories](#[composer](/@harrisonqian/awesome/wiki/programming-languages/composer)-repositories)
  - [Dependency Management](#dependency-management)
  - [Dependency Management Extras](#dependency-management-extras)
  - [Frameworks](#frameworks)
  - [Framework Extras](#framework-extras)
  - [Content Management Systems](#content-management-systems-cms)
  - [Components](#components)
  - [Micro Frameworks](#micro-frameworks)
  - [Micro Framework Extras](#micro-framework-extras)
  - [Routers](#routers)
  - [Templating](#templating)
  - [Static Site Generators](#static-site-generators)
  - [HTTP](#http)
  - [Scraping](#scraping)
  - [Middlewares](#middlewares)
  - [URL](#url)
  - [Email](#email)
  - [Files](#files)
  - [Streams](#streams)
  - [Dependency Injection](#dependency-injection)
  - [Imagery](#imagery)
  - [Testing](#testing)
  - [Continuous Integration](#continuous-integration)
  - [Documentation](#documentation)
  - [Security](#security)
  - [Passwords](#passwords)
  - [Code Analysis](#code-analysis)
  - [Code Quality](#code-quality)
  - [Static Analysis](#static-analysis)
  - [Architectural](#architectural)
  - [Debugging and Profiling](#debugging-and-profiling)
  - [Error Tracking and Monitoring Services](#error-tracking-and-monitoring-services)
  - [Build Tools](#build-tools)
  - [Task Runners](#task-runners)
  - [Navigation](#navigation)
  - [Asset Management](#asset-management)
  - [Geolocation](#geolocation)
  - [Date and Time](#date-and-time)
  - [Event](#event)
  - [Logging](#logging)
  - [E-commerce](#e-commerce)
  - [PDF](#pdf)
  - [Office](#office)
  - [Database](#database)
  - [Migrations](#migrations)
  - [NoSQL](#nosql)
  - [Queue](#queue)
  - [Search](#search)
  - [Command Line](#command-line)
  - [Authentication and Authorization](#authentication-and-authorization)
  - [Markup and CSS](#markup-and-css)
  - [JSON](#json)
  - [Strings](#strings)
  - [Numbers](#numbers)
  - [Filtering, Sanitizing and Validation](#filtering-sanitizing-and-validation)
  - [API](#api)
  - [Caching and Locking](#caching-and-locking)
  - [Data Structure and Storage](#data-structure-and-storage)
  - [Notifications](#notifications)
  - [Deployment](#deployment)
  - [Internationalisation and Localisation](#internationalisation-and-localisation)
  - [Serverless](#serverless)
  - [Configuration](#configuration)
  - [LLMs](#llms)
  - [Third Party APIs](#third-party-apis)
  - [Extensions](#extensions)
  - [Miscellaneous](#miscellaneous)
- [Software](#software)
  - [PHP Installation](#php-installation)
  - [Development Environment](#development-environment)
  - [Virtual Machines](#virtual-machines)
  - [Text Editors and IDEs](#text-editors-and-ides)
  - [Web Applications](#web-applications)
  - [Infrastructure](#infrastructure)
- [Resources](#resources)
  - [PHP Websites](#php-websites)
  - [PHP Books](#php-books)
  - [PHP Videos](#php-videos)
  - [PHP Conferences](#php-conferences)
  - [PHP Podcasts](#php-podcasts)
  - [PHP Newsletters](#php-newsletters)
  - [PHP Reading](#php-reading)
  - [PHP Internals Reading](#php-internals-reading)

### Composer Repositories
*Composer Repositories.*

* [Firegento](https://packages.firegento.com/) - Magento Module [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer) Repository.
* [Packagist](https://packagist.org/) - The PHP Package Repository.
* [Packalyst](https://packalyst.com/) - The [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel) package repository.
* [Private Packagist](https://packagist.com/) - [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer) package archive as a service for PHP.
* [WordPress Packagist](https://wpackagist.org/) - Manage your plugins with [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer).

### Dependency Management
*Libraries for dependency and package management.*

* [Composer](https://getcomposer.org/) - A package and dependency manager.
* [Composer Installers](https://github.com/composer/installers) - A multi-framework [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer) library installer.
* [Phive](https://phar.io/) - A PHAR manager.
* [Pickle](https://github.com/FriendsOfPHP/pickle) - A PHP extension installer.
* [Pie](https://github.com/php/pie) - The official PHP installer for extensions.

### Dependency Management Extras
*Extras related to dependency management.*

* [Composer Merge Plugin](https://github.com/wikimedia/composer-merge-plugin) - A [composer](/@harrisonqian/awesome/wiki/programming-languages/composer) plugin to merge several `[composer](/@harrisonqian/awesome/wiki/programming-languages/composer).[json](/@harrisonqian/awesome/wiki/miscellaneous/json)` files.
* [Composer Normalize](https://github.com/ergebnis/composer-normalize) - A plugin for normalizing `[composer](/@harrisonqian/awesome/wiki/programming-languages/composer).[json](/@harrisonqian/awesome/wiki/miscellaneous/json)` files.
* [Composer Patches](https://github.com/cweagans/composer-patches) - A plugin for [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer) to apply patches.
* [Composer Prefer Lowest Validator](https://github.com/dereuromark/composer-prefer-lowest) - A plugin to check if minimum dependencies can be installed and tested.
* [Composer Require Checker](https://github.com/maglnet/ComposerRequireChecker) - CLI tool to analyze [composer](/@harrisonqian/awesome/wiki/programming-languages/composer) dependencies and verify that no unknown symbols are used in the sources of a package.
* [Composer Unused](https://github.com/composer-unused/composer-unused) - A CLI Tool to scan for unused [composer](/@harrisonqian/awesome/wiki/programming-languages/composer) packages.
* [Repman](https://repman.io) - A private PHP package repository manager and Packagist proxy.
* [Satis](https://github.com/composer/satis) - A static [Composer](/@harrisonqian/awesome/wiki/programming-languages/composer) repository generator.

### Frameworks
*Web development frameworks.*

* [CakePHP](https://cakephp.org/) - A rapid application development framework.
* [CodeIgniter](https://codeigniter.com/) - A powerful PHP framework with a very small footprint.
* [Ecotone](https://docs.ecotone.tech/) - A Service Bus for PHP based on architectural principles of DDD CQRS and Event Sourcing.
* [Laminas](https://getlaminas.org/) - A framework comprised of individual components (previously Zend Framework).
* [Laravel](https://laravel.com/) - A web application framework with expressive, elegant syntax.
* [Nette](https://nette.org) - A web framework comprised of mature components.
* [Phalcon](https://phalcon.io/en-us) - A framework implemented as a C extension.
* [Spiral](https://spiral.dev/) - A high-performance PHP/Go framework.
* [Symfony](https://symfony.com/) - A set of reusable components and a web framework.
* [Tempest](https://github.com/tempestphp/tempest-framework) - A framework that gets out of your way.
* [Yii2](https://github.com/yiisoft/yii2/) - A fast, secure, and efficient web framework.

### Framework Extras
*Extras related to web development frameworks.*

* [CakePHP CRUD](https://github.com/friendsofcake/crud) - A Rapid Application Development (RAD) plugin for [CakePHP](/@harrisonqian/awesome/wiki/back-end-development/cakephp).
* [Filament PHP](https://filamentphp.com/) - A powerful open source UI framework for [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).
* [Inertia.js](https://inertiajs.com/) - An adapter for building single-page applications using server-side routing and controllers, without a separate API.
* [LaravelS](https://github.com/hhxsv5/laravel-s) - An out-of-the-box adapter between [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel)/[Lumen](/@harrisonqian/awesome/wiki/back-end-development/lumen) and Swoole.
* [Livewire](https://livewire.[laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).com/) - Powerful, dynamic, front-end UIs without leaving PHP.

### Content Management Systems (CMS)
*Tools for managing digital content.*

* [Backdrop](https://backdropcms.org) - A CMS targeting small-to-medium-sized business and non-profits (a fork of Drupal).
* [Concrete5](https://www.concretecms.com/) - A CMS targeting users with a minimum of technical skills.
* [CraftCMS](https://github.com/craftcms/cms) - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
* [Drupal](https://new.[drupal](/@harrisonqian/awesome/wiki/content-management-systems/drupal).org/home) - An enterprise level CMS.
* [Grav](https://github.com/getgrav/grav) - A modern flat-file CMS.
* [Joomla](https://www.joomla.org/) - Another leading CMS.
* [Kirby](https://getkirby.com/) - A flat-file CMS that adapts to any project.
* [Magento](https://github.com/magento/magento2) - A widely used open-source e-commerce platform.
* [Moodle](https://moodle.org/) - An open-source [learning](/@harrisonqian/awesome/wiki/programming-languages/learning) platform.
* [OctoberCMS](https://octobercms.com/) - A CMS built on [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).
* [OpenMage](https://github.com/OpenMage/magento-lts) - Fork of EoL Magento 1 e-commerce platform.
* [Pico CMS](https://picocms.org/) - A lightweight flat-file CMS.
* [Silverstripe](https://www.silverstripe.org/) - A simple, flexible, and secure CMS.
* [Statamic](https://statamic.com/) - A flat-file and Git-based CMS built on [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).
* [Sulu](https://sulu.io/) - A user- and developer-friendly CMS built on the [Symfony](/@harrisonqian/awesome/wiki/back-end-development/symfony) Framework.
* [TYPO3](https://typo3.org) - An enterprise level CMS.
* [WinterCMS](https://wintercms.com) - A community-maintained fork of OctoberCMS built on [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).
* [WordPress](https://github.com/WordPress/WordPress) - A blogging platform and CMS.

### Components
*Standalone components from web development frameworks and development groups.*

* [Aura](https://auraphp.com/) - Independent components, fully decoupled from each other and from any framework.
* [CakePHP Plugins](https://plugins.[cakephp](/@harrisonqian/awesome/wiki/back-end-development/cakephp).org/) - A directory of [CakePHP](/@harrisonqian/awesome/wiki/back-end-development/cakephp) plugins.
* [Laminas Components](https://docs.laminas.dev/components/) - The components that make the Laminas Framework.
* [Laravel Components](https://github.com/illuminate) - The [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel) Framework components.
* [League of Extraordinary Packages](https://thephpleague.com/) - A PHP package development group.
* [Spatie Open Source](https://spatie.be/open-source) - A collection of open-source PHP and [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel) packages.
* [Symfony Packages](https://symfony.com/packages) - Decoupled libraries for PHP applications.

### Micro Frameworks
*Micro frameworks and routers.*

* [Laravel Zero](https://laravel-zero.com) - A micro-framework for console applications.
* [Mezzio](https://getexpressive.org/) - A micro-framework by Laminas.
* [Minicli](https://github.com/minicli/minicli) - Minimalist, dependency-free framework for building CLI-centric PHP applications.
* [Silly](https://github.com/mnapoli/silly) - A micro-framework for CLI applications.
* [Slim](https://www.slimframework.com/) - Another simple micro framework.

### Micro Framework Extras
*Extras related to micro frameworks and routers.*

* [Slim Skeleton](https://github.com/slimphp/Slim-Skeleton) - A skeleton for [Slim](/@harrisonqian/awesome/wiki/back-end-development/slim).
* [Slim PHP View](https://github.com/slimphp/PHP-View) - A simple PHP renderer for [Slim](/@harrisonqian/awesome/wiki/back-end-development/slim).

### Routers
*Libraries for handling application routing.*

* [Aura.Router](https://github.com/auraphp/Aura.Router) - A full-featured routing library.
* [Fast Route](https://github.com/nikic/FastRoute) - A fast routing library.
* [Klein](https://github.com/klein/klein.php) - A flexible router.
* [Route](https://github.com/thephpleague/route) - A routing library built on top of Fast Route.

### Templating
*Libraries and tools for templating and lexing.*

* [Latte](https://latte.nette.org/) - The safest and truly intuitive templates for PHP.
* [MtHaml](https://github.com/arnaud-lb/MtHaml) - A PHP implementation of the HAML template language.
* [Mustache](https://github.com/bobthecow/mustache.php) - A PHP implementation of the Mustache template language.
* [PHPTAL](https://phptal.org/) - A PHP implementation of the [TAL](https://en.wikipedia.org/wiki/Template_Attribute_Language) templating language.
* [Plates](https://platesphp.com/) - A native PHP templating library.
* [Smarty](https://www.smarty.net/) - A template engine to complement PHP.
* [Twig](https://twig.[symfony](/@harrisonqian/awesome/wiki/back-end-development/symfony).com/) - A comprehensive templating language.

### Static Site Generators
*Tools for pre-processing content to generate web pages.*

* [Cecil](https://cecil.app/) - A simple and powerful content-driven static site generator.
* [Couscous](https://couscous.io) - A tool for converting [Markdown](/@harrisonqian/awesome/wiki/miscellaneous/markdown) documentation into websites.
* [Jigsaw](https://jigsaw.tighten.com/) - Simple static sites with [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel)'s Blade.
* [Sculpin](https://sculpin.io) - A tool that converts [Markdown](/@harrisonqian/awesome/wiki/miscellaneous/markdown) and Twig into static HTML.

### HTTP
*Libraries for working with HTTP.*

* [Buzz](https://github.com/kriswallsmith/Buzz) - Another HTTP client.
* [Guzzle](https://github.com/guzzle/guzzle) - A comprehensive HTTP client.
* [HTTPlug](https://httplug.io) - An HTTP client abstraction without binding to a specific implementation.
* [Nyholm PSR-7](https://github.com/Nyholm/psr7) - A super lightweight PSR-7 implementation. Very strict and very fast.
* [PHP VCR](https://php-vcr.[github](/@harrisonqian/awesome/wiki/development-environment/github).io/) - A library for recording and replaying HTTP requests.
* [Requests](https://github.com/WordPress/Requests) - A simple HTTP library.
* [Retrofit](https://github.com/tebru/retrofit-php) - A library to ease creation of [REST](/@harrisonqian/awesome/wiki/miscellaneous/rest) API clients.
* [Saloon](https://github.com/saloonphp/saloon) - A framework for building beautiful API integrations and SDKs.
* [Symfony HTTP Client](https://github.com/symfony/http-client) - A component to fetch HTTP resources synchronously or asynchronously.
* [Laminas Diactoros](https://github.com/laminas/laminas-diactoros) - PSR-7 HTTP Message implementation.

### Scraping
*Libraries for scraping websites and detecting crawlers.*

* [Chrome PHP](https://github.com/chrome-php/chrome) - Instrument headless Chrome/Chromium instances from PHP.
* [CrawlerDetect](https://github.com/JayBizzle/Crawler-Detect) - A PHP class for detecting bots/crawlers/spiders via the user agent.
* [DiDOM](https://github.com/Imangazaliev/DiDOM) - A super-fast HTML scrapper and parser.
* [Embed](https://github.com/php-embed/Embed) - An information extractor from any web service or page.
* [PHP Spider](https://github.com/mvdbos/php-spider) - A configurable and extensible PHP web spider.
* [Symfony Panther](https://github.com/symfony/panther) - A browser [testing](/@harrisonqian/awesome/wiki/testing/testing) and web crawling library for PHP and [Symfony](/@harrisonqian/awesome/wiki/back-end-development/symfony).

### Middlewares
*Libraries for building application using middlewares.*

* [PSR-15 Middlewares](https://github.com/middlewares/psr15-middlewares) - Inspiring collection of handy middlewares.
* [Stack](https://github.com/stackphp) - A library of stackable middleware for [Symfony](/@harrisonqian/awesome/wiki/back-end-development/symfony).
* [Laminas Stratigility](https://github.com/laminas/laminas-stratigility) - Middleware for PHP built on top of PSR-7.

### URL
*Libraries for parsing URLs.*

* [PHP Domain Parser](https://github.com/jeremykendall/php-domain-parser) - A domain suffix parser library.
* [sabre/uri](https://github.com/sabre-io/uri) - A functional URI manipulation library.
* [Uri](https://github.com/thephpleague/uri) - Another URL manipulation library.

### Email
*Libraries for sending and parsing email.*

* [CssToInlineStyles](https://github.com/tijsverkoyen/CssToInlineStyles) - A library to inline CSS in email templates.
* [ddeboer/imap](https://github.com/ddeboer/imap) - Object-oriented, fully tested PHP IMAP library.
* [Email Reply Parser](https://github.com/willdurand/EmailReplyParser) - An email reply parser library.
* [Fetch](https://github.com/tedious/Fetch) - An IMAP library.
* [Mautic](https://github.com/mautic/mautic) - Email marketing automation.
* [PHPMailer](https://github.com/PHPMailer/PHPMailer) - Another mailer solution.
* [Stampie](https://github.com/Stampie/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](https://github.com/symfony/mailer) - A powerful library for creating and sending [emails](/@harrisonqian/awesome/wiki/front-end-development/emails).

### Files
*Libraries for file manipulation and MIME type detection.*

* [CSV](https://github.com/thephpleague/csv) - A CSV data manipulation library.
* [Flysystem](https://github.com/thephpleague/Flysystem) - Abstraction for local and remote filesystems.
* [Gaufrette](https://github.com/KnpLabs/Gaufrette) - A filesystem abstraction layer.
* [PHP FFmpeg](https://github.com/PHP-FFmpeg/PHP-FFmpeg/) - A wrapper for the [FFmpeg](https://www.[ffmpeg](/@harrisonqian/awesome/wiki/media/ffmpeg).org/) video library.
* [UnifiedArchive](https://github.com/wapmorgan/UnifiedArchive) - A unified reader and writer of compressed archives.
* [Parquet](https://github.com/flow-php/parquet) - PHP implementation of Parquet file format.

### Streams
*Libraries for working with streams.*

* [ByteStream](https://amphp.org/byte-stream) - An asynchronous stream abstraction.

### Dependency Injection
*Libraries that implement the dependency injection design pattern.*

* [Aura.Di](https://github.com/auraphp/Aura.Di) - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
* [Acclimate](https://github.com/AcclimateContainer/acclimate-container) - A common interface to dependency injection [containers](/@harrisonqian/awesome/wiki/platforms/containers) and service locators.
* [Auryn](https://github.com/rdlowrey/Auryn) - A recursive dependency injector.
* [Container](https://github.com/thephpleague/container) - Another flexible dependency injection container.
* [Disco](https://github.com/bitExpert/disco) - A PSR-11 compatible, annotation-based dependency injection container.
* [PHP-DI](https://php-di.org/) - A dependency injection container that supports autowiring.
* [Pimple](https://github.com/silexphp/Pimple) - A tiny dependency injection container.
* [Symfony DI](https://github.com/symfony/dependency-injection) - A dependency injection container component.

### Imagery
*Libraries for manipulating images.*

* [Color Extractor](https://github.com/thephpleague/color-extractor) - A library for extracting colours from images.
* [Glide](https://github.com/thephpleague/glide) - An on-demand image manipulation library.
* [Image Hash](https://github.com/jenssegers/imagehash) - A library for generating perceptual image hashes.
* [Image Optimizer](https://github.com/psliwa/image-optimizer) - A library for optimizing images.
* [Imagine](https://imagine.readthedocs.io/en/latest/index.html) - An image manipulation library.
* [Intervention Image](https://github.com/Intervention/image) - Another image manipulation library.
* [PHP Image Workshop](https://github.com/Sybio/ImageWorkshop) - Another image manipulation library.
* [PHP QR Code](https://github.com/chillerlan/php-qrcode/) - [QR Code](/@harrisonqian/awesome/wiki/miscellaneous/qr-code) generator and reader.

### Testing
*Libraries for testing codebases and generating test data.*

* [Alice](https://github.com/nelmio/alice) - An expressive fixture generation library.
* [Behat](https://docs.behat.org/en/latest/) - A behaviour driven development (BDD) [testing](/@harrisonqian/awesome/wiki/testing/testing) framework.
* [Codeception](https://github.com/Codeception/Codeception) - A full stack [testing](/@harrisonqian/awesome/wiki/testing/testing) framework.
* [Faker](https://github.com/fakerphp/faker) - A fake data generator library.
* [Foundry](https://github.com/zenstruck/foundry) - A fixture factory generation library for Doctrine.
* [Infection](https://github.com/infection/infection) - An AST-based PHP Mutation [testing](/@harrisonqian/awesome/wiki/testing/testing) framework.
* [Kahlan](https://github.com/kahlan/kahlan) - Full stack Unit/BDD [testing](/@harrisonqian/awesome/wiki/testing/testing) framework with built-in stub, mock and code-coverage support.
* [Mink](https://mink.behat.org/en/latest/) - Web acceptance [testing](/@harrisonqian/awesome/wiki/testing/testing).
* [Mockery](https://github.com/mockery/mockery) - A mock object library for [testing](/@harrisonqian/awesome/wiki/testing/testing).
* [Nette Tester](https://github.com/nette/tester) - A productive and enjoyable parallel unit [testing](/@harrisonqian/awesome/wiki/testing/testing) framework.
* [ParaTest](https://github.com/paratestphp/paratest) - A parallel [testing](/@harrisonqian/awesome/wiki/testing/testing) library for PHPUnit.
* [Pest](https://pestphp.com/) - A [testing](/@harrisonqian/awesome/wiki/testing/testing) framework with a focus on simplicity.
* [Phake](https://github.com/phake/phake) - Another mock object library for [testing](/@harrisonqian/awesome/wiki/testing/testing).
* [PHP-Mock](https://github.com/php-mock/php-mock) - A mock library for built-in PHP functions (e.g. time()).
* [PHP [MySQL](/@harrisonqian/awesome/wiki/databases/mysql) Engine](https://github.com/vimeo/php-mysql-engine) - A [MySQL](/@harrisonqian/awesome/wiki/databases/mysql) engine written in pure PHP.
* [PHPSpec](https://github.com/phpspec/phpspec) - A design by specification unit [testing](/@harrisonqian/awesome/wiki/testing/testing) library.
* [PHPT](https://php.[github](/@harrisonqian/awesome/wiki/development-environment/github).io/php-src/miscellaneous/writing-tests.html) - A test tool used by PHP itself.
* [PHPUnit](https://github.com/sebastianbergmann/phpunit) - A unit [testing](/@harrisonqian/awesome/wiki/testing/testing) framework.
* [PHPUnit Polyfills](https://github.com/Yoast/PHPUnit-Polyfills/) - Simplifies running PHPUnit tests on multiple PHPUnit versions.
* [Prophecy](https://github.com/phpspec/prophecy) - A highly opinionated mocking framework.
* [VFS Stream](https://github.com/bovigo/vfsStream) - A virtual filesystem stream wrapper for [testing](/@harrisonqian/awesome/wiki/testing/testing).

### Continuous Integration
*Libraries and applications for continuous integration.*

* [CircleCI](https://circleci.com) - A continuous [integration](/@harrisonqian/awesome/wiki/platforms/integration) platform.
* [GitLab CI](https://about.gitlab.com/solutions/continuous-integration/) - A continuous [integration](/@harrisonqian/awesome/wiki/platforms/integration) platform.
* [Jenkins](https://www.jenkins.io/) - A continuous [integration](/@harrisonqian/awesome/wiki/platforms/integration) platform with [PHP support](https://www.jenkins.io/solutions/php/).
* [SemaphoreCI](https://semaphore.io/) - A continuous [integration](/@harrisonqian/awesome/wiki/platforms/integration) platform for open-source and private projects.
* [Travis CI](https://www.travis-ci.com) - A continuous [integration](/@harrisonqian/awesome/wiki/platforms/integration) platform.
* [Setup PHP](https://github.com/shivammathur/setup-php) - A [GitHub](/@harrisonqian/awesome/wiki/development-environment/github) Action for PHP.

### Documentation
*Libraries for generating project documentation.*

* [APIGen](https://github.com/apigen/apigen) - Another API documentation generator.
* [daux.io](https://github.com/dauxio/daux.io) - A documentation generator that uses [Markdown](/@harrisonqian/awesome/wiki/miscellaneous/markdown) files.
* [phpDocumentor](https://phpdoc.org/) - A documentation generator.
* [phpDox](https://phpdox.net/) - A documentation generator for PHP projects (that is not limited to API documentation).
* [Scramble](https://github.com/dedoc/scramble) - Automatically generates OpenAPI documentation from your code without annotations.
* [zircote/swagger-php](https://github.com/zircote/swagger-php) - Generate OpenAPI documentation for your RESTful API.

### Security
*Libraries for generating secure random numbers, encrypting data and scanning and testing for vulnerabilities.*

* [AntiXSS](https://github.com/voku/anti-xss) - A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.
* [Halite](https://paragonie.com/project/halite) - A simple library for encryption using [libsodium](https://github.com/jedisct1/libsodium).
* [Optimus](https://github.com/jenssegers/optimus) - Id obfuscation based on Knuth's multiplicative hashing method.
* [OWASP](https://owasp.org/) - Explore the world of cyber [security](/@harrisonqian/awesome/wiki/security/security).
* [PHPGGC](https://github.com/ambionics/phpggc) - A library of PHP unserializable payloads along with a tool to generate them.
* [PHP Encryption](https://github.com/defuse/php-encryption) - Secure PHP Encryption Library.
* [PHPSecLib](https://github.com/phpseclib/phpseclib) - A pure PHP secure communications library.
* [Roave [Security](/@harrisonqian/awesome/wiki/security/security) Advisories](https://github.com/Roave/SecurityAdvisories) - This package ensures that your application doesn't have installed dependencies with known [security](/@harrisonqian/awesome/wiki/security/security) vulnerabilities.
* [Secure Headers](https://github.com/BePsvPT/secure-headers) - A package that adds [security](/@harrisonqian/awesome/wiki/security/security) related headers to HTTP response.
* [SQLMap](https://github.com/sqlmapproject/sqlmap) - An automatic SQL injection and [database](/@harrisonqian/awesome/wiki/databases/database) takeover tool.
* [Zap](https://github.com/zaproxy/zaproxy) - An integrated penetration [testing](/@harrisonqian/awesome/wiki/testing/testing) tool for web applications.

### Passwords
*Libraries and tools for working with and storing passwords.*

* [GenPhrase](https://github.com/timoh6/GenPhrase) - A library for generating secure random passphrases.
* [Password Validator](https://github.com/jeremykendall/password-validator) - A library for validating and upgrading password hashes.
* [Password-Generator](https://github.com/hackzilla/password-generator) - PHP library to generate random passwords.
* [phpass](https://www.openwall.com/phpass/) - A portable password hashing framework.
* [Zxcvbn PHP](https://github.com/bjeavons/zxcvbn-php) - A realistic PHP password strength estimate library based on Zxcvbn JS.

### Code Analysis
*Libraries and tools for analysing, parsing and manipulating codebases.*

* [Better Reflection](https://github.com/Roave/BetterReflection) - An AST-based reflection library that allows analysis and manipulation of code.
* [Bladestan](https://github.com/bladestan/bladestan) - A PHPStan extension for static analysis of Blade templates.
* [Code Climate](https://codeclimate.com) - An automated [code review](/@harrisonqian/awesome/wiki/work/code-review).
* [Editorconfig-Checker](https://github.com/editorconfig-checker/editorconfig-checker.php) - A command line utility which verifies that your files implement your `.editorconfig` rules.
* [GrumPHP](https://github.com/phpro/grumphp) - A PHP code-quality tool.
* [PHP AST Viewer](https://php-ast-viewer.com/) - A tool for viewing the Abstract Syntax Tree of PHP code.
* [PHP Magic Number Detector](https://github.com/povils/phpmnd) - A library that detects magic numbers in code.
* [PHP Parser](https://github.com/nikic/PHP-Parser) - A PHP parser written in PHP.
* [PHP Semantic Versioning Checker](https://github.com/tomzx/php-semver-checker) - A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.
* [Phpactor](https://github.com/phpactor/phpactor) - PHP completion, refactoring and introspection tool.
* [PHPQA](https://github.com/EdgedesignCZ/phpqa) - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).
* [Rector](https://github.com/rectorphp/rector) - A tool to upgrade and refactor code.
* [Scrutinizer](https://scrutinizer-ci.com/) - A web tool to [scrutinise PHP code](https://github.com/scrutinizer-ci/php-analyzer).
* [UBench](https://github.com/devster/ubench) - A simple micro-benchmark library.

### Code Quality
*Libraries for managing code quality, formatting and linting.*

* [CaptainHook](https://github.com/captainhook-git/captainhook) - An easy-to-use and flexible Git hook library.
* [Laravel Pint](https://github.com/laravel/pint) - A coding [standards](/@harrisonqian/awesome/wiki/miscellaneous/standards) fixer library for [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel).
* [PHP CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) - A library that detects and can auto-fix PHP, CSS and JS coding standard violations.
* [PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) - A coding [standards](/@harrisonqian/awesome/wiki/miscellaneous/standards) fixer library.
* [PHP CS Fixer Configurator](https://mlocati.[github](/@harrisonqian/awesome/wiki/development-environment/github).io/php-cs-fixer-configurator/) - A web application to help configure PHP CS Fixer rule sets.
* [PHP Mess Detector](https://github.com/phpmd/phpmd) - A library that scans code for bugs, sub-optimal code, unused parameters and more.
* [PHPCheckstyle](https://github.com/PHPCheckstyle/phpcheckstyle) - A tool to help adhere to certain coding conventions.

### Static Analysis
*Libraries for performing static analysis of PHP code.*

* [Dead Code Detector](https://github.com/shipmonk-rnd/dead-code-detector) - A PHPStan extension for finding unused PHP code.
* [Deptrac](https://github.com/qossmic/deptrac) - A static analysis tool for enforcing dependency rules between architectural layers.
* [Exakat](https://github.com/exakat/exakat) - A static analysis engine for PHP.
* [Larastan](https://github.com/larastan/larastan) - A PHPStan wrapper for [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel) that adds static analysis to Laravel projects.
* [Mago](https://github.com/carthage-software/mago) - A toolchain for PHP that aims to improve the developer experience.
* [phan](https://github.com/phan/phan) - A static analyzer based on PHP 7+ and the php-ast extension.
* [PHP Architecture Tester](https://github.com/carlosas/phpat) - Easy-to-use architecture [testing](/@harrisonqian/awesome/wiki/testing/testing) tool for PHP.
* [PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) - A PHP compatibility checker for PHP CodeSniffer.
* [PHPDoc Parser](https://github.com/phpstan/phpdoc-parser) - Next-gen phpDoc parser with support for intersection types and generics.
* [PHP Metrics](https://github.com/phpmetrics/PhpMetrics) - A static metric library.
* [PHPStan](https://github.com/phpstan/phpstan) - A PHP Static Analysis Tool.
* [Psalm](https://github.com/vimeo/psalm) - A static analysis tool for finding errors in PHP applications.

### Architectural
*Libraries related to design patterns, programming approaches and ways to organize code.*

* [Design Patterns PHP](https://github.com/DesignPatternsPHP/DesignPatternsPHP) - A repository of software patterns implemented in PHP.
* [Finite](https://github.com/yohang/Finite) - A simple PHP finite state machine.
* [Functional PHP](https://github.com/lstrojny/functional-php) - A [functional programming](/@harrisonqian/awesome/wiki/programming-languages/functional-programming) library.
* [Iter](https://github.com/nikic/iter) - A library that provides iteration primitives using generators.
* [IterTools PHP](https://github.com/markrogoyski/itertools-php) - A library that provides functionality for working with iterable entities (similar to itertools library in Python).
* [Pipeline](https://github.com/thephpleague/pipeline) - A pipeline pattern implementation.
* [Porter](https://github.com/ScriptFUSION/Porter) - Data import abstraction library for consuming Web APIs and other data sources.
* [RulerZ](https://github.com/K-Phoen/rulerz) - A powerful rule engine and implementation of the Specification pattern.

### Debugging and Profiling
*Libraries and tools for debugging errors and profiling code.*

* [APM](https://pecl.php.net/package/APM) - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
* [Barbushin PHP Console](https://github.com/barbushin/php-console) - Another web debugging console using Google Chrome.
* [Kint](https://github.com/kint-php/kint) - A debugging and profiling tool.
* [LaraDumps](https://github.com/laradumps/laradumps) - A debugging tool for [Laravel](/@harrisonqian/awesome/wiki/back-end-development/laravel) with a dedicated desktop application.
* [Metrics](https://github.com/beberlei/metrics) - A simple metrics API library.
* [PCOV](https://github.com/krakjoe/pcov) - A self-contained code coverage compatible driver.
* [PHP Console](https://github.com/Seldaek/php-console) - A web debugging console.
* [PHP Debug Bar](https://php-debugbar.com/) - A debugging toolbar.
* [PHPBench](https://github.com/phpbench/phpbench) - A benchmarking framework.
* [PHPSpy](https://github.com/adsr/phpspy) - A low-overhead sampling profiler.
* [Symfony VarDumper](https://github.com/symfony/var-dumper) - A variable dumper component.
* [Tracy](https://github.com/nette/tracy) - A simple error detection, logging and time measuring library.
* [Trap](https://github.com/buggregator/trap) - An extended variable dumper with a web interface and IDE plugin.
* [Whoops](https://github.com/filp/whoops) - A pretty error-handling library.
* [xDebug](https://github.com/xdebug/xdebug) - A debug and profile tool for PHP.
* [XHProf](https://github.com/phacility/xhprof) - A profiling tool originally developed by Facebook.
* [Z-Ray](https://www.zend.com/products/z-ray) - A debug and profile tool for Zend Server.

### Error Tracking and Monitoring Services
*Self-hosted or cloud-based application performance monitoring & error tracking tools*

* [Blackfire](https://www.blackfire.io) - A low-overhead code profiler.
* [Buggregator](https://buggregator.dev) - A debug server that aggregates var-dumps, profiling data, [emails](/@harrisonqian/awesome/wiki/front-end-development/emails), logs and Sentry events.
* [BugSnag](https://www.bugsnag.com/) - Error and Real User Monitoring.
* [Honeybadger](https://www.honeybadger.io/) - Error Tracking & Application Monitoring for Developers.
* [Rollbar](https://rollbar.com/) - Error Logging & Tracking Service for Software Teams.
* [Sentry](https://sentry.io/welcome/) - Application Performance Monitoring & Error Tracking Software.
* [Tideways](https://tideways.com/) - Monitoring and profiling tool.

### Build Tools
*Project build and automation tools.*

* [Box](https://github.com/box-project/box) - A utility to build PHAR files.
* [PHPacker](https://github.com/phpacker/phpacker) - A PHAR builder that compiles PHP [apps](/@harrisonqian/awesome/wiki/platforms/apps) to standalone executables.
* [Phing](https://www.phing.info/) - A PHP project build system inspired by Apache Ant.
* [RMT](https://github.com/liip/RMT) - A library for versioning and releasing software.

### Task Runners
*Libraries for automating and running tasks.*

* [Jobby](https://github.com/jobbyphp/jobby) - A PHP cron job manager without modifying crontab.
* [Robo](https://github.com/consolidation/Robo) - A PHP task runner with object-oriented configurations.

### Navigation
*Tools for building navigation structures.*

* [KnpMenu](https://github.com/KnpLabs/KnpMenu) - A menu library.
* [Menu](https://github.com/spatie/menu) - A flexible menu library with a fluent interface.

### Asset Management
*Tools for managing, compressing and minifying website assets.*

* [JShrink](https://github.com/tedious/JShrink) - A [JavaScript](/@harrisonqian/awesome/wiki/programming-languages/javascript) minifier library.
* [Laravel Mix](https://github.com/laravel-mix/laravel-mix) - An elegant wrapper around Webpack for the 80% use case.
* [Symfony Asset](https://github.com/symfony/asset) - Manages URL generation and versioning of web assets.
* [Symfony Encore](https://github.com/symfony/webpack-encore) - A simple but powerful API for processing and compiling assets built around Webpack.

### Geolocation
*Libraries for geocoding addresses and working with latitudes and longitudes.*


---
*truncated — [full list on GitHub](https://github.com/ziadoz/awesome-php)*
