# Awesome PHP ![](https://github.com/ziadoz/awesome-php/workflows/Awesome%20Bot/badge.svg) A curated list of amazingly awesome PHP libraries, resources and shiny things. ## 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-php) - [Composer Repositories](#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) - [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](#markup) - [Strings](#strings) - [Numbers](#numbers) - [Filtering and Validation](#filtering-and-validation) - [API](#api) - [Caching](#caching) - [Data Structure and Storage](#data-structure-and-storage) - [Notifications](#notifications) - [Deployment](#deployment) - [Internationalisation and Localisation](#internationalisation-and-localisation) - [Serverless](#serverless) - [Configuration](#configuration) - [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) - [Other Websites](#other-websites) - [PHP Books](#php-books) - [PHP Videos](#php-videos) - [PHP Podcasts](#php-podcasts) - [PHP Reading](#php-reading) - [PHP Internals Reading](#php-internals-reading) ### Composer Repositories *Composer Repositories.* * [Firegento](https://packages.firegento.com/) - Magento Module Composer Repository. * [Packagist](https://packagist.org/) - The PHP Package Repository. * [Private Packagist](https://packagist.com/) - Composer package archive as a service for PHP. * [WordPress Packagist](https://wpackagist.org/) - Manage your plugins with Composer. * [Zend Framework Packages](https://packages.zendframework.com/) - Zend Framework Composer Repository. ### Dependency Management *Libraries for dependency and package management.* * [Composer Installers](https://github.com/composer/installers) - A multi framework Composer library installer. * [Composer](https://getcomposer.org/) - A package and dependency manager. * [Melody](https://melody.sensiolabs.org/) - A tool to build one file Composer scripts. * [Pickle](https://github.com/FriendsOfPHP/pickle) - A PHP extension installer. ### Dependency Management Extras *Extras related to dependency management.* * [Composed](https://github.com/joshdifabio/composed) - A library to parse your project's Composer environment at runtime. * [Composer Merge Plugin](https://github.com/wikimedia/composer-merge-plugin) - A composer plugin to merge several composer.json files. * [Prestissimo](https://github.com/hirak/prestissimo) - A composer plugin which enables parallel install process. * [Satis](https://github.com/composer/satis) - A static Composer repository generator. * [tooly](https://github.com/tommy-muehle/tooly-composer-script) - A library to manage PHAR files in project using Composer. * [Toran Proxy](https://toranproxy.com) - A static Composer repository and proxy. ### Frameworks *Web development frameworks.* * [Aura Framework](http://auraphp.com/framework/) - A framework built from independent components. * [CakePHP](https://cakephp.org/) - A rapid application development framework (CP). * [Laravel 6](https://laravel.com/) - Another PHP framework (L6). * [Nette](https://nette.org) - Another framework comprised of individual components. * [Phalcon](https://phalcon.io/en/) - A framework implemented as a C extension. * [PPI Framework 2](https://github.com/ppi) - An interoperability framework. * [Symfony](https://symfony.com/) - A framework comprised of individual components (SF). * [Yii2](https://github.com/yiisoft/yii2/) - Another PHP framework. * [Zend Framework 3](https://framework.zend.com/learn) - A framework comprised of individual components (ZF3). * [Ice](https://www.iceframework.org/) - Another simple and fast PHP framework delivered as C-extension. ### Framework Extras *Extras related to web development frameworks.* * [CakePHP CRUD](https://github.com/friendsofcake/crud) - A Rapid Application Development (RAD) plugin for CakePHP. * [Knp RAD Components](https://rad.knplabs.com/) - A set of Rapid Application Development (RAD) components for Symfony. * [Symfony CMF](https://github.com/symfony-cmf/symfony-cmf) - A Content Management Framework to create custom CMS. ### 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.concrete5.org/) - A CMS targering users with a minimum of technical skills. * [Drupal](https://www.drupal.org) - An enterprise level CMS. * [Grav](https://github.com/getgrav/grav) - A modern flat-file CMS. * [Joomla](https://www.joomla.org/) - Another leading CMS. * [WordPress](https://wordpress.org/) A blogging platform and CMS. ### Components *Standalone components from web development frameworks and development groups.* * [Aura](http://auraphp.com/) - Independent components, fully decoupled from each other and from any framework. * [CakePHP Plugins](https://plugins.cakephp.org/) - A directory of CakePHP plugins. * [Hoa Project](https://hoa-project.net/En/) - Another package of PHP components. * [League of Extraordinary Packages](https://thephpleague.com/) - A PHP package development group. * [Symfony Components](https://symfony.com/doc/master/components/index.html) - The components that make Symfony. * [Zend Framework Components](https://docs.zendframework.com/) - The components that make Zend Framework. ### Micro Frameworks *Micro frameworks and routers.* * [Bullet PHP](http://bulletphp.com/) - A micro framework for building REST APIs. * [Lumen](https://lumen.laravel.com) - A micro-framework by Laravel. * [Radar](https://github.com/radarphp/Radar.Adr) - An Action-Domain-Responder implementation for PHP. * [Slim](https://www.slimframework.com/) - Another simple micro framework. * [Expressive](https://getexpressive.org/) - A micro-framework by Zend. ### Micro Framework Extras *Extras related to micro frameworks and routers.* * [Silex Skeleton](https://github.com/silexphp/Silex-Skeleton) - A project skeleton for Silex. * [Silex Web Profiler](https://github.com/silexphp/Silex-WebProfiler) - A web debug toolbar for Silex. * [Slim Skeleton](https://github.com/slimphp/Slim-Skeleton) - A skeleton for Slim. * [Slim Twig View](https://github.com/slimphp/Slim-Views) - Integrate Twig into Slim. * [Slim PHP View](https://github.com/slimphp/PHP-View) - A simple PHP renderer for 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. * [Pux](https://github.com/c9s/Pux) - Another fast routing library. * [Route](https://github.com/thephpleague/route) - A routing library built on top of Fast Route. ### Templating *Libraries and tools for templating and lexing.* * [Aura.View](https://github.com/auraphp/Aura.View) - Provides TemplateView and TwoStepView using PHP as the tempting language, with support for partials, sections, and helpers. * [Foil](https://github.com/FoilPHP/Foil) - Another native PHP templating library. * [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](http://platesphp.com/) - A native PHP templating library. * [Smarty](https://www.smarty.net/) - A template engine to complement PHP. * [Twig](https://twig.symfony.com/) - A comprehensive templating language. * [Tale Jade](https://github.com/Talesoft/tale-jade) - A PHP implementation of the Jade template language. ### Static Site Generators *Tools for pre-processing content to generate web pages.* * [Couscous](http://couscous.io) - Couscous turns Markdown documentation into beautiful websites. It's GitHub Pages on steroids. * [Sculpin](https://sculpin.io) - A tool that converts Markdown and Twig into static HTML. * [Spress](http://spress.yosymfony.com) - An extensible tool that converts Markdown and Twig into 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](http://httplug.io) - An HTTP client abstraction without binding to a specific implementation. * [PHP VCR](https://php-vcr.github.io/) - A library for recording and replaying HTTP requests. * [Requests](https://github.com/rmccue/Requests) - A simple HTTP library. * [Retrofit](https://github.com/tebru/retrofit-php) - A library to ease creation of REST API clients. * [Symfony HTTP Client](https://github.com/symfony/http-client) - A component to fetch HTTP resources synchronously or asynchronously. * [zend-diactoros](https://github.com/zendframework/zend-diactoros) - PSR-7 HTTP Message implementation. ### Scraping *Libraries for scraping websites.* * [Embed](https://github.com/oscarotero/Embed) - An information extractor from any web service or page. * [Goutte](https://github.com/FriendsOfPHP/Goutte) - A simple web scraper. * [Symfony Panther](https://github.com/symfony/panther) - A browser testing and web crawling library for PHP and Symfony. * [PHP Spider](https://github.com/mvdbos/php-spider) - A configurable and extensible PHP web spider. ### Middlewares *Libraries for building application using middlewares.* * [Expressive](https://zendframework.github.io/zend-expressive/) - PSR-7 Middleware framework from Zend. * [PSR7-Middlewares](https://github.com/oscarotero/psr7-middlewares) - Inspiring collection of handy middlewares. * [Relay](https://github.com/relayphp/Relay.Relay) - A PHP 5.5 PSR-7 middleware dispatcher. * [Stack](https://github.com/stackphp) - A library of stackable middleware for Silex/Symfony. * [zend-stratigility](https://github.com/zendframework/zend-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. * [Purl](https://github.com/jwage/purl) - A URL manipulation 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. * [Email Reply Parser](https://github.com/willdurand/EmailReplyParser) - An email reply parser library. * [Email Validator](https://github.com/nojacko/email-validator) - A small email address validation 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://sendgrid.com/), [PostMark](https://postmarkapp.com), [MailGun](https://www.mailgun.com/) and [Mandrill](https://www.mandrill.com). * [SwiftMailer](https://swiftmailer.symfony.com) - A mailer solution. ### 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) - Another filesystem abstraction layer. * [Gaufrette](https://github.com/KnpLabs/Gaufrette) - A filesystem abstraction layer. * [Hoa Mime](https://github.com/hoaproject/Mime) - Another MIME detection library. * [PHP FFmpeg](https://github.com/PHP-FFmpeg/PHP-FFmpeg/) - A wrapper for the [FFmpeg](https://www.ffmpeg.org/) video library. * [UnifiedArchive](https://github.com/wapmorgan/UnifiedArchive) - A unified reader and writer of compressed archives. ### Streams *Libraries for working with streams.* * [Streamer](https://github.com/fzaninotto/Streamer) - A simple object-orientated stream wrapper library. ### 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 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](http://php-di.org/) - A dependency injection container that supports autowiring. * [Pimple](https://pimple.symfony.com/) - A tiny dependency injection container. * [Symfony DI](https://github.com/symfony/dependency-injection) - A dependency injection container component (SF). ### 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. ### Testing *Libraries for testing codebases and generating test data.* * [Alice](https://github.com/nelmio/alice) - An expressive fixture generation library. * [AspectMock](https://github.com/Codeception/AspectMock) - A mocking framework for PHPUnit/Codeception. * [Atoum](https://github.com/atoum/atoum) - A simple testing library. * [Behat](http://docs.behat.org/en/v2.5/) - A behaviour driven development (BDD) testing framework. * [Codeception](https://github.com/Codeception/Codeception) - A full stack testing framework. * [Faker](https://github.com/fzaninotto/Faker) - A fake data generator library. * [HTTP Mock](https://github.com/InterNations/http-mock) - A library for mocking HTTP requests in unit tests. * [Kahlan](https://github.com/kahlan/kahlan) - Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support. * [Mink](http://mink.behat.org/en/latest/) - Web acceptance testing. * [Mockery](https://github.com/mockery/mockery) - A mock object library for testing. * [ParaTest](https://github.com/paratestphp/paratest) - A parallel testing library for PHPUnit. * [Peridot](https://github.com/peridot-php/peridot) - An event driven test framework. * [Phake](https://github.com/mlively/Phake) - Another mock object library for testing. * [Pho](https://github.com/danielstjules/pho) - Another behaviour driven development testing framework. * [PHP-Mock](https://github.com/php-mock/php-mock) - A mock library for built-in PHP functions (e.g. time()). * [PHPSpec](https://github.com/phpspec/phpspec) - A design by specification unit testing library. * [PHPT](https://qa.php.net/write-test.php) - A test tool used by PHP itself. * [PHPUnit](https://github.com/sebastianbergmann/phpunit) - A unit testing framework. * [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. ### Continuous Integration *Libraries and applications for continuous integration.* * [CircleCI](https://circleci.com) - A continuous integration platform. * [GitlabCi](https://about.gitlab.com/product/continuous-integration/) - Let GitLab CI test, build, deploy your code. TravisCi like. * [Jenkins](https://jenkins.io/index.html) - A continuous integration platform with [PHP support](http://jenkins-php.org/index.html). * [JoliCi](https://github.com/jolicode/JoliCi) - A continuous integration client written in PHP and powered by Docker. * [PHPCI](https://github.com/dancryer/phpci) - An open source continuous integration platform for PHP. * [SemaphoreCI](https://semaphoreci.com/) - A continuous integration platform for open source and private projects. * [Shippable](https://www.shippable.com/) - A Docker based continious integration platform for open source and private projects. * [Travis CI](https://travis-ci.org/) - A continuous integration platform. ### Documentation *Libraries for generating project documentation.* * [APIGen](https://github.com/apigen/apigen) - Another API documentation generator. * [daux.io](https://github.com/justinwalsh/daux.io) - A documentation generator which uses Markdown files. * [PHP Documentor 2](https://github.com/phpDocumentor/phpDocumentor2) - A documentation generator. * [phpDox](http://phpdox.de/) - A documentation generator for PHP projects (that is not limited to API documentation). * [Sami](https://github.com/FriendsOfPHP/Sami) - An API documentation generator. ### Security *Libraries for generating secure random numbers, encrypting data and scanning for vulnerabilities.* * [Halite](https://paragonie.com/project/halite) - A simple library for encryption using [libsodium](https://github.com/jedisct1/libsodium). * [HTML Purifier](https://github.com/ezyang/htmlpurifier) - A standards compliant HTML filter. * [IniScan](https://github.com/psecio/iniscan) - A tool that scans PHP INI files for security. * [Optimus](https://github.com/jenssegers/optimus) - Id obfuscation based on Knuth's multiplicative hashing method. * [PHP Encryption](https://github.com/defuse/php-encryption) - Secure PHP Encryption Library. * [PHP SSH](https://github.com/Herzult/php-ssh) - An experimental object orientated SSH wrapper library. * [PHPSecLib](http://phpseclib.sourceforge.net/) - A pure PHP secure communications library. * [random_compat](https://github.com/paragonie/random_compat) - PHP 5.x support for `random_bytes()` and `random_int()` * [RandomLib](https://github.com/ircmaxell/RandomLib) - A library for generating random numbers and strings. * [Symfony Security Monitoring](https://security.symfony.com/) - A web tool to check your Composer dependencies for security advisories, previously known as "SensioLabs Security Check". * [TCrypto](https://github.com/timoh6/TCrypto) - A simple encrypted key-value storage library. * [VAddy](https://vaddy.net/) - A continuous security testing platform for web applications. * [Zed](https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project) - An integrated penetration 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 Compat](https://github.com/ircmaxell/password_compat) - A compatibility library for the new PHP 5.5 password functions. * [Password Policy](https://github.com/ircmaxell/password-policy) - A password policy library for PHP and JavaScript. * [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. * [PHP Password Lib](https://github.com/ircmaxell/PHP-PasswordLib) - A library for generating and validating 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) - AST-based reflection library that allows analysis and manipulation of code * [Code Climate](https://codeclimate.com) - An automated code review. * [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. * [PHPLOC](https://github.com/sebastianbergmann/phploc) - A tool for quickly measuring the size of a PHP project. * [PHPQA](https://github.com/EdgedesignCZ/phpqa) - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics). * [Qafoo Quality Analyzer](https://github.com/Qafoo/QualityAnalyzer) - A tool to visualize metrics and source 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.* * [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) - A library that detects PHP, CSS and JS coding standard violations. * [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) - A coding standards fixer library. * [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. * [PHPCPD](https://github.com/sebastianbergmann/phpcpd) - A library that detects copied and pasted code. ### Static Analysis *Libraries for performing static analysis of PHP code.* * [Exakat](https://github.com/exakat/exakat) - A static analysis engine for PHP. * [Mondrian](https://github.com/Trismegiste/Mondrian) - A code analysis tool using Graph Theory. * [phan](https://github.com/phan/phan) - A static analyzer based on PHP 7+ and the php-ast extension. * [PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) - A PHP compatibility checker for PHP CodeSniffer. * [PhpDependencyAnalysis](https://github.com/mamuz/PhpDependencyAnalysis) - A tool to create customisable dependency graphs. * [PHP Metrics](https://github.com/phpmetrics/PhpMetrics) - A static metric library. * [PHP Migration](https://github.com/monque/PHP-Migration) - A static analyzer for PHP version migration. * [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/domnikl/DesignPatternsPHP) - A repository of software patterns implemented in PHP. * [Finite](https://yohan.giarel.li/Finite/) - A simple PHP finite state machine. * [Functional PHP](https://github.com/lstrojny/functional-php) - A functional programming library. * [Iter](https://github.com/nikic/iter) - A library that provides iteration primitives using generators. * [Patchwork](http://patchwork2.org/) - A library for redefining userland functions. * [Pipeline](https://github.com/thephpleague/pipeline) - A pipeline pattern implementation. * [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 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. * [Blackfire.io](https://blackfire.io) - A low-overhead code profiler. * [Kint](https://github.com/kint-php/kint) - A debugging and profiling tool. * [PHP Console](https://github.com/Seldaek/php-console) - A web debugging console. * [PHP Debug Bar](http://phpdebugbar.com/) - A debugging toolbar. * [PHPBench](https://github.com/phpbench/phpbench) - A benchmarking Framework. * [PHPSpy](https://github.com/adsr/phpspy) - A low-overhead sampling profiler. * [Tideways.io](https://tideways.com/) - Monitoring and profiling tool. * [Tracy](https://github.com/nette/tracy) - A simple error detection, logging and time measuring 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/server/z-ray) - A debug and profile tool for Zend Server. ### Build Tools *Project build and automation tools.* * [Box](https://github.com/humbug/box) - A utility to build PHAR files. * [Construct](https://github.com/jonathantorres/construct) - A PHP project/micro-package generator. * [Phing](https://www.phing.info/) - A PHP project build system inspired by Apache Ant. ### Task Runners *Libraries for automating and running tasks.* * [Bldr](https://bldr.io/) - A PHP Task runner built on Symfony components. * [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-orientated configurations. * [Task](https://taskphp.github.io/) - A pure PHP task runner inspired by Grunt and Gulp. ### Navigation *Tools for building navigation structures.* * [KnpMenu](https://github.com/KnpLabs/KnpMenu) - A menu library. ### Asset Management *Tools for managing, compressing and minifying website assets.* * [JShrink](https://github.com/tedious/JShrink) - A JavaScript minifier library. * [Munee](https://github.com/meenie/munee) - An asset optimiser library. * [Puli](https://github.com/puli/repository) - A library for determining assets absolute paths. * [BowerPHP](https://github.com/Bee-Lab/bowerphp) - A PHP implementation of Bower. A package manager for the web ### Geolocation *Libraries for geocoding addresses and working with latitudes and longitudes.* * [GeoCoder](https://geocoder-php.org/) - A geocoding library. * [GeoJSON](https://github.com/jmikola/geojson) - A GeoJSON implementation. * [GeoTools](https://github.com/thephpleague/geotools) - A library of geo-related tools. * [PHPGeo](https://github.com/mjaschen/phpgeo) - A simple geo library. ### Date and Time *Libraries for working with dates and times.* * [CalendR](https://yohan.giarel.li/CalendR/) - A calendar management library. * [Carbon](https://github.com/briannesbitt/Carbon) - A simple DateTime API extension. * [Chronos](https://github.com/cakephp/chronos) - A DateTime API extension supporting both mutable and immutable date/time. * [Moment.php](https://github.com/fightbulc/moment.php) - Moment.js inspired PHP DateTime handler with i18n support. * [Yasumi](https://github.com/azuyalabs/yasumi) - An library to help you calculate the dates and names of holidays. ### Event *Libraries that are event-driven or implement non-blocking event loops.* * [Amp](https://github.com/amphp/amp) - An event driven non-blocking I/O library. * [Broadway](https://github.com/broadway/broadway) - An event source and CQRS library. * [Cake Event](https://github.com/cakephp/event) - An event dispatcher library (CP). * [Elephant.io](https://github.com/Wisembly/Elephant.io) - Yet another web socket library. * [Evenement](https://github.com/igorw/evenement) - An event dispatcher library. * [Event](https://github.com/thephpleague/event) - An event library with a focus on domain events. * [Hoa EventSource](https://github.com/hoaproject/Eventsource) - An event source library. * [Hoa WebSocket](https://github.com/hoaproject/Websocket) - Another web socket library. * [Prooph Event Store](https://github.com/prooph/event-store) - An event source component to persist event messages * [Ratchet](https://github.com/ratchetphp/Ratchet) - A web socket library. * [React](https://github.com/reactphp/react) - An event driven non-blocking I/O library. * [RxPHP](https://github.com/ReactiveX/RxPHP) - A reactive extension library. * [Swoole](https://github.com/swoole/swoole-src) - An event-driven asynchronous and concurrent networking communication framework with high performance for PHP written in C. * [Workerman](https://github.com/walkor/Workerman) - An event driven non-blocking I/O library. ### Logging *Libraries for generating and working with log files.* * [Monolog](https://github.com/Seldaek/monolog) - A comprehensive logger. ### E-commerce *Libraries and applications for taking payments and building online e-commerce stores.* * [Money](https://github.com/moneyphp/money) - A PHP implementation of Fowler's money pattern. * [OmniPay](https://github.com/thephpleague/omnipay) - A framework agnostic multi-gateway payment processing library. * [Payum](https://github.com/payum/payum) - A payment abstraction library. * [Shopware](https://github.com/shopware/shopware) - Highly customizable e-commerce software * [Swap](https://github.com/florianv/swap) - An exchange rates library. * [Sylius](https://sylius.com/) - An open source e-commerce solution. ### PDF *Libraries and software for working with PDF files.* * [Dompdf](https://github.com/dompdf/dompdf) - A HTML to PDF converter. * [PHPPdf](https://github.com/psliwa/PHPPdf) - A library for generating PDFs and images from XML. * [Snappy](https://github.com/KnpLabs/snappy) - A PDF and image generation library. * [WKHTMLToPDF](https://github.com/wkhtmltopdf/wkhtmltopdf) - A tool to convert HTML to PDF. ### Office *Libraries for working with office suite documents.* * [PHPPowerPoint](https://github.com/PHPOffice/PHPPresentation) - A library for working with Microsoft PowerPoint Presentations. * [PHPWord](https://github.com/PHPOffice/PHPWord) - A library for working with Microsoft Word documents. * [PHPSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) - A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel). * [Spout](https://github.com/box/spout) - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way . ### Database *Libraries for interacting with databases using object-relational mapping (ORM) or datamapping techniques.* * [Atlas.Orm](https://github.com/atlasphp/Atlas.Orm) - A data mapper implementation for your persistence model in PHP. * [Aura.Sql](https://github.com/auraphp/Aura.Sql) - Provides an extension to the native PDO along with a profiler and connection locator. * [Aura.SqlQuery](https://github.com/auraphp/Aura.SqlQuery) - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server. * [Baum](https://github.com/etrepat/baum) - A nested set implementation for Eloquent. * [Cake ORM](https://github.com/cakephp/orm) - Object-Relational Mapper, implemented using the DataMapper pattern (CP). * [Doctrine Extensions](https://github.com/Atlantic18/DoctrineExtensions) - A collection of Doctrine behavioural extensions. * [Doctrine](https://www.doctrine-project.org/) - A comprehensive DBAL and ORM. * [Eloquent](https://github.com/illuminate/database) - A simple ORM (L6). * [Pomm](https://github.com/chanmix51/Pomm) - An Object Model Manager for PostgreSQL. * [ProxyManager](https://github.com/Ocramius/ProxyManager) - A set of utilities to generate proxy objects for data mappers. * [RedBean](https://redbeanphp.com/index.php) - A lightweight, configuration-less ORM. * [Spot2](https://github.com/spotorm/spot2) - A MySQL datamapper ORM. ### Migrations Libraries to help manage database schemas and migrations. * [Doctrine Migrations](https://www.doctrine-project.org/projects/migrations.html) - A migration library for Doctrine. * [Migrations](https://github.com/icomefromthenet/Migrations) - A migration management library. * [Phinx](https://github.com/cakephp/phinx) - Another database migration library. * [PHPMig](https://github.com/davedevelopment/phpmig) - Another migration management library. * [Ruckusing](https://github.com/ruckus/ruckusing-migrations) - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite. ### NoSQL *Libraries for working with "NoSQL" backends.* * [PHPMongo](https://github.com/sokil/php-mongo) - A MongoDB ORM. * [Predis](https://github.com/nrk/predis) - A feature complete Redis library. ### Queue *Libraries for working with event and task queues.* * [Bernard](https://github.com/bernardphp/bernard) - A multibackend abstraction library. * [BunnyPHP](https://github.com/jakubkulhan/bunny) - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library. * [Pheanstalk](https://github.com/pheanstalk/pheanstalk) - A Beanstalkd client library. * [PHP AMQP](https://github.com/php-amqplib/php-amqplib) - A pure PHP AMQP library. * [Tarantool Queue](https://github.com/tarantool-php/queue) - PHP bindings for Tarantool Queue. * [Thumper](https://github.com/php-amqplib/Thumper) - A RabbitMQ pattern library. ### Search *Libraries and software for indexing and performing search queries on data.* * [Elastica](https://github.com/ruflin/Elastica) - A client library for ElasticSearch. * [ElasticSearch PHP](https://github.com/elastic/elasticsearch-php) - The official client library for [ElasticSearch](https://www.elastic.co/). * [Solarium](https://www.solarium-project.org/) - A client library for [Solr](https://lucene.apache.org/solr/). * [Sphinx Search](https://github.com/ripaclub/sphinxsearch) - Sphinx Search library provides SphinxQL indexing and searching features * [SphinxQL query builder](https://foolcode.github.io/SphinxQL-Query-Builder/) - A query library for the [Sphinx](https://sphinxsearch.com/) search engine. ### Command Line *Libraries related to the command line.* * [Aura.Cli](https://github.com/auraphp/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. * [Boris](https://github.com/borisrepl/boris) - A tiny PHP REPL. * [Cilex](https://github.com/Cilex/Cilex) - A micro framework for building command line tools. * [CLI Menu](https://github.com/php-school/cli-menu) - A library for building CLI menus. * [CLIFramework](https://github.com/c9s/CLIFramework) - A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew. * [CLImate](https://github.com/thephpleague/climate) - A library for outputting colours and special formatting. * [Commando](https://github.com/nategood/commando) - Another simple command line opt parser. * [Cron Expression](https://github.com/mtdowling/cron-expression) - A library to calculate cron run dates. * [GetOpt](https://github.com/getopt-php/getopt-php) - A command line opt parser. * [GetOptionKit](https://github.com/c9s/GetOptionKit) - Another command line opt parser. * [Hoa Console](https://github.com/hoaproject/Console) - Another command line library. * [PsySH](https://github.com/bobthecow/psysh) - Another PHP REPL. * [ShellWrap](https://github.com/MrRio/shellwrap) - A simple command line wrapper library. ### Authentication and Authorization *Libraries for implementing user authentication and authorization.* * [Aura.Auth](https://github.com/auraphp/Aura.Auth) - Provides authentication functionality and session tracking using various adapters. * [SocialConnect Auth](https://github.com/socialConnect/auth) - An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect). * [Json Web Token](https://github.com/lcobucci/jwt) - Json Tokens to authenticate and transmit information. * [OAuth 1.0 Client](https://github.com/thephpleague/oauth1-client) - An OAuth 1.0 client library. * [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client) - An OAuth 2.0 client library. * [OAuth2 Server](https://bshaffer.github.io/oauth2-server-php-docs/) - Another OAuth2 server implementation. * [OAuth2 Server](https://oauth2.thephpleague.com/) - An OAuth2 authentication server, resource server and client library. * [Opauth](https://github.com/opauth/opauth) - A multi-provider authentication framework. * [PHP oAuthLib](https://github.com/Lusitanian/PHPoAuthLib) - Another OAuth library. * [Sentinel Social](https://cartalyst.com/manual/sentinel-social/2.0) - A library for social network authentication. * [Sentinel](https://cartalyst.com/manual/sentinel/2.0) - A framework agnostic authentication & authorisation library. * [TwitterOAuth](https://github.com/abraham/twitteroauth) - A Twitter OAuth library. ### Markup *Libraries for working with markup.* * [Cebe Markdown](https://github.com/cebe/markdown) - An fast and extensible Markdown parser. * [CommonMark PHP](https://github.com/thephpleague/commonmark) - A Markdown parser which supports the full [CommonMark spec](https://spec.commonmark.org/). * [Decoda](https://github.com/milesj/decoda) - A lightweight markup parser library. * [Emoji](https://github.com/heyupdate/Emoji) - A library that converts unicode characters and names into emoji images. * [HTML to Markdown](https://github.com/thephpleague/html-to-markdown) - Converts HTML into Markdown. * [HTML5 PHP](https://github.com/Masterminds/html5-php) - An HTML5 parser and serializer library. * [Parsedown](https://github.com/erusev/parsedown) - Another Markdown parser. * [PHP Markdown](https://github.com/michelf/php-markdown) - A Markdown parser. ### Strings *Libraries for parsing and manipulating strings.* * [Agent](https://github.com/jenssegers/agent) - A PHP desktop/mobile user agent parser, based on Mobiledetect. * [ANSI to HTML5](https://github.com/sensiolabs/ansi-to-html) - An ANSI to HTML5 converter library. * [Color Jizz](https://github.com/mikeemoo/ColorJizz-PHP) - A library for manipulating and converting colours. * [Device Detector](https://github.com/matomo-org/device-detector) - Another library for parsing user agent strings. * [Hoa String](https://github.com/hoaproject/Ustring) - Another UTF-8 string library. * [Jieba-PHP](https://github.com/fukuball/jieba-php) - A PHP port of Python's jieba. Chinese text segmentation for natural language processing. * [Mobile-Detect](https://github.com/serbanghita/Mobile-Detect) - A lightweight PHP class for detecting mobile devices (including tablets). * [Patchwork UTF-8](https://github.com/nicolas-grekas/Patchwork-UTF8) - A portable library for working with UTF-8 strings. * [Slugify](https://github.com/cocur/slugify) - A library to convert strings to slugs. * [SQL Formatter](https://github.com/jdorn/sql-formatter/) - A library for formatting SQL statements. * [Stringy](https://github.com/danielstjules/Stringy) - A string manipulation library with multibyte support. * [UA Parser](https://github.com/tobie/ua-parser/tree/master/php) - A library for parsing user agent strings. * [URLify](https://github.com/jbroadway/urlify) - A PHP port of Django's URLify.js. * [UUID](https://github.com/ramsey/uuid) - A library for generating UUIDs. ### Numbers *Libraries for working with numbers.* * [ByteUnits](https://github.com/gabrielelana/byte-units) - A library to parse, format and convert byte units in binary and metric systems. * [LibPhoneNumber for PHP](https://github.com/giggsey/libphonenumber-for-php) - A PHP implementation of Google's phone number handling library. * [PHP Conversion](https://github.com/Crisu83/php-conversion) - Another library for converting between units of measure. * [PHP Units of Measure](https://github.com/triplepoint/php-units-of-measure) - A library for converting between units of measure. ### Filtering and Validation *Libraries for filtering and validating data.* * [Assert](https://github.com/beberlei/assert) - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions. * [Aura.Filter](https://github.com/auraphp/Aura.Filter) - Provides tools to validate and sanitize objects and arrays. * [Cake Validation](https://github.com/cakephp/validation) - Another validation library (CP). * [Filterus](https://github.com/ircmaxell/filterus) - A simple PHP filtering library. * [ISO-codes](https://github.com/ronanguilloux/IsoCodes) - A library for validating inputs according standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries. * [JSON Schema](https://github.com/justinrainbow/json-schema) - A [JSON Schema](http://json-schema.org) validation library. * [MetaYaml](https://github.com/romaricdrigon/MetaYaml) - A schema validation library that supports YAML, JSON and XML. * [Respect Validation](https://github.com/Respect/Validation) - A simple validation library. * [Upload](https://github.com/brandonsavage/Upload) - A library for handling file uploads and validation. * [Valitron](https://github.com/vlucas/valitron) - Another validation library. * [Volan](https://github.com/serkin/Volan) - Another simplified validation library. ### API *Libraries and web tools for developing APIs.* * [API Platform](https://api-platform.com ) - Expose in minutes an hypermedia REST API that embraces JSON-LD, Hydra format. * [Apigility](https://github.com/zfcampus/zf-apigility-skeleton) - An API builder built with Zend Framework 2. * [Drest](https://github.com/leedavis81/drest) - A library for exposing Doctrine entities as REST resource endpoints. * [HAL](https://github.com/blongden/hal) - A Hypertext Application Language (HAL) builder library. * [Hateoas](https://github.com/willdurand/Hateoas) - A HATEOAS REST web service library. * [Negotiation](https://github.com/willdurand/Negotiation) - A content negotiation library. * [Restler](https://github.com/Luracast/Restler) - A lightweight framework to expose PHP methods as RESTful web API. * [wsdl2phpgenerator](https://github.com/wsdl2phpgenerator/wsdl2phpgenerator) - A tool to generate PHP classes from SOAP WSDL files. ### Caching *Libraries for caching data.* * [Alternative PHP Cache (APC)](https://secure.php.net/manual/en/book.apc.php) - Open opcode cache for PHP. * [APIx Cache](https://github.com/apix/cache) - A thin PSR-6 cache wrapper to various caching backends emphasising cache tagging and indexing. * [CacheTool](https://github.com/gordalina/cachetool) - A tool to clear APC/opcode caches from the command line. * [Cake Cache](https://github.com/cakephp/cache) - A caching library (CP). * [Doctrine Cache](https://github.com/doctrine/cache) - A caching library. * [Metaphore](https://github.com/sobstel/metaphore) - Cache slam defense using a semaphore to prevent dogpile effect. * [Stash](https://github.com/tedious/Stash) - Another library for caching. * [Zend Cache](https://github.com/zendframework/zend-cache) - Another caching library (ZF2). ### Data Structure and Storage *Libraries that implement data structure or storage techniques.* * [Cake Collection](https://github.com/cakephp/collection) - A simple collections library (CP). * [Fractal](https://github.com/thephpleague/fractal) - A library for converting complex data structures to JSON output. * [Ginq](https://github.com/akanehara/ginq) - Another PHP library based on .NET's LINQ. * [JsonMapper](https://github.com/cweiske/jsonmapper) - A library that maps nested JSON structures onto PHP classes. * [Knapsack](https://github.com/DusanKasan/Knapsack) - Collection library inspired by Clojure's sequences. * [msgpack.php](https://github.com/rybakit/msgpack.php) - A pure PHP implementation of the [MessagePack](https://msgpack.org/) serialization format. * [PINQ](https://github.com/TimeToogo/Pinq) - A PHP library based on .NET's LINQ (Language Integrated Query). * [Porter](https://github.com/ScriptFUSION/Porter) - Data import abstraction framework. * [Serializer](https://github.com/schmittjoh/serializer) - A library for serialising and de-serialising data. * [YaLinqo](https://github.com/Athari/YaLinqo) - Yet Another LINQ to Objects for PHP. * [Zend Serializer](https://github.com/zendframework/zend-serializer) - Another library for serialising and de-serialising data (ZF2). ### Notifications *Libraries for working with notification software.* * [JoliNotif](https://github.com/jolicode/JoliNotif) - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc) * [Notification Pusher](https://github.com/Ph3nol/NotificationPusher) - A standalone library for device push notifications. * [Notificato](https://github.com/mac-cain13/notificato) - A library for handling push notifications. * [Notificator](https://github.com/namshi/notificator) - A lightweight notification library. * [Php-pushwoosh](https://github.com/gomoob/php-pushwoosh) - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services. ### Deployment *Libraries for project deployment.* * [Deployer](https://github.com/deployphp/deployer) - A deployment tool. * [Envoy](https://github.com/laravel/envoy) - A tool to run SSH tasks with PHP. * [Rocketeer](https://github.com/rocketeers/rocketeer) - A fast and easy deployer for the PHP world. ### Internationalisation and Localisation *Libraries for Internationalization (I18n) and Localization (L10n).* * [Aura.Intl](https://github.com/auraphp/Aura.Intl) - Provides internationalization (I18N) tools, specifically package-oriented per-locale message translation. * [Cake I18n](https://github.com/cakephp/i18n) - Message translation and localization for dates and numbers (CP) ### Serverless *Libraries and tools to help build serverless web applications.* * [Bref](https://bref.sh/) - Serverless PHP on AWS Lambda. * [OpenWhisk](http://openwhisk.apache.org/) - An open source serverless cloud platform. * [Serverless Framework](https://serverless.com/cli/) - An open source framework for building serverless applications. ## Configuration *Libraries and tools for configuration.** * [PHP Dotenv](https://github.com/vlucas/phpdotenv) - Parse and load environment variables from `.env` files. * [Symfony Dotenv](https://github.com/symfony/dotenv)- Parse and load environment variables from `.env` files. ### Third Party APIs *Libraries for accessing third party APIs.* * [Amazon Web Service SDK](https://github.com/aws/aws-sdk-php) - The official PHP AWS SDK library. * [Campaign Monitor](https://campaignmonitor.github.io/createsend-php/) - The official Campaign Monitor PHP library. * [Dropbox SDK](https://github.com/dropbox/dropbox-sdk-php) - The official PHP Dropbox SDK library. * [Github](https://github.com/KnpLabs/php-github-api) - A library to interface with the Github API. * [Mailgun](https://github.com/mailgun/mailgun-php) The official Mailgun PHP API. * [Stripe](https://github.com/stripe/stripe-php) - The official Stripe PHP library. * [Twilio](https://github.com/twilio/twilio-php) - The official Twilio PHP REST API. ### Extensions *Libraries to help build PHP extensions.* * [PHP CPP](https://www.php-cpp.com/) - A C++ library for developing PHP extensions. * [Zephir](https://github.com/phalcon/zephir) - A compiled language between PHP and C++ for developing PHP extensions. ### Miscellaneous *Useful libraries or tools that don't fit in the categories above.* * [Annotations](https://github.com/doctrine/annotations) - An annotations library (part of Doctrine). * [BotMan](https://github.com/botman/botman) - A framework agnostic PHP library to build cross-platform chat bots. * [Cake Utility](https://github.com/cakephp/utility) - Utility classes such as Inflector, String, Hash, Security and Xml (CP). * [Chief](https://github.com/adamnicholson/Chief) - A command bus library. * [ClassPreloader](https://github.com/ClassPreloader/ClassPreloader) - A library for optimising autoloading. * [Country List](https://github.com/umpirsky/country-list) - A list of all countries with names and ISO 3166-1 codes. * [Embera](https://github.com/mpratt/Embera) - An Oembed consumer library. * [Essence](https://github.com/essence/essence) - A library for extracting web media. * [Graphviz](https://github.com/alexandresalome/graphviz) - A Graphviz library. * [Hprose-PHP](https://github.com/hprose/hprose-php) - A very newbility RPC Library, support 25+ languages now. * [JSON Lint](https://github.com/Seldaek/jsonlint) - A JSON lint utility. * [JSONPCallbackValidator](https://github.com/willdurand/JsonpCallbackValidator) - A library for validating JSONP callbacks. * [Metrics](https://github.com/beberlei/metrics) - A simple metrics API library. * [noCAPTCHA](https://github.com/ARCANEDEV/noCAPTCHA) - Helper for Google's noCAPTCHA (reCAPTCHA). * [Nmap](https://github.com/willdurand/nmap) - A PHP wrapper around [Nmap](https://nmap.org/). * [Pagerfanta](https://github.com/whiteoctober/Pagerfanta) - A pagination library. * [PHP PassBook](https://github.com/eymengunay/php-passbook) - A PHP library for iOS PassBook. * [PHP-ML](https://github.com/php-ai/php-ml) - A library for Machine Learning in PHP. * [PHPCR](https://github.com/phpcr/phpcr) - A PHP port of the Java Content Repository (JCR). * [PHPStack](http://dunkels.com/adam/phpstack/) - A TCP/IP stack proof of concept written in PHP. * [print_o](https://github.com/koriym/print_o) - An object graph visualizer. * [Procrastinator](https://github.com/lstrojny/Procrastinator) - A library for running time consuming tasks. * [Prooph Service Bus](https://github.com/prooph/service-bus) - Lightweight message bus supporting CQRS and Micro Services * [RMT](https://github.com/liip/RMT) - A library for versioning and releasing software. * [sabre/vobject](https://github.com/sabre-io/vobject) - A library for parsing VCard and iCalendar objects. * [Slimdump](https://github.com/webfactory/slimdump) - An easy dumper tool for MySQL. * [Spork](https://github.com/kriswallsmith/spork) - A process forking library. * [SuperClosure](https://github.com/jeremeamia/super_closure) - A library that allows Closures to be serialized. * [Symfony VarDumper](https://github.com/symfony/var-dumper) - A variable dumper component (SF). * [Underscore](https://anahkiasen.github.io/underscore-php/) - A PHP port of the Underscore JS library. * [Whoops](https://github.com/filp/whoops) - A pretty error handling library. # Software *Software for creating a development environment.* ### PHP Installation *Tools to help install and manage PHP on your computer.* * [HomeBrew](https://brew.sh/) - A package manager for OSX. * [Brew PHP Switcher](https://github.com/philcook/brew-php-switcher) - Brew PHP switcher. * [PHP Brew](https://github.com/phpbrew/phpbrew) - A PHP version manager and installer. * [PHP Build](https://github.com/php-build/php-build) - Another PHP version installer. * [PHP OSX](https://php-osx.liip.ch/) - A PHP installer for OSX. * [VirtPHP](http://virtphp.org/) - A tool for creating and managing isolated PHP environments. ### Development Environment *Software and tools for creating a sandboxed development environment.* * [Ansible](https://www.ansible.com/) - A radically simple orchestration framework. * [Phansible](http://phansible.com/) - A web tool for building PHP development virtual machines with Ansible. * [Protobox](https://www.getprotobox.com/) - Another web tool for building PHP development virtual machines. * [PuPHPet](https://puphpet.com/) - A web tool for building PHP development virtual machines. * [Puppet](https://puppet.com/) - A server automation framework and application. * [Vagrant](https://www.vagrantup.com/) - A portable development environment utility. * [Docker](https://www.docker.com/) - A containerization platform. ### Virtual Machines *Alternative PHP virtual machines.* * [Hack](https://hacklang.org/) - A programming language for HHVM. * [HHVM](https://github.com/facebook/hhvm) - A Virtual Machine, Runtime and JIT for PHP by Facebook. ### Text Editors and IDEs *Text Editors and Integrated Development Environments (IDE) with support for PHP.* * [Atom](https://atom.io/) - A hackable text editor. * [Atom IDE](https://ide.atom.io/) - An IDE extension for Atom. * [Eclipse for PHP Developers](https://www.eclipse.org/downloads/) - A PHP IDE based on the Eclipse platform. * [Netbeans](https://netbeans.org) - An IDE with support for PHP and HTML5. * [PhpStorm](https://www.jetbrains.com/phpstorm/) - A commercial PHP IDE. * [VS Code](https://code.visualstudio.com/) - An open source code editor. ### Web Applications *Web-based applications and tools.* * [3V4L](https://3v4l.org/) - An online PHP & HHVM shell. * [DBV](https://dbv.vizuina.com/) - A database version control application. * [PHP Queue](https://github.com/CoderKungfu/php-queue) - An application for managing queueing backends. * [MailCatcher](https://github.com/sj26/mailcatcher) - A web tool for capturing and viewing emails. * [Cachet](https://github.com/cachethq/cachet) - The open source status page system. * [phpRedisAdmin](https://github.com/ErikDubbelboer/phpRedisAdmin) - A simple web interface to manage [Redis](https://redis.io/) databases. * [phpMyAdmin](https://github.com/phpmyadmin/phpmyadmin) - A web interface for MySQL/MariaDB. * [Adminer](https://www.adminer.org/) - Database management in a single PHP file. * [Lychee](https://github.com/electerious/Lychee) - An easy to use and great looking photo-management-system. ### Infrastructure *Infrastructure for providing PHP applications and services.* * [appserver.io](https://github.com/appserver-io/appserver) - A multithreaded application server for PHP, written in PHP. * [php-pm](https://github.com/php-pm/php-pm) - A process manager, supercharger and load balancer for PHP applications. # Resources Various resources, such as books, websites and articles, for improving your PHP development skills and knowledge. ### PHP Websites *Useful PHP-related websites.* * [libs.garden: PHP](https://libs.garden/php) - An overview of fastest growing PHP libraries. * [Nomad PHP](https://nomadphp.com/) - A online PHP learning resource. * [PHP Best Practices](https://phpbestpractices.org/) - A PHP best practice guide. * [PHP FIG](https://www.php-fig.org/) - The PHP Framework Interoperability Group. * [PHP Mentoring](https://php-mentoring.org/) - Peer to peer PHP mentorship organization. * [PHP Package Development Standards](http://php-pds.com) - Package development standards for PHP. * [PHP School](https://www.phpschool.io/) - Open Source Learning for PHP. * [PHP Security](https://phpsecurity.readthedocs.io/en/latest/index.html) - A guide to PHP security. * [PHP The Right Way](https://phptherightway.com/) - A PHP best practice quick reference guide. * [PHP UG](https://php.ug) - A website to help people locate their nearest PHP user group (UG). * [PHP Versions](http://phpversions.info/) - Lists which versions of PHP are available on several popular web hosts. * [PHP Weekly](http://www.phpweekly.com/archive.html) - A weekly PHP newsletter. * [Securing PHP](https://www.securingphp.com/) - A newsletter about PHP security and library recommendations. * [Seven PHP](https://7php.com/) - A website that interviews members of the PHP community. * [PHP Annotated Monthly](https://blog.jetbrains.com/phpstorm/category/php-annotated-monthly/) - A monthly digest of PHP news. ### Other Websites *Useful websites related to web development.* * [Atlassian Git Tutorials](https://www.atlassian.com/git) - A series of Git tutorials. * [Learning Linux](https://linuxjourney.com/) - A website for learning Linux. * [Semantic Versioning](https://semver.org/) - A website explaining semantic versioning. * [Servers for Hackers](https://serversforhackers.com/) - A newsletter about server management. * [The Open Web Application Security Project (OWASP)](https://www.owasp.org/index.php/Main_Page) - An open software security community. ### PHP Books *Fantastic PHP-related books.* * [Functional Programming in PHP](https://www.functionalphp.com/) - This book will show you how to leverage these new PHP5.3+ features by understanding functional programming principles * [Grumpy PHPUnit](https://leanpub.com/grumpy-phpunit) - A book about unit testing with PHPUnit by Chris Hartjes. * [Mastering Object-Orientated PHP](https://www.brandonsavage.net/) - A book about object-orientated PHP by Brandon Savage. * [Modern PHP New Features and Good Practices](http://shop.oreilly.com/product/0636920033868.do) - A book about new PHP features and best practices by Josh Lockhart. * [Modernizing Legacy Applications in PHP](https://leanpub.com/mlaphp) - A book about modernizing legacy PHP applications by Paul M. Jones. * [PHP 7 Upgrade Guide](https://leanpub.com/php7) - An ebook covering all of the features and changes in PHP 7 by Colin O'Dell. * [PHP Pandas](https://daylerees.com/php-pandas/) - A book about learning to write PHP by Dayle Rees. * [Scaling PHP Applications](https://www.scalingphpbook.com) - An ebook about scaling PHP applications by Steve Corona. * [Securing PHP: Core Concepts](https://leanpub.com/securingphp-coreconcepts) - A book about common security terms and practices for PHP by Chris Cornutt. * [Signaling PHP](https://leanpub.com/signalingphp) - A book about catching PCNTL signals in CLI scripts by Cal Evans. * [The Grumpy Programmer's Guide to Building Testable PHP Applications](https://leanpub.com/grumpy-testing) - A book about building testing PHP applications by Chris Hartjes. * [XML Parsing with PHP](https://www.phparch.com/books/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. * [Domain-Driven Design in PHP](https://leanpub.com/ddd-in-php) - Real examples written in PHP showcasing DDD Architectural Styles. ### Other Books *Books related to general computing and web development.* * [Elasticsearch: The Definitive Guide](https://www.elastic.co/guide/index.html) - A guide to working with Elasticsearch by Clinton Gormley and Zachary Tong. * [Eloquent JavaScript](https://eloquentjavascript.net/) - A book about JavaScript programming by Marijn Haverbeke. * [Head First Design Patterns](https://www.oreilly.com/library/view/head-first-design/0596007124/) - A book that expains software design patterns. * [Pro Git](https://git-scm.com/book/en/v2) - A book about Git by Scott Chacon and Ben Straub. * [The Linux Command Line](http://linuxcommand.org/tlcl.php) - A book about the Linux command line by William Shotts. * [The Tangled Web — Securing Web Applications](https://www.amazon.com/Tangled-Web-Securing-Modern-Applications/dp/1593273886) - A book about securing web applications by Michal Zalewski. * [Understanding Computation](https://computationbook.com) - A book about computation theory by Tom Stuart. * [Vagrant Cookbook](https://leanpub.com/vagrantcookbook) - A book about creating Vagrant environments by Erika Heidi. ### PHP Videos *Fantastic PHP-related videos.* * [Nomad PHP Lightning Talks](https://www.youtube.com/c/nomadphp) - 10 to 15 minute Lightning Talks by PHP community members. * [PHP UK Conference](https://www.youtube.com/user/phpukconference/videos) - A collection of videos from the PHP UK Conference. * [Programming with Anthony](https://www.youtube.com/playlist?list=PLM-218uGSX3DQ3KsB5NJnuOqPqc5CW2kW) - A video series by Anthony Ferrara. * [Taking PHP Seriously](https://www.infoq.com/presentations/php-history/) - A talk outlining PHP's strengths by Keith Adams of Facebook. ### PHP Podcasts *Podcasts with a focus on PHP topics.* * [PHP Town Hall](https://phptownhall.com/) - A casual PHP podcast by Ben Edmunds and Phil Sturgeon. * [Voices of the ElePHPant](https://voicesoftheelephpant.com/) Interviews with the people that make the PHP community special. * [PHP Roundtable](https://www.phproundtable.com/) - The PHP Roundtable is a casual gathering of developers discussing topics that PHP nerds care about. ### PHP Reading *PHP-releated reading materials.* * [Composer Primer](https://daylerees.com/composer-primer/) - A Composer primer. * [Composer Stability Flags](https://igor.io/2013/02/07/composer-stability-flags.html) - An article about Composer stability flags. * [Composer Versioning](https://igor.io/2013/01/07/composer-versioning.html) - An article about Composer versioning. * [Create Your Own PHP Framework](http://fabien.potencier.org/create-your-own-framework-on-top-of-the-symfony2-components-part-1.html) - A series of articles on how to make your own PHP framework by Fabien Potencier. * [Don't Worry About BREACH](https://blog.ircmaxell.com/2013/08/dont-worry-about-breach.html) - An article about the BREACH hack and CSRF tokens. * [On PHP 5.3, Lambda Functions and Closures](http://fabien.potencier.org/on-php-5-3-lambda-functions-and-closures.html) - An article about lambda functions and closures. * [PHP Is Much Better Than You Think](http://fabien.potencier.org/php-is-much-better-than-you-think.html) - An article about the PHP language and ecosystem. * [PHP Package Checklist](https://phppackagechecklist.com/) - A checklist for successful PHP package development. * [PHP Sucks! But I Like It!](https://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html) - An article about the pros and cons of PHP. * [Preventing CSRF Attacks](https://blog.ircmaxell.com/2013/02/preventing-csrf-attacks.html) - An article on preventing CSRF attacks. * [Seven Ways to Screw Up BCrypt](https://blog.ircmaxell.com/2012/12/seven-ways-to-screw-up-bcrypt.html) - An article about correct BCrypt implementation. * [The 2018 Guide to Building Secure PHP Software](https://paragonie.com/blog/2017/12/2018-guide-building-secure-php-software) - A guide to building secure PHP software. * [Use Env](https://seancoates.com/blogs/use-env/) - An article about using the unix environment helper. ### PHP Internals Reading *Reading materials related to the PHP internals or performance.* * [Disproving the Single Quotes Myth](https://nikic.github.io/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html) - An article about performance of single and double quoted strings. * [How Big Are PHP Arrays (And Values) Really?](https://nikic.github.io/2011/12/12/How-big-are-PHP-arrays-really-Hint-BIG.html) - An article about array internals. * [How Foreach Works](https://stackoverflow.com/questions/10057671/how-does-php-foreach-actually-work/14854568#14854568) - A detailed StackOverflow answer about foreach. * [How Long is a Piece of String](http://blog.golemon.com/2006/06/how-long-is-piece-of-string.html) - An article about string internals. * [PHP Evaluation Order](https://gist.github.com/nikic/6699370) - An article about evaluation order in PHP. * [PHP Internals Book](http://www.phpinternalsbook.com) - An online book about PHP internals, written by three core developers. * [PHP RFCs](https://wiki.php.net/rfc) - The home of PHP RFCs (Request for Comments). * [Print vs Echo, Which One is Faster?](http://fabien.potencier.org/print-vs-echo-which-one-is-faster.html) - An article about print and echo performance. * [The PHP Ternary Operator. Fast or Not?](http://fabien.potencier.org/the-php-ternary-operator-fast-or-not.html) - An article ternary performance. * [Understanding OpCodes](http://blog.golemon.com/2008/01/understanding-opcodes.html) - An article about opcodes. * [When Does Foreach Copy?](https://nikic.github.io/2011/11/11/PHP-Internals-When-does-foreach-copy.html) - An article about the internals of foreach. * [Why Objects (Usually) Use Less Memory Than Arrays](https://gist.github.com/nikic/5015323) - An article about object and array internals. * [You're Being Lied To](http://blog.golemon.com/2007/01/youre-being-lied-to.html) - An article about internal ZVALs. * Collecting Garbage: [1](https://secure.php.net/manual/en/features.gc.refcounting-basics.php) [2](https://secure.php.net/manual/en/features.gc.collecting-cycles.php) [3](https://secure.php.net/manual/en/features.gc.performance-considerations.php) - A series about the PHP garbage collection internals. * PHP Source Code for Developers: [1](https://blog.ircmaxell.com/2012/03/phps-source-code-for-php-developers.html) [2](https://nikic.github.io/2012/03/16/Understanding-PHPs-internal-function-definitions.html) [3](https://blog.ircmaxell.com/2012/03/phps-source-code-for-php-developers_21.html) [4](https://nikic.github.io/2012/03/28/Understanding-PHPs-internal-array-implementation.html) - A series about the PHP source code. ### PHP Magazines *Fantastic PHP-related magazines.* * [php[architect]](https://www.phparch.com/magazine/) - A monthly magazine dedicated to PHP.