# php-learning-resources **Repository Path**: jasonRzp/php-learning-resources ## Basic Information - **Project Name**: php-learning-resources - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-05 - **Last Updated**: 2026-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Learning Resources > Valuable communities, blogs, websites, articles, books, videos, and other resources related to PHP - **PHP Websites** - [PHP The Right Way](https://phptherightway.com/) - A quick reference guide to PHP best practices - [PHP Best Practices](https://phpbestpractices.org/) - PHP best practices - [Clean Code PHP](https://github.com/jupeter/clean-code-php) - PHP coding standards - [PHP Weekly News](http://www.phpweekly.com/archive.html) - PHP weekly newsletter archive - [Securing PHP](http://securingphp.com/) - Resources on PHP security - [PHP FIG](https://www.php-fig.org/) - PHP Framework Interoperability Group - [PSR Chinese Translation](https://psr.phphub.org) - [PHP School](https://www.phpschool.io/) - Open-source PHP learning resources - [PHPTrends](https://phptrends.com/) - Search for rapidly growing PHP libraries - [PHP Developer Prepares](https://ryancao.gitbooks.io/php-developer-prepares/content/) - PHP developer practices - **Recommended Articles** - [The 2018 Guide to Building Secure PHP Software](https://paragonie.com/blog/2017/12/2018-guide-building-secure-php-software) - Chinese translation: [2018 PHP Application Security Design Guide](https://laravel-china.org/articles/7235/2018-php-application-security-design) - [advanced-php](https://github.com/elarity/advanced-php) - Articles on PHP multiprocessing, sockets, etc. - [LEARN REGEX THE EASY WAY](https://github.com/ziishaned/learn-regex/blob/master/translations/README-cn.md) - Learning regular expressions - **Other Websites** - [The Open Web Application Security Project (OWASP)](https://owasp.org/) - Open-source web application security community - [WebSec IO](https://websec.io/) - Web security community - [Semantic Versioning](https://semver.org/) - Semantic versioning (Chinese version available) - [Atlassian Git Tutorials](https://www.atlassian.com/git/) - Series of Git tutorials - [Servers for Hackers](https://serversforhackers.com/) - Server operations and maintenance resources - [be-a-professional-programmer](https://github.com/stanzhai/be-a-professional-programmer) - Resources, tools, and frameworks for becoming a professional programmer - [PHP Security Advisories Database](https://github.com/FriendsOfPHP/security-advisories) - Database of PHP security advisories - **PHP Books** - [Modern PHP](https://www.oreilly.com/library/view/modern-php/9781491905173/) - By the initiator of PHP The Right Way and author of Slim framework - [Modern PHP (Chinese Edition)](http://about.ac/books/modern-php/) - [PHP Pandas](https://daylerees.com/php-pandas/) - [ppts_for_php2017](https://github.com/devlinkcn/ppts_for_php2017) - PPTs/Keynotes from the 2017 Third Global PHP Developers Conference - [PHP-Data-Structure-and-Algorithms](https://github.com/mirahman/PHP-Data-Structure-and-Algorithms) - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) - PHP design patterns - [DesignPatternsPHP (Chinese Edition)](https://laravel-china.org/docs/php-design-patterns/2018) - **Other Books** - [The Linux Command Line](http://linuxcommand.org/) - Linux command line tutorial - [architecture.of.internet-product](https://github.com/davideuler/architecture.of.internet-product) - Technical architecture of internet companies - [architect-awesome](https://github.com/xingshaocheng/architect-awesome) - Backend architect technology roadmap --- ## Dependency Management > Packages and frameworks for dependency management - [Composer](https://getcomposer.org/) / [Packagist](https://packagist.org/) - Package and dependency manager - [composer/installers](https://github.com/composer/installers) - Multi-framework Composer library installer - [hirak/prestissimo](https://github.com/hirak/prestissimo) - Parallel installation of Composer dependencies - [composer/satis](https://github.com/composer/satis) - Build private Composer package repositories - [FriendsOfPHP/pickle](https://github.com/FriendsOfPHP/pickle) - PHP extension installer - [Melody](http://melody.sensiolabs.org/) - Tool to build one-file Composer scripts - [tommy-muehle/tooly-composer-script](https://github.com/tommy-muehle/tooly-composer-script) - Library for managing PHAR files with Composer ## Frameworks > Web development frameworks - [laravel/laravel](https://github.com/laravel/laravel) - Elegant and simple PHP web development framework - [symfony/symfony](https://github.com/symfony/symfony) - Framework composed of independent components (Symfony) - [yiisoft/yii2](https://github.com/yiisoft/yii2/) - High-performance PHP framework for developing large web applications - [cakephp/cakephp](https://github.com/cakephp/cakephp/) - Efficient application development framework (CakePHP) - [phalcon/cphalcon](https://github.com/phalcon/cphalcon) - High-performance C extension framework - [Yaf](https://www.php.net/manual/en/book.yaf.php) - C extension framework by Laruence - [overtrue/yaf-skeleton](https://github.com/overtrue/yaf-skeleton) - Testable Yaf skeleton with Composer support - [swoole](https://github.com/swoole/swoole-src) - Production-grade PHP asynchronous network communication engine - [SwooleDistributed/SwooleDistributed](https://github.com/SwooleDistributed/SwooleDistributed) - Swoole distributed full-stack framework - [swoft-cloud/swoft](https://github.com/swoft-cloud/swoft) - Next-generation high-performance PHP coroutine framework based on Swoole https://www.swoft.org - [hyperf/hyperf](https://github.com/hyperf/hyperf) - Enterprise-level PHP coroutine microservices framework - [mixphp/mix](https://github.com/mixstart/mixphp) - High-performance PHP framework with FPM, resident memory, and coroutine modes based on Swoole (well-documented) http://mixphp.cn - [hhxsv5/laravel-s](https://github.com/hhxsv5/laravel-s) - Integrate Swoole into Laravel or Lumen - [swooletw/laravel-swoole](https://github.com/swooletw/laravel-swoole) - High-performance HTTP server based on Swoole to accelerate Laravel/Lumen applications - [scil/LaravelFly](https://github.com/scil/LaravelFly) - Safe solution to run Laravel with Swoole coroutines + Tinker online - [garveen/laravoole](https://github.com/garveen/laravoole) - Laravel with Swoole or Workerman for 10x faster performance than php-fpm - [easyswoole/easyswoole](https://github.com/easy-swoole/easyswoole) - Use Swoole easily like echo "hello world" - [bingcool/swoolefy](https://github.com/bingcool/swoolefy) - Lightweight, high-performance, coroutine-level, open API and MVC application service framework based on Swoole - [youzan/zan](https://github.com/youzan/zan) - Youzan open-source PHP framework (maintenance stopped) - [php-msf](https://github.com/pinguo/php-msf) - Camera360 open-source microservices framework - [Biny](https://github.com/Tencent/Biny) - Tencent open-source high-performance lightweight PHP framework - [zendframework/zendframework](https://github.com/zendframework/zendframework) - Zend framework ## Components - [auraphp](https://github.com/auraphp) - Collection of independent component packages - [Hoa Project](https://hoa-project.net/) - Collection of PHP components - [andersao/l5-repository](https://github.com/andersao/l5-repository) - Support for Repository development pattern ## Configuration > Libraries and extensions for loading configuration files - [Yaconf](https://github.com/laruence/yaconf) - High-performance configuration management extension - [config](https://github.com/hassankhan/config) - Lightweight configuration loader supporting PHP, INI, XML, JSON, YAML files - [Zend-config](https://github.com/zendframework/zend-config) - [phpdotenv](https://github.com/vlucas/phpdotenv) - Load global highest-priority variables from .env - [symfony/yaml](https://github.com/symfony/yaml) - Load and dump YAML configuration files ## Micro Frameworks > Micro frameworks and routers - [Lumen](https://lumen.laravel.com/) - Micro framework based on Laravel - [Silex](https://silex.symfony.com/) - Micro framework based on Symfony components - [Silex Skeleton](https://github.com/silexphp/Silex-Skeleton) - Project skeleton for Silex - [Silex Web Profiler](https://github.com/silexphp/Silex-WebProfiler) - Web debug toolbar for Silex - [Slim](https://www.slimframework.com/) - Another simple micro framework - [awesome-slim](https://github.com/xssc/awesome-slim) - [Slim Skeleton](https://github.com/slimphp/Slim-Skeleton) - Skeleton for Slim - [Slim View](https://github.com/slimphp/Slim-Views) - Custom view collection for Slim - [Slim Middleware](https://github.com/slimphp/Slim-Middleware) - Custom middleware collection for Slim - [slim-skeleton](https://github.com/JingwenTian/slim-skeleton) - MVC implementation with components on Slim - [slim-boilerplate](https://github.com/damianopetrungaro/slim-boilerplate) - [Bullet PHP](https://bulletphp.com/) - Micro framework for building REST APIs - [Proton](https://github.com/alexbilbie/Proton) - Micro PHP framework - [blink](https://github.com/bixuehujin/blink) - High-performance web micro framework for building long-running services - [flight](https://flightphp.com/) - Extensible PHP micro framework ## Routers - [Fast Route](https://github.com/nikic/FastRoute) - Efficient routing library - [Route](https://github.com/thephpleague/route) - Routing library based on Fast Route - [Pux](https://github.com/c9s/Pux) - Another efficient routing library - [Klein](https://github.com/klein/klein.php) - Flexible routing library - [Macaw](https://github.com/NoahBuscher/Macaw) - Simple, fast, and sexy PHP router ## Templating > Libraries and tools for templating and lexing - [Twig](https://twig.symfony.com/) - Comprehensive templating language - [asm89/twig-cache-extension](https://github.com/asm89/twig-cache-extension) - Template fragment caching library for Twig - [rcrowe/TwigBridge](https://github.com/rcrowe/TwigBridge) - Twig template engine support - [Mustache](https://github.com/bobthecow/mustache.php) - Mustache template language implemented in PHP - [Phly Mustache](https://github.com/weierophinney/phly_mustache) - Another Mustache implementation in PHP - [MtHaml](https://github.com/arnaud-lb/MtHaml) - HAML template language implemented in PHP - [PHPTAL](https://phptal.org/) - TAL template language implemented in PHP - [Plates](http://platesphp.com/) - Native PHP template library - [Lex](https://github.com/pyrocms/lex) - Lightweight template parser - [Aura.View](https://github.com/auraphp/Aura.View) - Provides TemplateView and TwoStepView ## Static Site Generators > Pre-processing tools for generating web page content - [Sculpin](https://sculpin.io/) - Tool to convert Markdown and Twig to static HTML - [Phrozn](http://phrozn.info/) - Tool to convert Textile, Markdown, and Twig to HTML - [Spress](http://spress.yosymfony.com/) - [Couscous](http://couscous.io/) - Tool to convert Markdown documentation to HTML for publishing on GitHub Pages ## HTTP > Libraries for HTTP and web scraping - [guzzle/guzzle](https://github.com/guzzle/guzzle) - Full-featured HTTP client - [amphp/artax](https://github.com/amphp/artax) - Asynchronous HTTP client for PHP - [Buzz](https://github.com/kriswallsmith/Buzz) - Another HTTP client - [Requests](https://github.com/WordPress/Requests) - Simple HTTP library - [HTTPFul](https://github.com/nategood/httpful) - Chainable HTTP client - [FriendsOfPHP/Goutte](https://github.com/FriendsOfPHP/Goutte) - Simple web scraper - [PHP VCR](https://php-vcr.github.io/) - Library for recording and replaying HTTP requests - [php-curl-class](https://github.com/php-curl-class/PHP-Curl-Class) - PHP Curl class - [Beanbun](https://github.com/kiddyuchina/Beanbun) - Multi-process web crawler framework - [php-mod/curl](https://github.com/php-mod/curl) - PHP Curl Class - [medz/cors](https://github.com/medz/cors) - PHP CORS (Cross-origin resource sharing) middleware - [barryvdh/laravel-cors](https://github.com/barryvdh/laravel-cors) - Cross-origin resource sharing support ## SOAP - [soap-client](https://github.com/phpro/soap-client) - General-purpose SOAP client for PHP - [soap-client](https://github.com/goetas-webservices/soap-client) - PHP implementation of SOAP 1.1 and 1.2 client specifications - [wsdl2phpgenerator](https://github.com/wsdl2phpgenerator/wsdl2phpgenerator) - Utility and class library for generating PHP classes from WSDL files - [laravel-soap](https://github.com/artisaninweb/laravel-soap) - SOAP protocol client ## Middlewares > Middleware libraries for building applications ## URL > Libraries for parsing URLs - [Purl](https://github.com/jwage/purl) - URL manipulation library - [PHP Domain Parser](https://github.com/jeremykendall/php-domain-parser) - Public suffix list-based domain parser - [Uri](https://github.com/thephpleague/uri) - Simple URL manipulation library ## Email > Libraries for sending and parsing emails - [swiftmailer/swiftmailer](https://github.com/swiftmailer/swiftmailer) - Email solution - [PHPMailer/PHPMailer](https://github.com/PHPMailer/PHPMailer) - Another email solution - [nette/mail](https://github.com/nette/mail) - Simple and elegant email sending module - [tedivm/Fetch](https://github.com/tedivm/Fetch) - IMAP library - [willdurand/EmailReplyParser](https://github.com/willdurand/EmailReplyParser) - Email reply parser library - [henrikbjorn/Stampie](https://github.com/henrikbjorn/Stampie) - Library for email services like SendGrid, PostMark, MailGun, Mandrill - [tijsverkoyen/CssToInlineStyles](https://github.com/tijsverkoyen/CssToInlineStyles) - Inline CSS library for email templates - [nojacko/email-validator](https://github.com/nojacko/email-validator) - Small email validation library - [egulias/EmailValidator](https://github.com/egulias/EmailValidator) - PHP email validator library - [Snowfire/Beautymail](https://github.com/Snowfire/Beautymail) - Laravel HTML email templates ## Files > File handling and MIME type detection - [symfony/finder](https://github.com/symfony/finder) - Find files and directories with intuitive interface - [Gaufrette](https://github.com/KnpLabs/Gaufrette) - Filesystem abstraction layer - [thephpleague/flysystem](https://github.com/thephpleague/flysystem) - Another filesystem abstraction layer - [Canal](https://github.com/dflydev/dflydev-canal) - Internet media type detection library - [Apache MIME Types](https://github.com/dflydev/dflydev-apache-mime-types) - Apache MIME types parser library - [Ferret](https://github.com/versionable/Ferret) - MIME detection library - [Hoa Mime](https://github.com/hoaproject/Mime) - Another MIME detection library - [Lurker](https://github.com/henrikbjorn/Lurker) - Resource tracking library - [PHP File Locator](https://github.com/herrera-io/php-file-locator) - File locator in large projects - [PHP FFmpeg](https://github.com/PHP-FFmpeg/PHP-FFmpeg) - FFmpeg video wrapper library - [GrahamCampbell/Laravel-Flysystem](https://github.com/GrahamCampbell/Laravel-Flysystem) - Filesystem operations with multi-platform support ## Streams > Libraries for handling streams - [Streamer](https://github.com/fzaninotto/Streamer) - Simple object-oriented stream wrapper library ## Dependency Injection > Libraries implementing dependency injection pattern - [Pimple](https://pimple.symfony.com/) - Small dependency injection container - [container-interop](https://github.com/container-interop/container-interop) - Containers interoperability - [Auryn](https://github.com/rdlowrey/Auryn) - Another small dependency injection container - [Container](https://github.com/thephpleague/container) - Flexible dependency injection container - [PHP DI](https://php-di.org/) - Dependency injection using annotations - [Acclimate](https://github.com/jeremeamia/acclimate-container) - Common interface for dependency injection containers and service locators - [Symfony DI](https://github.com/symfony/dependency-injection) - Dependency injection component (Symfony) - [Twittee](https://github.com/fabpot/twittee) - [simple di container](https://github.com/laracasts/simple-di-container) - [Ding](https://github.com/marcelog/Ding) - [di](https://github.com/yiisoft/di) - Yii DI container and injector ## Imagery > Libraries for image processing - [Intervention/image](http://image.intervention.io/) - Image manipulation library - [Intervention/imagecache](https://github.com/Intervention/imagecache) - Image caching enhancement tool - [Imagine](https://imagine.readthedocs.io/) - Image processing library - [Sybio/ImageWorkshop](https://github.com/Sybio/ImageWorkshop) - Another image processing library - [Sybio/GifFrameExtractor](https://github.com/Sybio/GifFrameExtractor) - Library for extracting GIF animation frame information - [Sybio/GifCreator](https://github.com/Sybio/GifCreator) - Library for creating GIF animations from multiple images - [nmcteam/image-with-text](https://github.com/nmcteam/image-with-text) - Library for embedding text in images - [php-loep/color-extractor](https://github.com/php-loep/color-extractor) - Library for extracting colors from images - [thephpleague/glide](https://github.com/thephpleague/glide) - On-demand image manipulation library - [psliwa/image-optimizer](https://github.com/psliwa/image-optimizer) - Image optimization library - [PHPThumb](https://github.com/masterexploder/PHPThumb) - Thumbnail processing library - [t0k4rt/phpqrcode](https://github.com/t0k4rt/phpqrcode) - QR code generation library - [endroid/qr-code](https://github.com/endroid/qr-code) - Another QR code generation library - [Bacon/BaconQrCode](https://github.com/Bacon/BaconQrCode) - QR Code Generator for PHP - [SimpleSoftwareIO/simple-qrcode](https://github.com/SimpleSoftwareIO/simple-qrcode) - QR code generation tool - [lsolesen/pel](https://github.com/lsolesen/pel) - PHP Exif library - [php-exif](https://github.com/PHPExif/php-exif) - PHP Exif information reading library - [Gregwar/Image](https://github.com/Gregwar/Image) - Image processing library - [Gregwar/Captcha](https://github.com/Gregwar/Captcha) - Graphical captcha - [google/recaptcha](https://github.com/google/recaptcha) - Google reCAPTCHA client library - [mewebstudio/captcha](https://github.com/mewebstudio/captcha) - Image captcha solution ## Testing > Libraries for testing code and generating test data - [PHPUnit](https://github.com/sebastianbergmann/phpunit) - Unit testing framework - [DBUnit](https://github.com/sebastianbergmann/dbunit) - Code testing library for PHPUnit - [ParaTest](https://github.com/brianium/paratest) - Parallel testing library for PHPUnit - [PHPSpec](https://github.com/phpspec/phpspec) - Specification-based unit testing library - [Codeception](https://github.com/Codeception/Codeception) - Full-stack testing framework - [AspectMock](https://github.com/Codeception/AspectMock) - Mocking framework for PHPUnit/Codeception - [Atoum](https://github.com/atoum/atoum) - Simple testing library - [Mockery](https://github.com/mockery/mockery) - Mock object library for testing - [Phake](https://github.com/phake/phake) - Another mock object library for testing - [Prophecy](https://github.com/phpspec/prophecy) - Powerful mocking framework - [Faker](https://github.com/fzaninotto/Faker) - Fake data generation library - [Samsui](https://github.com/mauris/samsui) - Another fake data generation library - [Alice](https://github.com/nelmio/alice) - Library for generating complex data - [Behat](https://behat.org/) - Behavior-driven development (BDD) testing framework - [Pho](https://github.com/danielstjules/pho) - Another BDD testing framework - [Mink](https://minkphp.github.io/) - Web acceptance testing - [HTTP Mock](https://github.com/InterNations/http-mock) - Library for mocking HTTP requests in unit tests - [VFS Stream](https://github.com/bovigo/vfsStream) - Virtual filesystem stream wrapper for testing - [VFS](https://github.com/adlawson/vfs.php) - Another virtual filesystem for testing - [Locust](https://locust.io/) - Modern load testing library developed in Python - [Peridot](https://github.com/peridot-php/peridot) - Event-driven testing framework - [SimpleTest](https://github.com/simpletest/simpletest) - Unit Testing for PHP - [testbench](https://github.com/orchestral/testbench) - Unit testing tool for Laravel packages - [laracasts/TestDummy](https://github.com/laracasts/TestDummy) - Fake data creation tool by Laracasts ## Continuous Integration > Libraries and applications for continuous integration - [Travis CI](https://travis-ci.org/) - Continuous integration platform - [SemaphoreCI](https://semaphoreci.com/) - Continuous integration platform for open-source and private projects - [PHPCI](https://www.phptesting.org/) - Open-source continuous integration platform for PHP - [Sismo](http://sismo.sensiolabs.org/) - Continuous testing server library - [Jenkins](https://www.jenkins.io/) - Continuous integration platform with PHP support - [JoliCi](https://github.com/jolicode/JoliCi) - Docker-supported continuous integration client developed in PHP ## Documentation > Libraries for generating project documentation - [Sami](https://github.com/FriendsOfPHP/Sami) - API documentation generator - [APIGen](https://github.com/ApiGen/ApiGen) - Another API documentation generator - [PHP Documentor 2](https://github.com/phpDocumentor/phpDocumentor) - Documentation generator - [phpDox](https://phpdox.de/) - Documentation generator for PHP projects (not just API) - [swagger-php](https://github.com/zircote/swagger-php) - PHP Swagger annotation and parsing library ## Security > Libraries for generating secure random numbers, encrypting data, scanning vulnerabilities, tokens - [ezyang/htmlpurifier](http://htmlpurifier.org/) - Standard-compliant HTML filter - [random_compat](https://github.com/paragonie/random_compat) - Library for generating secure random numbers in PHP 5.x (PHP 7 has built-in `random_bytes()` and `random_int()`) - [RandomLib](https://github.com/ircmaxell/RandomLib) - Library for generating random numbers and strings - [True Random](https://github.com/pixeloution/true-random) - Library using www.random.org for random numbers - [SecurityMultiTool](https://github.com/padraic/SecurityMultiTool) - PHP security library - [PHPSecLib](https://github.com/phpseclib/phpseclib) - Pure PHP secure communication library - [TCrypto](https://github.com/timoh6/TCrypto) - Simple key-value encryption storage library - [PHP IDS](https://github.com/PHPIDS/PHPIDS) - Structured PHP security layer - [PHP SSH](https://github.com/Herzult/php-ssh) - Object-oriented SSH wrapper library - [IniScan](https://github.com/psecio/iniscan) - Tool for scanning PHP INI files for security - [SensioLabs Security Check](https://security.symfony.com/) - Web tool for checking Composer dependencies against security advisories - [Zed](https://owasp.org/www-project-zed-attack-proxy/) - Integrated penetration testing tool for web applications - [php-ratelimiter](https://github.com/akirk/php-ratelimiter) - [xxtea-php](https://github.com/xxtea/xxtea-php) - XXTEA encryption algorithm library for PHP - [mewebstudio/Purifier](https://github.com/mewebstudio/Purifier) - Whitelist filtering for user-submitted HTML - [defuse/php-encryption](https://github.com/defuse/php-encryption) - Symmetric key encryption library - [paragonie/halite](https://github.com/paragonie/halite) - Libsodium wrapper providing advanced encryption interfaces ## Passwords > Libraries and tools for handling and storing passwords, various encodings - [ircmaxell/password_compat](https://github.com/ircmaxell/password_compat) - Compatibility library for new PHP 5.5 password functions - [phpass](http://www.openwall.com/phpass/) - Portable password hashing framework - [ircmaxell/PHP-PasswordLib](https://github.com/ircmaxell/PHP-PasswordLib) - Library for generating and verifying passwords - [ircmaxell/password-policy](https://github.com/ircmaxell/password-policy) - Password policy library for PHP and JavaScript - [jeremykendall/password-validator](https://github.com/jeremykendall/password-validator) - Library for validating and upgrading password hashes - [bjeavons/zxcvbn-php](https://github.com/bjeavons/zxcvbn-php) - PHP password strength estimation library based on Zxcvbn JS - [timoh6/GenPhrase](https://github.com/timoh6/GenPhrase) - Library for generating secure random passphrases - [tuupola/base62](https://github.com/tuupola/base62) - Base62 encoding library (short URL applications) - [stephen-hill/base58php](https://github.com/stephen-hill/base58php) - Base58 encoding library (unique encoding used in Bitcoin for wallet addresses) - [base85](https://github.com/tuupola/base85) - Base85 encoding library (further compression on base64, used in Adobe PostScript and PDF) - [bjeavons/zxcvbn-php](https://github.com/bjeavons/zxcvbn-php) - Password strength evaluation library (stronger passwords are harder to crack) ## Code Analysis > Tools for analyzing, parsing, and manipulating code - [PHP Parser](https://github.com/nikic/PHP-Parser) - PHP parser written in PHP - [PHPPHP](https://github.com/ircmaxell/PHPPHP) - PHP virtual machine implemented in PHP - [PHPSandbox](https://github.com/fieryprophet/php-sandbox) - PHP sandbox environment - [Dissect](https://github.com/jakubledl/dissect) - Set of lexical and syntactic analysis tools - [PHP Mess Detector](https://phpmd.org/) - Library for scanning code bugs, suboptimal code, and unused parameters - [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) - PHP/CSS/JS code standards and quality checker - [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) - PHP code standards and quality fixer - [phpmd](https://github.com/phpmd/phpmd) - PHP code standards and quality checker - [PHPCPD](https://github.com/sebastianbergmann/phpcpd) - Library for detecting copy-paste code - [PHP Analyser](https://github.com/scrutinizer-ci/php-analyzer) - Library for analyzing errors in PHP code - [PHP Manipulator](https://github.com/schmittjoh/php-manipulator) - Library for analyzing and modifying PHP source code - [PHP Metrics](https://github.com/phpmetrics/PhpMetrics) - Static metrics library - [PHP Refactoring Browser](https://github.com/QafooLabs/php-refactoring-browser) - Command-line tool for refactoring PHP code - [php-semver-checker](https://github.com/tomzx/php-semver-checker) - Semantic version comparison command-line tool - [UBench](https://github.com/devster/ubench) - Simple micro-benchmark library - [Athletic](https://github.com/polyfractal/athletic) - Annotation-based benchmark library - [Mondrian](https://github.com/Trismegiste/Mondrian) - Code analysis tool using graph theory - [Scrutinizer](https://scrutinizer-ci.com/) - Web tool for checking PHP code - [PHPLOC](https://github.com/sebastianbergmann/phploc) - Quick tool for evaluating PHP project size - [PHPCheckstyle](https://github.com/jbrooksuk/phpcheckstyle) - Tool for adhering to specific code rules - [PhpDependencyAnalysis](https://github.com/mamuz/PhpDependencyAnalysis) - Tool for creating customizable dependency graphs - [Code Climate](https://codeclimate.com/) - Automated code review - [PHP Error](https://github.com/JosephLenton/PHP-Error) - Better PHP error reporting for development debugging - [psalm](https://github.com/vimeo/psalm) - Static analysis tool to identify potential bugs - [phan](https://github.com/phan/phan) - Static code analysis tool - [phpstan](https://github.com/phpstan/phpstan) - Static code analysis tool - [PHPLint](https://github.com/overtrue/phplint) - PHP file syntax checker (multi-process, based on `php -l`) ## Architectural > Libraries related to design patterns, programming paradigms, and code organization - [PHP Option](https://github.com/schmittjoh/php-option) - PHP option type library - [Ruler](https://github.com/bobthecow/Ruler) - Simple stateless production rule engine - [Finite](https://yohan.giarel.li/Finite) - Simple PHP finite state machine - [Compose](https://github.com/igorw/compose) - Function composition library - [Monad PHP](https://github.com/ircmaxell/monad-php) - Simple Monad library - [Patchwork](https://antecedent.github.io/patchwork/) - Library for redefining user functions - [Galapagos](https://github.com/endel/galapagos) - Language evolution - [Design Patterns PHP](https://github.com/domnikl/DesignPatternsPHP) - Design pattern examples implemented in PHP - [Functional PHP](https://github.com/lstrojny/functional-php) - Functional programming library - [Lib Accessor](https://github.com/phine/lib-accessor) - Library for simplifying access - [Iter](https://github.com/nikic/iter) - Library providing iteration primitives using generators - [laracasts/Laravel-5-Generators-Extended](https://github.com/laracasts/Laravel-5-Generators-Extended) - Code generation tool by Laracasts - [symfony/workflow](https://github.com/symfony/workflow) - Workflow component tools for managing workflows or finite state machines ## Debugging and Profiling > Libraries and tools for debugging code - [xDebug](https://xdebug.org/) - PHP debugging and profiling tool - [whoops](https://github.com/filp/whoops) - [PHP Debug Bar](https://phpdebugbar.com/) - Debugging toolbar - [PHP Console](https://github.com/barbushin/php-console) - Web debugging console - [Barbushin PHP Console](https://github.com/barbushin/php-console) - Web debugging tool using Google Chrome - [PHPDBG](https://phpdbg.com/) - Interactive PHP debugger - [Tracy](https://tracy.nette.org/) - Simple error detection, logging, and timing library - [Z-Ray](https://www.zend.com/products/z-ray) - Debugging and profiling tool - [xHprof](https://github.com/tideways/php-xhprof-extension) - Facebook open-source PHP performance profiling tool - [xhprof](https://github.com/longxinH/xhprof) - Community fork supporting PHP7 - [xhprof.io](https://github.com/EvaEngine/xhprof.io) - UI for saving and displaying xhprof data - [xhgui](https://github.com/perftools/xhgui) - Another UI for xhprof data - [Blackfire.io](https://blackfire.io/) - Low-overhead code profiler - [Kint](https://kint-php.github.io/) - Debugging and profiling tool - [phptrace](https://github.com/Qihoo360/phptrace) - 360 open-source PHP execution tracing tool - [php-apm](https://github.com/patrickallaert/php-apm) - Application performance management for PHP - [BooBoo](https://github.com/thephpleague/booboo) - Centralized exception handling - [Collision](https://github.com/nunomaduro/collision) - Error handler framework for CLI PHP applications - [symfony/debug](https://github.com/symfony/debug) - PHP debug library - [Molten](https://github.com/chuan-yun/Molten) - Transparent application link tracing tool (PHP extension) - [laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) - Laravel debugger - [itsgoingd/clockwork](https://github.com/itsgoingd/clockwork) - Debugging tool with Chrome plugin - [GrahamCampbell/Laravel-Exceptions](https://github.com/GrahamCampbell/Laravel-Exceptions) - Error exception handling tool (supports dev and prod, uses Whoops for display) ## Build Tools > Project build and automation tools - [Go](https://github.com/herrera-io/php-go) - Simple PHP build tool - [Bob](https://github.com/CHH/bob) - Simple project automation tool - [Phake](https://github.com/jaz303/phake) - PHP clone library - [Box](https://github.com/box-project/box) - Tool for building PHAR files - [Phing](https://www.phing.info/) - PHP project build system based on Apache Ant ## Task Runners > Libraries for automating task execution - [Task](https://taskphp.github.io/) - Pure PHP task runner based on Grunt and Gulp - [Robo](https://robo.li/) - Object-oriented PHP task runner - [Bldr](https://bldr.io/) - PHP task runner built on Symfony components ## Navigation > Tools for building navigation structures - [KnpMenu](https://github.com/KnpLabs/KnpMenu) - Menu library - [Cartographer](https://github.com/tackk/cartographer) - Sitemap generation library ## Asset Management > Tools for managing, compressing, and minifying website assets - [kriswallsmith/assetic](https://github.com/kriswallsmith/assetic) - Asset pipeline library - [CHH/pipe](https://github.com/CHH/pipe) - Another asset pipeline library - [meenie/munee](https://github.com/meenie/munee) - Asset optimization library - [tedivm/JShrink](https://github.com/tedivm/JShrink) - JavaScript minification library - [webmozart/puli](https://github.com/webmozart/puli) - Library for detecting absolute paths of resources - [Chumper/Zipper](https://github.com/Chumper/Zipper) - ZIP packaging tool (based on ZipArchive) - [HTMLMin/Laravel-HTMLMin](https://github.com/HTMLMin/Laravel-HTMLMin) - HTML compression tool based on minify ## Geolocation > Libraries for geocoding addresses with latitude and longitude - [geocoder-php/Geocoder](https://github.com/geocoder-php/Geocoder) - Geolocation toolset (based on Geocoder) - [php-loep/Geotools](https://github.com/thephpleague/geotools) - Geo-related tools library - [mjaschen/phpgeo](https://github.com/mjaschen/phpgeo) - Simple geo library - [jmikola/geojson](https://github.com/jmikola/geojson) - GeoJSON implementation - [laravel-geoip](https://github.com/Torann/laravel-geoip) - Get geographic location from IP (GeoIP database) - [lionsoul2014/ip2region](https://github.com/lionsoul2014/ip2region) - IP address location library - [maxmind/GeoIP2-php](https://github.com/maxmind/GeoIP2-php) - GeoIP database PHP client ## Date and Time > Libraries for handling dates and times - [Carbon](https://carbon.nesbot.com/) - Simple date/time API extension - [ExpressiveDate](https://github.com/jasonlewis/expressive-date) - Another date/time API extension - [CalendR](https://yohan.giarel.li/CalendR) - Calendar management library - [date](https://github.com/jenssegers/date) - Multilingual date library - [moment.php](https://github.com/fightbulc/moment.php) ## Event > Libraries for event-driven or non-blocking event loops - [React](https://reactphp.org/) - Event-driven non-blocking I/O library - [Rx.PHP](https://github.com/ReactiveX/RxPHP) - Reactive extensions library - [phpsocket.io](https://github.com/walkor/phpsocket.io) - [Ratchet](https://github.com/ratchetphp/Ratchet) - WebSocket library - [Hoa WebSocket](https://github.com/hoaproject/Websocket) - Another WebSocket library - [Elephant.io](https://github.com/Wisembly/Elephant.io) - Another WebSocket library - [Hoa EventSource](https://github.com/hoaproject/Eventsource) - EventSource library - [Evenement](https://github.com/igorw/evenement) - Event dispatcher library - [Event](https://github.com/thephpleague/event) - Event package for apps/domains - [Cake Event](https://github.com/cakephp/event) - Event dispatcher class library - [Broadway](https://github.com/broadway/broadway) - Event sourcing and CQRS library ## Logging > Libraries for generating and handling log files - [Monolog](https://github.com/Seldaek/monolog) - Comprehensive logging library - [KLogger](https://github.com/katzgrau/KLogger) - Easy-to-use PSR-3 logger - [Analog](https://github.com/jbroadway/analog) - Micro logging package using closures - [SeasLog](https://github.com/Neeke/SeasLog) - Efficient logging extension - [rap2hpoutre/laravel-log-viewer](https://github.com/rap2hpoutre/laravel-log-viewer) - Convenient page-based log viewer tool ## E-commerce > Libraries and applications for payments and building online e-commerce stores - [OmniPay](https://github.com/thephpleague/omnipay) - Multi-gateway payment processing framework - [omnipay-paypal](https://github.com/thephpleague/omnipay-paypal) - PayPal payment - [omnipay-wechatpay](https://github.com/lokielse/omnipay-wechatpay) - WeChat payment - [omnipay-unionpay](https://github.com/lokielse/omnipay-unionpay) - UnionPay payment - [omnipay-alipay](https://github.com/lokielse/omnipay-alipay) - Alipay payment - [omnipay-pingpp](https://github.com/phoenixg/omnipay-pingpp) - Ping++ aggregated payment - [omnipay-99bill](https://github.com/zacksleo/omnipay-99bill) - 99Bill payment - [Payum](https://github.com/Payum/Payum) - Payment abstraction library - [Sylius](https://sylius.com/) - Open-source e-commerce solution - [Thelia](https://thelia.net/) - Another open-source e-commerce solution - [Money](https://github.com/moneyphp/money) - Fowler's Money pattern implemented in PHP - [Sebastian Money](https://github.com/sebastianbergmann/money) - Library for handling currency values - [Swap](https://github.com/florianv/swap) - Exchange rate library - [yansongda/pay](https://github.com/yansongda/pay) - Elegant Alipay and WeChat payment SDK package - [paypal/PayPal-PHP-SDK](https://github.com/paypal/PayPal-PHP-SDK) - PHP SDK for PayPal RESTful APIs https://developer.paypal.com/docs/api/ - [paypal/Checkout-PHP-SDK](https://github.com/paypal/Checkout-PHP-SDK) - PHP SDK for Checkout RESTful APIs ## PDF > Libraries and software for handling PDF files - [Snappy](https://github.com/KnpLabs/snappy) - PDF and image generation library - [WKHTMLToPDF](https://github.com/mikehaertl/phpwkhtmltopdf) - Tool for converting HTML to PDF - [PHPPdf](https://github.com/psliwa/PHPPdf) - Library for converting XML to PDF and images - [phpwkhtmltopdf](https://github.com/mikehaertl/phpwkhtmltopdf) - [php-pdftk](https://github.com/mikehaertl/php-pdftk) - PDF conversion and form utility based on pdftk - [barryvdh/laravel-dompdf](https://github.com/barryvdh/laravel-dompdf) - PDF tool (based on dompdf) - [laravel-snappy](https://github.com/barryvdh/laravel-snappy) - PDF processing tool ## Office > Libraries for handling various Office suite documents - [PHPOffice/PHPWord](https://github.com/PHPOffice/PHPWord) - Word document processing library - [PHPOffice/PHPExcel](https://github.com/PHPOffice/PHPExcel) - Excel document processing library - [PHPOffice/PHPPowerPoint](https://github.com/PHPOffice/PHPPowerPoint) - PowerPoint slide processing library - [Wisembly/ExcelAnt](https://github.com/Wisembly/ExcelAnt) - Excel document manipulation library - [PHPOffice/PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) - Recommended latest PHPOffice-maintained Excel document processing library - [viest/php-ext-excel-export](https://github.com/viest/php-ext-excel-export) - PHP extension for Excel operations - [Maatwebsite/Laravel-Excel](https://github.com/SpartnerNL/Laravel-Excel) - Excel processing tool - [thephpleague/csv](https://github.com/thephpleague/csv) - CSV data manipulation library ## Database > Database interaction libraries using ORM or data mapper techniques - [Doctrine](https://www.doctrine-project.org/) - Complete DBAL and ORM - [Doctrine Extensions](https://github.com/Atlantic18/DoctrineExtensions) - Collection of Doctrine behavior extensions - [Propel](https://propelorm.org/) - Fast ORM, migration, and query library - [Eloquent](https://github.com/illuminate/database) - Laravel ORM - [baum/baum](https://github.com/etrepat/baum) - Nested Set model support - [VentureCraft/revisionable](https://github.com/VentureCraft/revisionable) - Operation logging for data models (e.g., admin logs) - [nicolaslopezj/searchable](https://github.com/nicolaslopezj/searchable) - Add search functionality to Eloquent models via Trait - [Tucker-Eric/EloquentFilter](https://github.com/Tucker-Eric/EloquentFilter) - Custom query conditions (model field filtering) - [rtconner/laravel-tagging](https://github.com/rtconner/laravel-tagging) - Add tagging functionality to Eloquent models - [LazyRecord](https://github.com/c9s/LazyRecord) - Fast ORM - [Baum](https://github.com/etrepat/baum) - Eloquent nested set - [Spot2](https://github.com/vlucas/spot2) - MySQL ORM mapper - [RedBean](https://redbeanphp.com/) - Lightweight, configurable ORM - [Pomm](https://github.com/chanmix51/Pomm) - Object model manager for PostgreSQL - [ProxyManager](https://github.com/Ocramius/ProxyManager) - Toolset for generating proxy objects for data mapping - [Cake ORM](https://github.com/cakephp/orm) - Object-relational mapper using data mapper pattern - [catfan/Medoo](https://github.com/catfan/Medoo) - Lightweight ORM for accelerating development - [auraphp/Aura.Sql](https://github.com/auraphp/Aura.Sql) - SQL database access through PDO - [EasyDB](https://github.com/paragonie/easydb) - Database abstraction layer ## Migrations > Libraries for managing database schemas, migrations, backups - [davedevelopment/phpmig](https://github.com/davedevelopment/phpmig) - Migration management library - [robmorgan/phinx](https://github.com/robmorgan/phinx) - Database migration management library - [icomefromthenet/Migrations](https://github.com/icomefromthenet/Migrations) - Another migration management library - [Doctrine Migrations](https://www.doctrine-project.org/projects/migrations.html) - Migration library for Doctrine - [Xethron/migrations-generator](https://github.com/Xethron/migrations-generator) - Export existing database tables as migrations, including indexes and foreign keys - [orangehill/iseed](https://github.com/orangehill/iseed) - Export database data as seeds - [spatie/laravel-backup](https://github.com/spatie/laravel-backup) - Data backup tool (supports compression and various filesystems) ## NoSQL > Libraries for handling NoSQL backends - MongoDB - [mongo-php-library](https://github.com/mongodb/mongo-php-library) - Official MongoDB PHP library - [MongoQB](https://github.com/alexbilbie/MongoQB) - MongoDB query builder library - [Monga](https://github.com/thephpleague/monga) - MongoDB abstraction library - [mongodm](https://github.com/purekid/mongodm) - MongoDB ORM - [php-mongo](https://github.com/sokil/php-mongo) - PHP ODM for MongoDB - [jenssegers/laravel-mongodb](https://github.com/jenssegers/mongodb) - MongoDB database support - Redis - [Predis](https://github.com/predis/predis) - Full-featured Redis library - [codis](https://github.com/CodisLabs/codis) - Distributed Redis solution - [twemproxy](https://github.com/twitter/twemproxy) - Twitter open-source Redis and Memcache proxy server - [pika](https://github.com/Qihoo360/pika) - Persistent high-capacity Redis storage service ## Queue > Libraries for handling event and task queues - [enqueue-dev](https://github.com/php-enqueue/enqueue-dev) - Message queue packages for PHP, Symfony, Laravel, Magento - [enqueue/rdkafka](https://github.com/php-enqueue/rdkafka) - [enqueue/enqueue](https://github.com/php-enqueue/enqueue) - [enqueue/pheanstalk](https://github.com/php-enqueue/pheanstalk) - [enqueue/redis](https://github.com/php-enqueue/redis) - [php-enqueue/dsn](https://github.com/php-enqueue/dsn) **Queue Service Frameworks** - [Kafka](https://kafka.apache.org/) - High-throughput distributed publish-subscribe messaging system - [RabbitMQ](https://www.rabbitmq.com/) - AMQP implementation in Erlang - [RocketMQ](https://rocketmq.apache.org/) - [ActiveMQ](https://activemq.apache.org/) - [Qpid](https://qpid.apache.org/) - [Disque](https://github.com/antirez/disque) - Distributed in-memory queue - [beanstalkd](https://beanstalkd.com/) - High-performance lightweight message queue middleware **Queue-Related Libraries** - [Pheanstalk](https://github.com/pda/pheanstalk) - Beanstalkd client library - [PHP AMQP](https://github.com/php-amqplib/php-amqplib) - Pure PHP AMQP library - [Thumper](https://github.com/php-amqplib/Thumper) - RabbitMQ pattern library - [Bernard](https://github.com/bernardphp/bernard) - Multi-backend abstraction library - [php-resque](https://github.com/resque/php-resque) - Redis-based message queue - [php-amqplib](https://github.com/php-amqplib/php-amqplib) - RabbitMQ client library - [kafka-php](https://github.com/weiboad/kafka-php) - Kafka client library (Composer) - [php-rdkafka](https://github.com/arnaud-lb/php-rdkafka) - Kafka client library (PECL) ## Search > Libraries and software for indexing and querying data - [ElasticSearch PHP](https://github.com/elastic/elasticsearch-php) - Official client library for ElasticSearch - [Elastica](https://github.com/ruflin/Elastica) - Another ElasticSearch client library - [Solarium](https://www.solarium-project.org/) - Client library for Solr - [SphinxQL query builder](https://github.com/FoolCode/SphinxQL-Query-Builder) - Query library for Sphinx search engine ## Command Line > Libraries for building command-line tools - [symfony/console](https://github.com/symfony/console) - Symfony console component - [symfony/process](https://github.com/symfony/process) - Symfony process execution component (for running system commands) - [Boris](https://github.com/borisrepl/boris) - Tiny PHP REPL - [PsySH](https://github.com/bobthecow/psysh) - Another PHP REPL - [Pecan](https://github.com/mcrumm/pecan) - Event-driven non-blocking shell - [GetOpt](https://github.com/getopt-php/getopt-php) - Command-line option parser - [OptParse](https://github.com/CHH/optparse) - Another command-line option parser - [Commando](https://github.com/nategood/commando) - Simple command-line option parser - [GetOptionKit](https://github.com/c9s/php-GetOptionKit) - Yet another command-line option parser - [mtdowling/cron-expression](https://github.com/mtdowling/cron-expression) - Library for calculating cron run dates - [ShellWrap](https://github.com/MrRio/shellwrap) - Simple command-line wrapper library - [Hoa Console](https://github.com/hoaproject/Console) - Another console library - [Shunt](https://github.com/php-loep/shunt) - Library for running commands in parallel on multiple remote machines - [Cilex](https://github.com/Cilex/Cilex) - Micro-framework for building command-line tools - [CLImate](https://github.com/thephpleague/climate) - Framework for building command-line tools (supports colors and special formats) - [Webmozart Console](https://github.com/webmozart/console) - [Silly](https://github.com/mnapoli/silly) - CLI micro-framework based on Symfony Console - [php-shellcommand](https://github.com/mikehaertl/php-shellcommand) - Simple object-oriented interface for executing shell commands in PHP - [PHP-Console-Highlighter](https://github.com/JakubOnderka/PHP-Console-Highlighter) - Highlight PHP code in command line ## Crontab > Crontab management and PHP encapsulations for scheduled tasks - [Indatus/dispatcher](https://github.com/Indatus/dispatcher) - Laravel-based scheduled task management - [osgochina/swoole-crontab](https://github.com/osgochina/swoole-crontab) - Swoole-based timer supporting second-level processing - [jobbyphp/jobby](https://github.com/jobbyphp/jobby) - PHP cron job manager - [ajbdev/cronlingo](https://github.com/ajbdev/cronlingo) - Express crontabs as human-friendly phrases - [Indatus/dispatcher](https://github.com/Indatus/dispatcher) - Scheduled task dispatcher (direct replacement for Cron) ## Authentication and Authorization > Libraries implementing authentication patterns - [Sentinel](https://cartalyst.com/manual/sentinel/5.x) - Authentication and authorization framework - [Sentinel Social](https://cartalyst.com/manual/sentinel-social/2.0) - Library for social network authentication - [Opauth](https://github.com/opauth/opauth) - Supports OAuth authentication with unified access methods - [OAuth2 Server](https://oauth2.thephpleague.com/) - OAuth2 authentication server, resource server, and client library - [OAuth2 Server](https://bshaffer.github.io/oauth2-server-php-docs/) - OAuth2 server implementation - [PHP oAuthLib](https://github.com/Lusitanian/PHPoAuthLib) - Another OAuth library - [ruudk/twitteroauth](https://github.com/ruudk/TwitterOAuth) - Twitter OAuth library - [Hawk](https://github.com/dflydev/dflydev-hawk) - Hawk HTTP authentication library - [HybridAuth](https://github.com/hybridauth/hybridauth) - Open-source social login library - [Lock](https://github.com/BeatSwitch/lock) - Access Control Lists (ACL) system library - [OAuth 1.0 Client](https://github.com/thephpleague/oauth1-client) - OAuth 1.0 client library - [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client) - OAuth 2.0 client library - [Sentry](https://github.com/cartalyst/sentry) - Authentication and authorization system - [EvaOAuth](https://github.com/AlloVince/EvaOAuth) - Unified OAuth login PHP class library - [JSON Web Token](https://jwt.io/) - [firebase/php-jwt](https://github.com/firebase/php-jwt) - [lcobucci/jwt](https://github.com/lcobucci/jwt) - [namshi/jose](https://github.com/namshi/jose) - Library for JSON signing and encryption - [tuupola/slim-jwt-auth](https://github.com/tuupola/slim-jwt-auth) - [tymondesigns/jwt-auth](https://github.com/tymondesigns/jwt-auth) - JWT user authentication mechanism - [Sapient](https://github.com/paragonie/sapient) - Secure API messaging validation - [legalthings/sso](https://github.com/legalthings/sso) - Simple Single Sign-On for PHP - [antonioribeiro/google2fa](https://github.com/antonioribeiro/google2fa) - Two-factor authentication (supports Google Authenticator and HOTP) - [PHPGangsta/GoogleAuthenticator](https://github.com/PHPGangsta/GoogleAuthenticator) - Google two-factor authentication ## Permission > Role and permission control components - [spatie/laravel-permission](https://github.com/spatie/laravel-permission) - Laravel-based permission component - [Zizaco/entrust](https://github.com/Zizaco/entrust) - Role-based user permission system - [php-casbin/php-casbin](https://github.com/php-casbin/php-casbin) - PHP implementation of lightweight open-source access control framework Casbin ## Markup > Libraries for handling markup - [Decoda](https://github.com/milesj/decoda) - Lightweight markup parsing library - [michelf/php-markdown](https://github.com/michelf/php-markdown) - Markdown parser - [thephpleague/commonmark](https://github.com/thephpleague/commonmark) - Markdown parser supporting CommonMark spec - [thephpleague/html-to-markdown](https://github.com/thephpleague/html-to-markdown) - HTML to Markdown converter - [erusev/parsedown](https://github.com/erusev/parsedown) - Markdown parser - [kzykhys/Ciconia](https://github.com/kzykhys/Ciconia) - GitHub-flavored Markdown parser - [cebe/markdown](https://github.com/cebe/markdown) - Fast and extensible Markdown parser - [GrahamCampbell/Laravel-Markdown](https://github.com/GrahamCampbell/Laravel-Markdown) - Markdown parser - [Masterminds/html5-php](https://github.com/Masterminds/html5-php) - HTML5 parsing and serialization library - [heyupdate/Emoji](https://github.com/heyupdate/Emoji) - Simple emoji handling library - [iamcal/php-emoji](https://github.com/iamcal/php-emoji) - Emoji conversion library ## Strings > Libraries for parsing and manipulating strings - [jenssegers/agent](https://github.com/jenssegers/agent) - Client User Agent parser (based on MobileDetect) - [sensiolabs/ansi-to-html](https://github.com/sensiolabs/ansi-to-html) - ANSI to HTML5 converter library - [nicolas-grekas/Patchwork-UTF8](https://github.com/nicolas-grekas/Patchwork-UTF8) - Portable UTF-8 string handling library - [hoaproject/String](https://github.com/hoaproject/String) - Another UTF-8 string library - [danielstjules/Stringy](https://github.com/danielstjules/Stringy) - Multibyte-supported string manipulation library - [mikeemoo/ColorJizz-PHP](https://github.com/mikeemoo/ColorJizz-PHP) - Color handling and conversion library - [ramsey/uuid](https://github.com/ramsey/uuid) - UUID generation library - [laravel-uuid](https://github.com/webpatser/laravel-uuid) - RFC 4122 UUID generation - [cocur/slugify](https://github.com/cocur/slugify) - String to slug converter library - [jbroadway/urlify](https://github.com/jbroadway/urlify) - PHP port of Django URLify.js - [kzykhys/Text](https://github.com/kzykhys/Text) - Text processing library - [jdorn/sql-formatter](https://github.com/jdorn/sql-formatter/) - SQL statement formatting library - [tobie/ua-parser](https://github.com/ua-parser/uap-php) - User Agent string parser library - [piwik/device-detector](https://github.com/matomo-org/device-detector) - Another User Agent parser library - [serbanghita/Mobile-Detect](https://github.com/serbanghita/Mobile-Detect) - Lightweight mobile device detection library (including desktops) - [cbschuld/Browser.php](https://github.com/cbschuld/Browser.php) - Detect user browser environment - [hisorange/browser-detect](https://github.com/hisorange/browser-detect) - Browser detection tool (including JavaScript and CSS support) - [colors.php](https://github.com/kevinlebrun/colors.php) - Easy way to add colors in CLI scripts - [cviebrock/eloquent-sluggable](https://github.com/cviebrock/eloquent-sluggable) - Article title URL slug processing tool - [fukuball/jieba-php](https://github.com/fukuball/jieba-php) - "Jieba" Chinese word segmentation ## Numbers > Libraries for handling numbers - [Numbers PHP](https://github.com/powder96/numbers.php) - Number handling library - [Math](https://github.com/moontoast/math) - Big number handling library - [ByteUnits](https://github.com/gabrielelana/byte-units) - Parse, format, and convert byte units in binary and metric systems - [PHP Units of Measure](https://github.com/triplepoint/php-units-of-measure) - Unit conversion library - [PHP Conversion](https://github.com/Crisu83/php-conversion) - Another unit conversion library - [LibPhoneNumber for PHP](https://github.com/giggsey/libphonenumber-for-php) - PHP port of Google's phone number handling library - [ivanakimov/hashids.php](https://github.com/ivanakimov/hashids.php) - Generate unique strings from integers (e.g., hide real IDs via encryption/decryption) - [Particle](https://github.com/sschiau/Particle) - PHP ID Generator | Twitter Snowflake ID implementation - [nanoid-php](https://github.com/hidehalo/nanoid-php) - Compact unique ID generator - [vinkla/laravel-hashids](https://github.com/vinkla/hashids) - Hash ID generator to hide numeric IDs (based on Hashids) ## Filtering and Validation > Libraries for filtering and validating data - [ircmaxell/filterus](https://github.com/ircmaxell/filterus) - Simple PHP filtering library - [Respect/Validation](https://github.com/Respect/Validation) - Simple validation library - [vlucas/valitron](https://github.com/vlucas/valitron) - Another data validation library - [cakephp/validation](https://github.com/cakephp/validation) - Another data validation library - [illuminate/validation](https://github.com/illuminate/validation) - Laravel validation library - [php-readability](https://github.com/feelinglucky/php-readability) - Content analysis algorithm - [codeguy/Upload](https://github.com/codeguy/Upload) - File upload handling and validation library - [rdohms/DMS-Filter](https://github.com/rdohms/DMS-Filter) - Annotation-based filtering library - [romaricdrigon/MetaYaml](https://github.com/romaricdrigon/MetaYaml) - Schema validation library supporting YAML, JSON, XML - [ronanguilloux/IsoCodes](https://github.com/ronanguilloux/IsoCodes) - Validation library for various ISO and ZIP codes - [aura/filter](https://github.com/auraphp/Aura.Filter) - Aura data validation component - [symfony/validator](https://github.com/symfony/validator) - Symfony data validation component - [dwightwatson/validating](https://github.com/dwightwatson/validating) - Automatic validation on Eloquent model save via Trait - [Propaganistas/Laravel-Phone](https://github.com/Propaganistas/Laravel-Phone) - Phone and mobile number validation support - [felixkiss/uniquewith-validator](https://github.com/felixkiss/uniquewith-validator) - Add uniqueness validation between fields in form rules - [cviebrock/image-validator](https://github.com/cviebrock/image-validator) - Image dimension validation ## REST and API > Libraries and web frameworks for developing RESTful APIs - [dingo/api](https://github.com/dingo/api) - Complete solution for building API servers - [Apigility](https://github.com/zfcampus/zf-apigility-skeleton) - API builder using Zend Framework - [Hateoas](https://github.com/willdurand/Hateoas) - HATEOAS REST web service library - [HAL](https://github.com/mikekelly/hal-spec) - Hypertext Application Language (HAL) builder library - [Negotiation](https://github.com/willdurand/Negotiation) - Content negotiation library - [Drest](https://github.com/leedavis81/drest) - Library for exposing Doctrine entities as REST resources - [Restler](https://github.com/Luracast/Restler) - Lightweight framework for exposing PHP methods as RESTful web APIs - [thephpleague/fractal](https://github.com/thephpleague/fractal) - [Best Practice] Unified data response handling - [api-problem](https://github.com/Crell/ApiProblem) - Simple implementation of api-problem specification - [graphql-php](https://github.com/webonyx/graphql-php) - Application-layer query language library - [GraphQL](https://github.com/Youshido/GraphQL) - Another application-layer query language library - [GrahamCampbell/Laravel-Throttle](https://github.com/GrahamCampbell/Laravel-Throttle) - Rate limiting tool ## Caching > Libraries for caching data - [symfony/cache](https://github.com/symfony/cache) - Symfony cache component following PSR-6 - [Alternative PHP Cache (APC)](https://www.php.net/manual/en/book.apcu.php) - Open-source opcode cache for PHP - [Doctrine Cache](https://github.com/doctrine/cache) - Caching library - [Zend Cache](https://github.com/laminas/laminas-cache) - Another caching library - [Cake Cache](https://github.com/cakephp/cache) - Caching library - [Stash](https://github.com/tedivm/Stash) - Another caching library - [CacheTool](https://github.com/gordalina/cachetool) - Command-line tool for clearing APC/opcode cache - [PhpFastCache](https://github.com/PHPSocialNetwork/phpfastcache) - PHP caching library - [desarrolla2/Cache](https://github.com/desarrolla2/Cache) - Caching library with multiple adapters - [laruence/yac](https://github.com/laruence/yac) - Shared memory lock-free content cache for PHP - [liexusong/pcache](https://github.com/liexusong/pcache) - PHP local cache extension - [Shies/PHP7-buffer](https://github.com/Shies/PHP7-buffer) - High-performance local cache extension for PHP7 ## Data Structure and Storage > Libraries implementing data structures and storage techniques - [Illuminate\Support\Collection](https://laravel.com/docs/collections) - Laravel's fluent collection for manipulating array data - [Collections](https://github.com/tightenco/collect) - Collection library extracted from Laravel - [Ardent](https://github.com/morrisonlevi/Ardent) - Data structure library - [Cake Collection](https://github.com/cakephp/collection) - Simple collection library - [Collections](https://github.com/italolelis/collections) - Collection abstraction library - [Fractal](https://github.com/thephpleague/fractal) - Library for transforming complex data structures to JSON output - [PHP Collections](https://github.com/schmittjoh/php-collection) - Simple collection library - [Serializer](https://github.com/schmittjoh/serializer) - Serialization and deserialization library - [Zend Serializer](https://github.com/laminas/laminas-serializer) - Another serialization/deserialization library - [PHP Object Storage](https://github.com/herrera-io/php-object-storage) - Object storage library - [Totem](https://github.com/Wisembly/Totem) - Library for managing and creating data change sets - [PINQ](https://github.com/TimeToogo/Pinq) - Real-time LINQ library for PHP - [JsonMapper](https://github.com/cdiscount/jsonmapper) - Library for mapping nested JSON structures to PHP classes - [php-jsonq](https://github.com/nahid/jsonq) - PHP query builder for JSON - [DeepCopy](https://github.com/myclabs/DeepCopy) - Create deep copies (clones) of objects ## Notifications > Libraries for notifications - [filp/nod](https://github.com/filp/nod) - Notification library - [wrep/notificato](https://github.com/wrep/notificato) - Push message handling library - [Ph3nol/NotificationPusher](https://github.com/Ph3nol/NotificationPusher) - Standalone device push notification library - [namshi/notificator](https://github.com/namshi/notificator) - Lightweight notification library - [davibennun/laravel-push-notification](https://github.com/davibennun/laravel-push-notification) - Push notification tool for apps (supports APNS and GCM) - [edvinaskrucas/notification](https://github.com/edvinaskrucas/notification) - Page message notification component ## Deployment > Libraries for project deployment - [tamagokun/pomander](https://github.com/tamagokun/pomander) - PHP application deployment tool - [rocketeers/rocketeer](https://github.com/rocketeers/rocketeer) - Fast and simple PHP deployer - [laravel/envoy](https://laravel.com/docs/envoy) - Official Laravel simple deployment tool - [aerialls/Plum](https://github.com/aerialls/Plum) - Deployment library - [deployphp/deployer](https://deployer.org/) - Deployment tool - [meolu/walle-web](https://github.com/meolu/walle-web) - Open-source web code deployment management system - [Piplin](https://github.com/Piplin/Piplin) - Free open-source CI/CD system for automated build, test, and deployment ## Internationalisation and Localisation > Libraries for internationalization (I18n) and localization (L10n) - [auraphp/Aura.Intl](https://github.com/auraphp/Aura.Intl) - [cakephp/i18n](https://github.com/cakephp/i18n) - Translation and localization messages - [symfony/translation](https://github.com/symfony/translation) - [illuminate/translation](https://github.com/illuminate/translation) - [Gettext](https://github.com/php-gettext/Gettext) - PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc) - [zend/i18n](https://docs.laminas.dev/laminas-i18n/translation/) - [mcamara/laravel-localization](https://github.com/mcamara/laravel-localization) - Enhanced Laravel localization - [dimsav/laravel-translatable](https://github.com/dimsav/laravel-translatable) - Multilingual database translation solution - [webpatser/laravel-countries](https://github.com/webpatser/laravel-countries) - World countries data (including capitals, currencies, etc.) ## Third Party APIs > Libraries/SDKs for accessing third-party APIs - [mailgun-php](https://github.com/mailgun/mailgun-php) - Official Mailgun SDK for PHP - [wechat](https://github.com/overtrue/wechat) - Simplify WeChat development - [Qiniu/sdk](https://github.com/qiniu/php-sdk) - Qiniu Resource Storage SDK for PHP - [Qiniu/qshell](https://github.com/qiniu/qshell) - Command-line tool for testing and using Qiniu APIs - [tencentyun/wafer](https://github.com/tencentyun/wafer) - Quickly build scalable WeChat mini-programs - [maxmind/GeoIP2-php](https://github.com/maxmind/GeoIP2-php) - MaxMind GeoIP2 location service - [PingPlusPlus/pingpp-php](https://github.com/PingPlusPlus/pingpp-php) - Ping++ aggregated payment SDK - [mgp25/Instagram-API](https://github.com/mgp25/Instagram-API) - Instagram private API - [aws/aws-sdk-php](https://github.com/aws/aws-sdk-php) - AWS services developer toolkit - [bugsnag/bugsnag-laravel](https://github.com/bugsnag/bugsnag-laravel) - Bugsnag integration package - [maknz/slack](https://github.com/maknz/slack) - Slack service integration - [lyrixx/twitter-sdk](https://github.com/lyrixx/twitter-sdk) - Fully tested Twitter SDK - [thujohn/twitter](https://github.com/thujohn/twitter) - Twitter API support - [overtrue/weather](https://github.com/overtrue/weather) - PHP weather component based on Gaode open platform - [aliyun/aliyun-oss-php-sdk](https://github.com/aliyun/aliyun-oss-php-sdk) - Alibaba Cloud Object Storage - [aliyun/openapi-sdk-php](https://github.com/aliyun/openapi-sdk-php) - Alibaba Cloud SDK for PHP - [overtrue/laravel-filesystem-qiniu](https://github.com/overtrue/laravel-filesystem-qiniu) - Laravel filesystem Qiniu - [jacobcyl/Aliyun-oss-storage](https://github.com/jacobcyl/Aliyun-oss-storage) - Alibaba Cloud OSS Laravel extension - [overtrue/easy-sms](https://github.com/overtrue/easy-sms) - SMS sending component supporting multiple providers - [mingyoung/dingtalk](https://github.com/mingyoung/dingtalk) - DingTalk SDK - [wowiwj/ding-notice](https://github.com/wowiwj/ding-notice) - DingTalk robot message sending Laravel package ## Extensions > Libraries for building PHP extensions - [Zephir](https://zephir-lang.com/) - Compiled language between PHP and C++ for developing PHP extensions - [PHP CPP](https://www.php-cpp.com/) - C++ library for developing PHP extensions - [PHP-X](https://github.com/swoole/PHP-X) - C++ wrapper for Zend API ## PHP Installation > Tools for installing and managing PHP - [HomeBrew](https://brew.sh/) - macOS package manager - [HomeBrew PHP](https://github.com/Homebrew/homebrew-php) - PHP formulas for HomeBrew - [PHP OSX](https://php-osx.liip.ch/) - PHP installer for macOS - [PHP Brew](https://github.com/phpbrew/phpbrew) - PHP version manager and installer - [PHP Env](https://github.com/CHH/phpenv) - Another PHP version tool - [PHP Switch](https://github.com/jubianchi/phpswitch) - Another PHP version tool - [PHP Build](https://github.com/php-build/php-build) - Another PHP version tool - [VirtPHP](https://virtphp.org/) - Tool for creating and managing isolated PHP environments ## Development Environment > Software and tools for creating sandbox development environments - [Docker](https://www.docker.com/) - Open-source application container engine - [Vagrant](https://www.vagrantup.com/) - Lightweight tool for creating development environments - [Ansible](https://www.ansible.com/) - Simple orchestration framework - [Puppet](https://puppet.com/) - Server automation framework and application - [PuPHPet](https://puphpet.com/) - Tool for building PHP development VMs - [Protobox](https://getprotobox.com/) - Another tool for building PHP development VMs - [Phansible](https://phansible.com/) - Another tool for building PHP development VMs - [centstead](https://github.com/jason-chang/centstead) - Laravel local development environment based on Vagrant and Homestead - [Devilbox](https://github.com/cytopia/devilbox) - Modern Dockerized LAMP/MEAN stack alternative to XAMPP - [Homestead](https://laravel.com/docs/homestead) - Vagrant-based PHP development environment - [Laradock](https://laradock.io/) - Docker-based PHP development environment ## Virtual Machines > Alternative PHP virtual machines - [HHVM](https://hhvm.com/) - Facebook open-source PHP virtual machine - [HippyVM](https://hippyvm.com/) - Another PHP virtual machine ## Integrated Development Environment > IDEs supporting PHP - [Netbeans](https://netbeans.apache.org/) - [Eclipse for PHP Developers](https://www.eclipse.org/downloads/) - [PhpStorm](https://www.jetbrains.com/phpstorm/) ## Web Applications > Web-based applications and tools - [3V4L](https://3v4l.org/) - Online PHP shell - [DBV](https://github.com/victorstanciu/dbv) - Database version control application - [PHP Queue](https://github.com/CoderKungfu/php-queue) - Queue management backend - [MailCatcher](https://mailcatcher.me/) - Catch and view emails - [Cachet](https://cachethq.io/) - Open-source status page system (like status.github.com) - [phpRedisAdmin](https://github.com/erikdubbelboer/phpRedisAdmin) - Redis management tool - [phpPgAdmin](https://github.com/phppgadmin/phppgadmin) - PostgreSQL management tool - [phpMyAdmin](https://www.phpmyadmin.net/) - MySQL management tool - [rockmongo](https://github.com/iwind/rockmongo) - MongoDB management tool - [Grav](https://getgrav.org/) - Powerful Flat-File CMS - [Piwik](https://matomo.org/) - Web analytics - [YOURLS](https://yourls.org/) - Short URL generator system - [Nextcloud server](https://nextcloud.com/) - Open-source private cloud system - [magento2](https://github.com/magento/magento2) - Open-source PHP e-commerce system - [laravel-admin](https://github.com/z-song/laravel-admin) - Laravel-based admin framework - [Crinsane/LaravelShoppingcart](https://github.com/Crinsane/LaravelShoppingcart) - Simple shopping cart implementation - [CachetHQ/Cachet](https://github.com/CachetHQ/Cachet) - Open-source status page system with API - [flarum/flarum](https://flarum.org/) - Elegant lightweight forum - [roots/bedrock](https://roots.io/bedrock/) - WordPress deployment tool - [monicahq/monica](https://www.monicahq.com/) - Personal relationship management CRM ## Infrastructure > Infrastructure for PHP applications and services - [appserver.io](https://appserver.io/) - Multi-threaded PHP application server - [php-pm](https://github.com/php-pm/php-pm) - Process manager, booster, and load balancer for PHP applications ## DB Proxy > For read-write separation, sharding, etc. - [kingshard](https://github.com/flike/kingshard) - Kingsoft open-source database proxy - [heisenberg](https://github.com/brucexx/heisenberg) - Baidu open-source database proxy - [Oceanus](https://github.com/58code/Oceanus) - 58.com open-source database proxy - [Atlas](https://github.com/Qihoo360/Atlas) - 360 open-source database proxy - [DBProxy](https://github.com/Meituan-Dianping/DBProxy) - Meituan based on Atlas database proxy - [Mycat](http://www.mycat.io/) - [TiDB](https://github.com/pingcap/tidb) - Distributed database ## RPC Frameworks > Remote procedure call frameworks - [apache/thrift](https://thrift.apache.org/) - Apache Thrift - [grpc/grpc](https://github.com/grpc/grpc) - Google's open-source framework - [protobuf](https://github.com/protocolbuffers/protobuf) - [alibaba/dubbo](https://github.com/alibaba/dubbo) - Alibaba open-source RPC framework - [TarsCloud/Tars](https://github.com/TarsCloud/Tars) - Tencent high-performance RPC framework using Tars protocol - [weibocom/motan](https://github.com/weibocom/motan) - Weibo lightweight RPC framework - [dangdangdotcom/dubbox](https://github.com/dangdangdotcom/dubbox) - Dangdang maintained dubbox - [baidu/sofa-pbrpc](https://github.com/baidu/sofa-pbrpc) - Baidu open-source sofa-pbrpc - [laruence/yar](https://github.com/laruence/yar) - Lightweight concurrent RPC framework for PHP & C - Hprose - High-performance cross-language RPC - [hprose-php](https://github.com/hprose/hprose-php) - [hprose-swoole](https://github.com/hprose/hprose-swoole) - Others - [Dora-RPC](https://github.com/xcl3721/Dora-RPC) - [workerman-JsonRpc](https://github.com/walkor/workerman-jsonrpc/) ## Asynchronous Event Driven Framework - [Swoole](https://www.swoole.com/) - [Workerman](https://www.workerman.net/) - [Gearman](http://gearman.org/) - Task distribution system - [phpdaemon](https://github.com/kakserpom/phpdaemon) - [ReactPHP](https://reactphp.org/) - [amphp/amp](https://github.com/amphp/amp) - Non-blocking concurrency framework for PHP - [async](https://github.com/spatie/async) - Easily run code asynchronously - [kraken-php](https://github.com/kraken-php/framework/) - Asynchronous & fault-tolerant PHP framework for distributed applications - [recoilphp/recoil](https://github.com/recoilphp/recoil) - Asynchronous coroutines for PHP 7 ## Rules Engine - [Hoa\Ruler](https://github.com/hoaproject/Ruler) - Hoa project rules engine - [Ruler](https://github.com/bobthecow/Ruler) - Simple stateless rule engine - [Rules](https://github.com/tonera/Rules) - Simple PHP rules engine ## Miscellaneous > Useful libraries and tools not fitting above categories - [overtrue/pinyin](https://github.com/overtrue/pinyin) - Chinese to Pinyin library - [jifei/Pinyin](https://github.com/jifei/Pinyin) - Chinese to Pinyin library - [class.upload.php](https://github.com/verot/class.upload.php) - File upload handling class - [php-paginator](https://github.com/jasongrimes/php-paginator) - Pagination handling class - [Anahkiasen/underscore-php](https://github.com/Anahkiasen/underscore-php) - Underscore.js-like PHP syntax support - [Flexihash](https://github.com/pda/flexihash) - Consistent hashing library - [Eden](https://github.com/Eden-PHP/Eden) - Rapid development library with autoloading, events, caching, templating, i18n, database, web services, payment gateways, and cloud services - [html-parser](https://github.com/bupt1987/html-parser) - HTML parsing tool - [PHPCrawl](https://phpcrawl.cuab.de/) - PHP crawler framework - [Tig](https://github.com/jonas/tig) - Git browser in command line - [copywriting-correct](https://github.com/ricoa/copywriting-correct) - Chinese/English copywriting typography corrector - [PHP-ML](https://php-ml.github.io/) - PHP machine learning library - [BotMan](https://botman.io/) - Chatbot library - [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper) - IDE helper for Laravel development - [davejamesmiller/laravel-breadcrumbs](https://github.com/davejamesmiller/laravel-breadcrumbs) - Breadcrumb tool - [laracasts/PHP-Vars-To-Js-Transformer](https://github.com/laracasts/PHP-Vars-To-Js-Transformer) - Transform PHP variables to JavaScript - [Laravelium/laravel-sitemap](https://github.com/Laravelium/laravel-sitemap) - Sitemap generator - [yajra/laravel-datatables](https://github.com/yajra/laravel-datatables) - Backend support for jQuery DataTables - [formers/former](https://github.com/formers/former) - Powerful form builder - [Laravelium/laravel-feed](https://github.com/Laravelium/laravel-feed) - Feed generator