No description
| .editorconfig | Updates from fork so far. ( #1242 ) | |
| CODE-OF-CONDUCT.md | Update CODE-OF-CONDUCT.md | |
| COLLABORATING.md | Update COLLABORATING.md | |
| CONTRIBUTING.md | Update CONTRIBUTING.md | |
| LICENSE.md | Make license file markdown | |
| README.md | FrankenPHP can also create PHP extension | |
Awesome PHP
A curated list of amazingly awesome PHP libraries, resources, and shiny things.
Table of Contents
- Awesome PHP
- Library
- Authentication
- Cache
- Code Quality
- Configuration
- Console Tool
- Continuous Integration (CI)
- Convertor
- Crawler
- Data Structure
- Database
- Date and Time
- Dependency Injection
- Documentation
- Encode Decode
- Event
- File
- Geolocation
- Globalization
- HTTP
- Image
- Intergration
- JSON
- Logging
- Math
- Middleware
- Multi-Proccesses
- Multi-Thread
- Navigation
- Notifications
- Office
- Queue
- Profiling
- Router
- Security
- Static Analysis
- Stream
- Task Runner and Scheduler
- Template
- Testing
- URL
- Validator
- Video
- Misc
- Frameworks
- Extensions
- Platforms
- Ecosystem
- Resources
- Package Repository
- Library
Library
Authentication
- Aura.Auth - Provides a unified interface to local and remote authentication systems (BSDv2)
- SocialConnect Auth - Connect your application(s) with social network(s) (MIT)
- Json Web Token - A simple library to work with JSON Web Token and JSON Web Signature (BSDv3)
- OAuth 1.0 Client - OAuth 1 Client (MIT)
- OAuth 2.0 Client - Easy integration with OAuth 2.0 service providers (MIT)
- bshaffer/oauth2-server-php - A library for implementing an OAuth2 Server in php (MIT)
- league/oauth2-server - A spec compliant, secure by default PHP OAuth 2.0 Server (MIT)
- Opauth - Multi-provider authentication framework for PHP (MIT)
- Paseto - Platform-Agnostic Security Tokens (ISC License)
- PHP oAuthLib - PHP 5.3+ oAuth 1/2 Client Library (MIT)
- Sentinel Social - About A Sentinel addon that makes authenticating your users through social networks & third-party OAuth providers in Sentinel an absolute breeze (PSL)
- Sentinel - A framework agnostic authentication & authorization system (BSDv3)
- TwitterOAuth - PHP library for use with the Twitter OAuth REST API (MIT)
Cache
- APIx Cache - A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing (BSDv3)
- CacheTool - CLI App and library to manage apc & opcache (MIT)
- CakePHP Cache - Caching library with support for multiple caching backends (MIT)
- Doctrine Cache - Doctrine Cache component (MIT)
- Metaphore - Cache slam defense using a semaphore to prevent dogpile effect (MIT)
- Stash - place to keep your cache (BSDv3)
- Laminas Cache - Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output (BSDv3)
Code Quality
- PHP CodeSniffer - tokenizes PHP files and detects violations of a defined set of coding standards (BSDv3)
- PHP CS Fixer - automatically fix PHP Coding Standards issues (MIT)
- PHP CS Fixer Configurator - Inspect PHP-CS-Fixer fixers and easily configure them (MIT)
- PHPMD - a spin-off project of PHP Depend and aims (BSDv3)
- PHPCheckstyle - tool that helps PHP programmers adhere to certain coding conventions (LGLPv3)
- PHPCPD - Copy/Paste Detector (CPD) for PHP code (BSDv3)
- Laravel Pint - an opinionated PHP code style fixer for minimalists (MIT)
- editorconfig-checker - tool to verify that your files are in harmony with your .editorconfig (MIT)
- GrumPHP - A PHP code-quality tool (MIT)
- PHP AST Viewer - tool for viewing the Abstract Syntax Tree of PHP code (MIT)
- PHP Magic Number Detector - help you to detect magic numbers in your PHP code (MIT)
- PHP Parser - A PHP parser written in PHP (BSDv3)
- PHP Semantic Versioning Checker - Compares two source sets and determines the appropriate semantic versioning to apply (MIT)
- Phpactor - PHP Language Server with more features than you can shake a stick at (MIT)
- PHPLOC - tool for quickly measuring the size of a PHP project (BSDv3)
- PHPQA - Analyze PHP code with one command (MIT)
- Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code (MIT)
- Scrutinizer - A web tool to scrutinise PHP code.
- UBench - A simple micro-benchmark library.
Configuration
- PHP Dotenv - Loads environment variables from
.envtogetenv(),$_ENVand$_SERVERautomagically (BSDv3) - Symfony Dotenv- Registers environment variables from a .env file (MIT)
- Yo! Symfony TOML - A PHP parser for TOML (MIT)
Console Tool
- Aura.Cli - Command-Line Interface tools (BSDv2)
- Cilex - Cilex a lightweight framework for creating PHP CLI scripts inspired by Silex (MIT)
- CLI Menu - Build beautiful PHP CLI menus. Simple yet Powerful (MIT)
- CLIFramework - A powerful command line application framework for PHP (BSD)
- CLImate - PHP's best friend for the terminal (MIT)
- Commando - An Elegant CLI Library for PHP (MIT)
- Cron Expression - Calculate the next or previous run date and determine if a CRON expression is due (MIT)
- GetOpt - library for command-line argument processing (MIT)
- GetOptionKit - object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking (MITT)
- PsySH - runtime developer console, interactive debugger and REPL for PHP (MIT)
- ShellWrap - Lovely PHP wrapper for using the command-line (MIT)
Continuous Integration (CI)
- JoliCi - Run your TravisCi builds locally (MIT)
- PHPCI - free and open source continuous integration tool specifically designed for PHP (BSDv2)
- Setup PHP - GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools (MIT)
Crawler
- Chrome PHP - Instrument headless chrome/chromium instances from PHP (MIT)
- CrawlerDetect - PHP class for detecting bots/crawlers/spiders via the user agent (MIT)
- DiDOM - Simple and fast HTML and XML parser (MIT)
- Embed - Get info from any web service or page (MIT)
- PHP Spider - configurable and extensible PHP web spider (MIT)
- Symfony Panther - A browser testing and web crawling library for PHP and Symfony (MIT)
Convertor
- ANSI to HTML5 - An ANSI to HTML5 converter library (MIT)
- Hyphenation - Provide TeX-Hyphenation to PHP (MIT)
- Slugify - Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte (MIT)
- SQL Formatter - lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting (MIT)
- Color Jizz - library for manipulating and converting colors (unknown)
- PHP Conversion - Library for converting units and sizes (Apachev2)
- PHP Units of Measure - handling physical quantities and the units of measure in which they're represented (MIT)
- ByteUnits - parse, format and convert byte units (MIT)
- Hateoas - implementing representations for HATEOAS REST web services (MIT)
- Jane - a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs (MIT)
Data Science
datamining, machine learning
- PHP-ML - PHP Machine Learning library (MIT)
- PHP-MLX - PHP-MLX (php-ml next generation) - Machine Learning library for PHP (MIT liked)
- Rubix ML - A high-level machine learning and deep learning library for the PHP language (MIT)
Data Structure
- CakePHP Collection - Collection library in CakePHP (MIT)
- convert_mbox_to_eml_files - Split huge mbox file to many .eml(.emlx) file (unknow)
- Fractal - Output complex, flexible, AJAX/RESTful data structures (MIT)
- Ginq -
LINQ to Objectinspired DSL for PHP (MIT) - JsonMapper - Map nested JSON structures onto PHP classes (OSLv3)
- JSON Machine - Efficient, easy-to-use, and fast PHP JSON stream parser (Apachev2)
- Knapsack - Collection pipeline library for PHP (MIT)
- mbox-splitter - Allow to split mbox filesn smaller files to allow POST import (GPLv2)
- msgpack.php - pure PHP implementation of the MessagePack serialization format (MIT)
- PINQ - real LINQ library for PHP (MIT)
- Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML) (MIT)
- SphinxQL Query Builder - generates SphinxQL, a SQL dialect, which is used to query the Sphinx search engine (Apachev2)
- YaLinqo - Yet Another LINQ to Objects for PHP (BSDv2)
- Laminas Serializer - Serialize and deserialize PHP structures to a variety of representations (BSDv3)
- Laravel Serializable Closure - Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP (MIT)
Database
- Atlas.Orm - data mapper implementation for your persistence model in PHP (MIT)
- Aura.Sql - SQL database access through PDO (MIT)
- Aura.SqlQuery - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server (MIT)
- Baum - implementation of the Nested Set pattern for Laravel's Eloquent ORM (MIT)
- CakePHP ORM - flexible, lightweight and powerful Object-Relational Mapper for PHP, implemented using the DataMapper pattern (MIT)
- Cycle ORM - PHP DataMapper, ORM (MIT)
- Doctrine Extensions - Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable (MIT)
- doctrine/orm - A comprehensive DBAL and ORM (MIT)
- Laravel Eloquent - Subtree split of the Illuminate Database component (MIT)
- Pomm - Object Model Manager for Postgresql (MIT, mixed)
- RedBean - ORM layer that creates models, config and database on the fly (BSD & GPLv2 (ref))
- Slimdump - tool for creating configurable dumps of large MySQL-databases (MIT)
- Spot2 - Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer (BSDv3)
- Doctrine Migrations - Doctrine Database Migrations Library (MIT)
- Migrations - php 5.3 Migration Manager (MIT)
- Phinx - PHP Database Migrations for Everyone (MIT)
- PHPMig - Simple migrations system for php (MIT)
- Ruckusing - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite (LGPL)
- MongoDB - The Official MongoDB PHP driver (Apachev2)
- PHPMongo - MongoDB ODM, Part of PHPMongoKit (MIT)
- Predis - flexible and feature-complete Redis/Valkey client for PHP (MIT)
Date and Time
- CalendR - A modern, object-oriented calendar management library (MIT)
- Carbon - simple PHP API extension for DateTime (MIT)
- Chronos - standalone DateTime library originally based off of Carbon (MIT)
- Moment.php - Parse, validate, manipulate, and display dates in PHP w/ i18n support (MIT)
- Yasumi - The easy PHP Library for calculating holidays (MIT)
Dependency Injection
- Aura.Di - Dependency Injection System (MIT)
- Acclimate - Adapters for PHP framework containers to an interoperable interface (MIT)
- Auryn - IoC Dependency Injector (MIT)
- Container - Small but powerful dependency injection container (MIT)
- Disco - PSR-11 compatible Dependency Injection Container for PHP (Apachev2)
- PHP-DI - dependency injection container for humans (MIT)
- Pimple - small PHP dependency injection container (MIT)
- Symfony DI - Allows you to standardize and centralize the way objects are constructed in your application (MIT)
Documentation
- APIGen - PHP 7.1 ready Smart and Simple Documentation for your PHP project (MIT)
- daux.io - documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly (MIT)
- phpDocumentor - Documentation Generator for PHP (MIT)
- phpDox - Documentation generator for PHP Code using standard technology (BSDv3)
- zircote/swagger-php - swagger annotation and parsing library (Apachev2)
- Drest - Quickly and easily expose Doctrine entities as REST resource endpoints with the use of simple configuration with annotations, yaml, json or a PHP array (MIT)
- Annotations - Annotations Docblock Parser (MIT)
- CssToInlineStyles - enables you to convert HTML-pages/files into HTML-pages/files with inline styles (BSDv3)
- Email Reply Parser - parsing plain text email content (MIT)
- Email Validator - valid email addresses using a number of methods (MIT)
- Fetch - IMAP library for PHP (BSDv3)
- Mautic - Open Source Marketing Automation Software (GPLv3)
- PHPMailer - classic email sending library for PHP (LGPLv2)
- PHP IMAP - Manage mailboxes, filter/get/delete emails in PHP (MIT)
- Stampie - Library for using online Email providers (MIT)
- SwiftMailer - Comprehensive mailing tools (MIT)
- Symfony Mailer - Helps sending emails (MIT)
Encode Decode
- Patchwork UTF-8 - Extensive, portable and performant handling of UTF-8 and grapheme clusters (ApacheV2, GPLv2)
- Portable ASCII - Portable ASCII library - performance optimized (ascii) string functions (MIT)
- Portable UTF-8 - Portable UTF-8 library - performance optimized (unicode) string functions (Apachev2, GPLv2)
Event
- Broadway - Infrastructure and testing helpers for creating CQRS and event sourced applications (MIT)
- CakePHP Event - The event dispatcher library for CakePHP (MIT)
- Elephant.io - Send events to a socket.io server through PHP (MIT)
- Evenement - simple event dispatching library for PHP (MIT)
- Event - Event package for your app and domain (MIT)
- Fast CGI Client - fast CGI client for sending requests (a)synchronously to PHP-FPM (MIT)
- Pawl - Asynchronous WebSocket client (MIT)
- Prooph Event Store - PHP 7.4 EventStore Implementation (BSDv3)
- PHP Defer - Golang's defer statement for PHP (MIT)
- RxPHP - Reactive extensions for PHP (MIT)
File
- CSV - CSV data manipulation made easy (MIT)
- Flysystem - Abstraction for local and remote filesystems (MIT)
- Gaufrette - provides a filesystem abstraction layer (MIT)
- UnifiedArchive - archive manager with unified interface for different formats (MIT)
- Parquet - PHP ETL - parquet library (MIT)
Geolocation
- Country List - List of all countries with names and ISO 3166-1 codes in all languages and data formats (MIT)
- GeoCoder - The most featured Geocoder library written in PHP (MIT)
- GeoJSON - GeoJSON implementation for PHP (MIT)
- GeoTools - Geo-related tools PHP 7.3+ library built atop Geocoder and React libraries (MIT)
- PHPGeo - Simple Yet Powerful Geo Library for PHP (MIT)
Globalization
Include internationalization (I18n), localization (L10n) and translation
- Aura.Intl - Internationalization tools, particularly message translation (MIT)
- CakePHP I18n - Provides support for message translation and localization for dates and numbers (MIT)
HTTP
- Buzz - PHP's lightweight HTTP client (MIT)
- Guzzle - extensible PHP HTTP client (MIT)
- HTTPlug - HTTPlug, the HTTP client abstraction for PHP (MIT)
- Nyholm PSR-7 - A super lightweight PSR-7 implementation (MIT)
- PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests (MIT)
- Requests - Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries (BSD liked)
- Retrofit - Retrofit implementation in PHP. A REST client for PHP (MIT)
- Symfony HTTP Client - Provides powerful methods to fetch HTTP resources synchronously or asynchronously (MIT)
- Laminas Diactoros - PSR HTTP Message implementations (BSDv3)
Intergration
SDK, client API
- Amazon Web Service SDK - Official repository of the AWS SDK (Apachev2)
- AsyncAWS - AWS SDK with readable code and async responses (MIT)
- Bref - helps you go serverless on AWS with PHP (MIT)
- createsend-php - library for the Campaign Monitor API (MIT,BSDv2)
- Elastica - PHP client for elasticsearch (MIT)
- ElasticSearch PHP - Official PHP client for Elasticsearch (MIT)
- Ganesha - Circuit Breaker pattern implementation for PHP applications (MIT)
- Gotenberg - PHP client for interacting with Gotenberg
- Github - simple PHP GitHub API client, Object Oriented, tested and documented (MIT)
- Instructor for PHP - Unified LLM API, structured data outputs with LLMs, and agent SDK (MIT)
- Mailgun Mailgun's Official SDK (MIT)
- meilisearch-php - PHP client for Meilisearch (MIT)
- OpenAI Client - supercharged community-maintained PHP API client that allows you to interact with OpenAI API (MIT)
- OpenAI Client for Laravel - OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with OpenAI API (MIT)
- Pheanstalk - client for beanstalkd queue (MIT)
- PHP AMQP - most widely used PHP client for RabbitMQ (LGPL)
- PHP Mistral AI SDK - A powerful and easy-to-use PHP SDK for the Mistral AI API, allowing seamless integration of advanced AI-powered features into your PHP projects (ISC)
- Square - client library for the Square Connect APIs (Apachev2)
- Stripe - library for the Stripe API (MIT)
- Solarium - Solr client library (BSDv2)
- Tarantool Queue - bindings for Tarantool Queue (MIT)
- Twilio - library for communicating with the Twilio REST API and generating TwiML (MIT)
Image
- Color Extractor - Extract colors from an image like a human would do (MIT)
- Glide - Wonderfully easy on-demand image manipulation library with an HTTP based API (MIT)
- Image Hash - Perceptual image hashing (MIT)
- Image Optimizer - Image optimization / compression library (MIT)
- Imagine - PHP Object Oriented image manipulation library (MIT,Adobe ICC)
- Intervention Image - Image Processing (MIT)
- PHP Image Workshop - PHP5.3+ library that helps you to manage images based on GD library (MIT)
- PHP QR Code - QR Code generator and reader with a user-friendly API (MIT,Apachev2)
JSON
- JSON Lint - JSON Lint for PHP (MIT)
- JSONMapper - Map nested JSON structures to PHP classes (MIT)
- HAL - application/hal builder / formatter for PHP 5.4+ (MIT)
Logging
- Monolog - Sends your logs to files, sockets, inboxes, databases and various web services (MIT)
Machine Learning / LLM
- Jieba-PHP - Chinese text segmentation: built to be the best PHP Chinese word segmentation module (MIT)
- LLPhant - comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain (MIT)
Math
- Brick Math - Arbitrary-precision arithmetic library for PHP (MIT)
- MathPHP - Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra (MIT)
- DecimalObject - Decimal handling as value object instead of plain strings or floats (MIT)
Middleware
- PSR-15 Middlewares - Collection of PSR-15 middlewares officially developed by Middlewares organization (MIT)
- Relay - PSR-15 server request handler (MIT)
- Laminas Stratigility - PSR-7 middleware foundation for building and dispatching middleware pipelines (BSDv3)
Multi-Proccesses
- amphp/process - An async process dispatcher for Amp (MIT)
- console-parallelization - Enables the parallelization of Symfony Console commands (MIT)
Multi-Threads
- amphp/parallel - An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads (MIT)
- ext-pmmpthread - Fork of https://github.com/krakjoe/pthreads with a revamped API and PHP 8.1+ support (PHP)
Navigation
Notifications
- JoliNotif - Send notifications to your desktop directly from your PHP script (MIT)
- Notification Pusher - Standalone PHP library for easy devices notifications push (MIT)
- Notificato - Takes care of Apple push notifications (APNS) in your PHP projects (MIT)
- Notificator - very lightweight library to handle notifications the smart way (unknown)
- Php-pushwoosh - easily send push notifications with the Pushwoosh REST Web Services (MIT)
Network
- IP - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support (MIT)
- LibPhoneNumber for PHP - PHP version of Google's phone number handling library (Apachev2)
Office
- lowrapper - PHP wrapper over LibreOffice converter (MIT)
- PHPPresentation - A pure PHP library for reading and writing presentations documents (LGPLv3)
- PHPWord - A pure PHP library for reading and writing word processing documents (LGPLv3)
- PhpSpreadsheet - A pure PHP library for reading and writing spreadsheet files (MIT)
- Office Convertor - PHP Wrapper for LibreOffice (MIT)
- OpenSpout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way (MIT,Apachv2)
Parser
Parser and renderer for HTML, CSS, Markdown, YAML, TOML
- Cebe Markdown - super fast, highly extensible markdown parser for PHP (MIT)
- CommonMark PHP - Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs (BSDv3)
- Decoda - lightweight lexical string parser for BBCode styled markup (MIT)
- Essence - Extracts information about web pages, like youtube videos, twitter statuses or blog articles (BSDv2)
- Embera - Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo (MIT)
- HTML to Markdown - Convert HTML to Markdown with PHP (MIT)
- HTML5 PHP - HTML5 parser and serializer for PHP (HTML5-PHP)
- JSON Schema - JSON Schema for PHP (MIT)
- MetaYaml - powerful schema validator (MIT)
- Parsedown - Better Markdown Parser (MIT)
- PHP CSS Parser - Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS (MIT)
- PHP Markdown - Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber (BSDv3)
- Shiki PHP - Code highlighting with Shiki in PHP (MIT)
- VObject - allows you to easily parse and manipulate iCalendar and vCard objects (BSDv3)
- UA Parser - library for parsing user agent strings for ua-parser project (MIT)
- Stringy - string manipulation library with multibyte support, performance optimized (MIT)
- Agent - desktop/mobile user agent parser with support for Laravel, based on Mobiledetect (MIT)
- HTML Purifier - Standards compliant HTML filter (LGPL)
- Symfony HTML Sanitizer - Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM (MIT)
- Negotiation - Content Negotiation tools (MIT)
- vanodevium/toml - library for encoding and decoding TOML (MIT)
- Browsershot - Convert HTML to an image, PDF or string (MIT)
- Dompdf - HTML to PDF converter for PHP(LGPL)
- Snappy - library allowing thumbnail, snapshot or PDF generation from a url or a html page (MIT)
- TCPDF - Official clone of PHP library to generate PDF documents and barcodes (LGPLv3)
Profiling
- Barbushin PHP Console - Handle PHP errors, dump variables, execute PHP code remotely in Google Chromew (MIT)
- Kint - Advanced PHP dumper (MIT)
- Metrics - Simple library that abstracts different metrics collectors (unknown)
- PCOV - CodeCoverage compatible driver (PHP)
- PHP Console - PHP debug console (BSDv3)
- php-debugbar - Debug bar for PHP (MIT)
- PHPBench - benchmarking Framework (MIT)
- PHPSpy - low-overhead sampling profiler for PHP 7+ (MIT)
- Tracy - addictive tool to ease debugging PHP code for cool developers (dual Licensing: BSD or GPL)
- Whoops - PHP errors for cool kids (MIT)
- Xdebug - Step Debugger and Debugging Aid for PHP (PHP liked)
- XHProf - function-level hierarchical profiler for PHP and has a simple HTML based user interface (Apachev2)
- Z-Ray - enterprise-level PHP debugger that comes with Zend Server (commercial)
- Blackfire - fastest way to spot bottlenecks in your PHP & Python code (commercial)
Queue
- Bernard - multi-backend PHP library for creating background jobs for later processing (MIT)
- BunnyPHP - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library (MIT)
- Thumper - implements several messaging patterns for RabbitMQ (MIT)
- Enqueue - Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento (MIT)
Router
- Aura.Router - web router implementation for PHP (MIT)
- Fast Route - Fast request router for PHP (BSDv3)
- klein.php - fast & flexible router (MIT)
- Pux - fast PHP router with out-of-box controller helpers (MIT)
- Route - fast PSR-7 based routing and dispatch component, with PSR-15 middleware support, built on top of FastRoute (MIT)
Security
- AntiXSS - Protection against Cross-site scripting (XSS) via PHP (MIT)
- Halite - High-level cryptography interface powered by libsodium (MPL-2.0)
- Optimus - Id obfuscation based on Knuth's multiplicative hashing method for PHP (MIT)
- PHPGGC - Library of PHP unserialize() payloads along with a tool to generate them, from command line or programmatically (Apachev2)
- PHP Encryption - Simple Encryption in PHP (MIT)
- PHPSecLib - PHP Secure Communications Library (MIT)
- random_compat - PHP 5.x support for
random_bytes()andrandom_int()(MIT) - Roave Security Advisories - Security advisories as a simple composer exclusion list, updated daily (MIT)
- Secure Headers - PHP Secure Headers (MIT)
- Zap - ZAP by Checkmarx Core project (Apachev2)
- GenPhrase - Secure passphrase generator for PHP applications (MIT)
- Password Compat - Compatibility with the password_* functions that ship with PHP 5.5 (MIT)
- Password Policy - Password policy enforcer for PHP and JavaScript (MIT)
- Password Validator - Validates passwords against PHP's password_hash function using PASSWORD_DEFAULT (MIT)
- Password-Generator - PHP Library to generate random passwords (MIT)
- PHP Password Lib - Library for generating and validating passwords (MIT)
- phpass - Legacy password hashing framework for PHP applications needing to support or having previously supported PHP below 5.5 (CC-PDDC)
- Zxcvbn PHP - Realistic PHP password strength estimate library based on Zxcvbn JS (MIT)
- noCAPTCHA - Helper for Google's new noCAPTCHA (reCAPTCHA v2 & v3) (MIT)
- Safe - All PHP functions, rewritten to throw exceptions instead of returning false (MIT)
- RobThree/TwoFactorAuth - PHP library for Two Factor Authentication (TFA / 2FA) (MIT)
- Laragear/WebAuthn - Authenticate users with Passkeys: fingerprints, patterns and biometric data (MIT)
Static Analysis
- Exakat - Automated code reviewing engine for PHP (AGPL)
- Deptrac - Static code analysis to find violations in a dependency graph (MIT)
- Mondrian - Static PHP code analysis tool using Graph Theory (MIT)
- phan - Static analyzer for PHP that prefers to avoid false-positives and attempts to prove incorrectness rather than correctness (MIT)
- PHP Architecture Tester - Easy architecture testing tool for PHP (MIT)
- PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer (LGPLv3)
- PhpDependencyAnalysis - Static code analysis to find violations in a dependency graph (MIT)
- PHPDoc Parser - Next-gen phpDoc parser with support for intersection types and generics (MIT)
- PHP Metrics - Beautiful and understandable static analysis tool for PHP (MIT)
- PHP Migration - Static analyzer for PHP version migration and compatibility checking that detects changes introduced in PHP 5.3-7.0 (MIT)
- PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it! (MIT)
- Psalm - Static analysis tool for finding errors and security vulnerabilities in PHP applications (MIT)
Task Runner and Scheduler
- Jobby - Manage all your cron jobs without modifying crontab. Handles locking, logging, error emails, and more (MIT)
- Robo - Modern task runner (MIT)
- Task - Pure PHP task runner (MIT)
- Envoy - Elegant SSH tasks for PHP (MIT)
Template
- Latte - safest & truly intuitive templates for PHP (GPL, BSD)
- MtHaml - A PHP implementation of the HAML template language (MIT)
- Mustache - A PHP implementation of the Mustache template language (MIT)
- PHPTAL - template engine for XSS-proof well-formed XHTML and HTML5 pages (LGPLv2)
- Plates - Native PHP template system (MIT)
- Smarty - template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic (LGPLv3)
- Twig - flexible, fast, and secure template language for PHP (BSDv3)
- Laravel Mix - power of webpack, distilled for the rest of us (MIT)
- Symfony Asset - Manages URL generation and versioning of web assets (MIT)
- Symfony Encore - simple but powerful API for processing & compiling assets built around Webpack (MIT)
Testing
- Alice - Expressive fixtures generator (MIT)
- AspectMock - most powerful and flexible mocking framework for PHPUnit / Codeception (MIT)
- Atoum - modern, simple and intuitive PHP unit testing framework (BSDv3)
- Behat - BDD framework for PHP to help you test business expectations (MIT)
- Codeception - Full-stack testing PHP framework (MIT)
- Faker - PHP library that generates fake data for you (MIT)
- Foundry - model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine (MIT)
- Infection - PHP Mutation Testing library (BSDv3)
- Kahlan - PHP Test Framework for Freedom, Truth, and Justice (MIT)
- Mockery - simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework (BSDv3)
- Nette Tester - enjoyable unit testing in PHP with code coverage reporter (BSD or GPL)
- ParaTest - Parallel testing for PHPUnit (MIT)
- Pest - elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP (MIT)
- Phake - PHP Mocking Framework (BSDv3)
- PHP-Mock - Mock built-in PHP functions (e.g. time(), exec() or rand()) (WTFPL)
- PHP MySQL Engine - MySQL engine written in pure PHP (MIT)
- PHPSpec - toolset to drive emergent design by specification (MIT)
- PHPT - test tool used by PHP itself (BSDv3)
- PHPUnit - PHP Unit Testing framework (BSD-3-Clause)
- PHPUnit Polyfills - Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests (BSDv3)
- Prophecy - Highly opinionated mocking framework (MIT)
- VFS Stream - stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest (BSDv3)
- Better Reflection - reflection API that aims to improve and provide more features than PHP's built-in reflection API (MIT)
- Assert - Thin assertion library for use in libraries and business-model
URL
- PHP Domain Parser - public suffix list based domain parsing (MIT)
- Purl - simple object oriented URL manipulation library for PHP 7.2+ (MIT)
- sabre/uri - Functions for making sense out of URIs (BSDv3)
- Uri - URI manipulation library (MIT)
- glenscott/url-normalizer - syntax based normalization of URI's (MIT)
Validator
- Filterus - simple filtering library for PHP
- Aura.Filter - validate and sanitize arrays and objects (MIT)
- CakePHP Validation - validation library from CakePHP (MIT)
- Upload - file uploads with validation and storage strategies (MIT)
- Valitron - simple, elegant, stand-alone validation library with NO dependencies (BSDv3)
- Volan - light and extendable schema validation library (MIT)
- Respect Validation - the most awesome validation engine ever created for PHP (MIT)
- Valinor - Dependency free PHP library that helps to map any input into a strongly-typed structure (MIT)
Video
- PHP FFmpeg - object oriented PHP driver for FFMpeg binary (MIT)
Misc
- Finite - simple PHP finite state machine (MIT)
- Functional PHP - primitives for functional programming in PHP (MIT)
- Iter - iteration primitives using generators (BSDv3)
- IterTools PHP - PHP iteration tools library (MIT)
- Pipeline - pipeline pattern implementation (MIT)
- Porter - durable and asynchronous data imports for consuming data at scale and publishing testable SDKs (LGPLv3, GPLv3)
- RulerZ - powerful implementation of the Specification pattern in PHP (MIT)
- UUID - PHP library for generating universally unique identifiers (UUIDs) (MIT)
- Url highlight - parse URLs from string input (MIT)
- URLify - fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs (BSDv3)
- Device Detector - universal device detection library that parses User Agents and Browser Client Hints to detect devices (LGPLv3)
- Mobile-Detect - lightweight PHP class for detecting mobile devices (including tablets) (MIT)
- ISO-codes - validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries (GPLv3)
- Lock - serialized execution of critical code in concurrent situations (MIT)
- Hprose-PHP - cross-language RPC (MIT)
- Laravel Serializable Closure - easy and secure way to serialize closures in PHP (MIT)
- Pagerfanta - pagination for PHP (MIT)
- ProxyManager - OOP proxy wrappers/utilities - generates and manages proxies of your objects (MIT)
Framework
- AMP - non-blocking concurrency framework for PHP applications (MIT)
- BotMan - framework agnostic PHP library to build chat bots (MIT)
- CakePHP - rapid application development framework (MIT)
- CakePHP CRUD - production-grade rapid controller development with built in love for API and Search (MIT)
- CodeIgniter - Open Source PHP Framework (originally from EllisLab) (MIT)
- FuelPHP - simple, flexible, community driven PHP 5.3+ (MIT)
- Laminas - enterprise-ready PHP Framework and components (BSDv3)
- Laravel - web application framework with expressive, elegant syntax (MIT)
- Laravel Zero - micro-framework that provides an elegant starting point for your console application (MIT)
- LaravelS - out-of-the-box adapter between Laravel/Lumen and Swoole (MIT)
- Livewire - full-stack framework for Laravel that takes the pain out of building dynamic UIs (MIT)
- LLPhant - comprehensive PHP Generative AI Framework using OpenAI GPT 4, inspired by Langchain (MIT)
- Mezzio - PSR-15 Middleware Microframework (BSDv3)
- Minicli - minimal framework for command-line applications in PHP (MIT)
- Nette - framework speaks your language and helps you to easily build better websites (GPL, BSD)
- Phalcon - High performance, full-stack PHP framework delivered as a C extension (BSDv3)
- ReactPHP - event-driven, non-blocking I/O with PHP (MIT)
- Silly - CLI micro-framework based on Symfony Console (MIT)
- Slim - micro framework that helps you quickly write simple yet powerful web applications and APIs (MIT)
- Spiral - high-performance PHP framework (MIT)
- Swoole - coroutine-based concurrency library for PHP (Apache)
- Symfony - framework for web and console applications and a set of reusable PHP components (MIT)
- TinnkPHP - simple, lightweight framework (Apache2)
- Workerman - asynchronous event driven PHP socket framework (MIT)
- Yii2 - modern framework designed to be a solid foundation for your PHP application (BSDv3)
Extensions
- FrankenPHP - Writing PHP extensions in Go (MIT)
- PHP APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
- PHP CPP - monitoring extension enabling native Application Performance Management (APM) for PHP (PHPv3)
- Phalcon - A framework implemented as a C extension. (MIT)
- Zephir - compiled high-level language aimed to ease the creation of C-extensions (MIT)
- Swoole - coroutine-based concurrency library (Apachev2)
- ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust (Apachev2)
Platforms
Analytics
- Matomo - leading open-source alternative to Google Analytics, giving you complete control and built-in privacy (GPLv3)
Content Management Systems (CMS)
- Backdrop - A CMS targeting small-to-medium-sized business and non-profits (a fork of Drupal)
- BookStack - platform to create documentation/wiki content built with PHP & Laravel (MIT)
- Concrete5 - A CMS targeting users with a minimum of technical skills
- CraftCMS - Build bespoke content experiences with Craft (Commercial)
- DigiDocu - Open Source Documents Management System Built with Laravel 10 (GPLv3)
- Drupal - An enterprise level CMS (GPLv2)
- Grav - Modern Flat-File CMS powered by PHP, Markdown, Twig, and Symfony (MIT)
- Joomla - Home of the Joomla! Content Management System (GPLv2)
- Kirby - file-based CMS that adapts to you (Commercial)
- Magento - The most popular e-commerce platform (OSLv3)
- Moodle - An open-source learning platform (GPLv3)
- OpenMage - official LTS codebase for Magento Community Edition, with security patches and performance improvements (OSLv3)
- Pico CMS - stupidly simple, blazing fast, flat file CMS (MIT)
- Statamic - the flat-first, Laravel + Git powered CMS designed for building beautiful, easy to manage websites (Commercial)
- Sulu - highly extensible open-source PHP content management system based on the Symfony framework (MIT)
- TYPO3 - web content management system released under the GNU GPL (GPLv2)
- WordPress - open source publishing platform of choice for millions of websites worldwide—from creators and small businesses to enterprises (GPLv2)
- MediaWiki - free and open-source wiki software package (GPLv2)
E-commerce
- Money - implementation of Fowler's Money pattern (MIT)
- Brick Money - money and currency library (MIT)
- OmniPay - framework agnostic, multi-gateway payment processing library for PHP 5.6+ (MIT)
- Payum - payment processing library supporting Credit card & offsite purchasing, subscriptions and payouts (MIT)
- Shopsys Framework - fully functional e-commerce solution for businesses transitioning into tech companies with their own software development team (multiple)
- Shopware - open commerce platform based on Symfony Framework and Vue (MIT)
- Swap - currency conversion library for retrieving exchange rates from 30 providers, with caching and fallback (MIT)
- Sylius - An open source e-commerce solution.
ERP / CRM
- Dolibarr - a modern software package to manage your company or foundation's activity (GPLv3)
- Monica - personal CRM. Remember everything about your friends, family and business relationships (AGPLv3)
File Server
- NextCloud - safe home for all your data (AGPLv3)
Forum
- Flarum - Simple forum software for building great communities (MIT)
- MyBB - free and open source forum software (LGPLv3)
- phpBB - a popular open-source bulletin board (GPLv2)
- Vanilla - powerfully simple discussion forum you can easily customize to make as unique as your community (GPLv2)
Static Site Generators
- Couscous - Couscous generates a GitHub pages website from your markdown documentation (MIT)
- Jigsaw - Simple static sites with Laravel's Blade (MIT)
- Sculpin - takes data sources such as text files (Markdown, Textile, etc.) and transforms them using Twig templates to produce a set of static HTML files that can be deployed to almost any hosting platform (MIT)
Ecosystem
Build Tool
- Box - Fast, zero config application bundler with PHARs (MIT)
- Construct - A PHP project/micro-package generator for PDS compliant projects or micro-packages (MIT)
- Phing - PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant (LGPLv3)
- RMT - RMT is a handy tool to help releasing new version of your software (MIT)
Development tool / environment
- Ansible - A radically simple orchestration framework.
- CaptainHook - very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze (MIT)
- DDEV - a local web development environment system for PHP.
- Deployer - deployment tool with support for popular frameworks out of the box (MIT)
- Docker - A containerization platform.
- Docker PHP Extension Installer - Easily install PHP extensions in Docker containers.
- Docksal - Unified, Docker 🐳 powered web development environments for macOS, Windows, and Linux.
- Expose - An open-source PHP tunneling service.
- Lando - Push-button development environments.
- Laravel Homestead - A local development environment for Laravel.
- Laravel Herd - A one click PHP development environment for macOS and Windows.
- Laradock - A full PHP development environment based on Docker.
- PHPMon - A macOS menu bar app for managing PHP installations (works with Laravel Valet).
- Puppet - A server automation framework and application.
- Rocketeer - Send your projects up in the clouds (MIT)
- Laravel Sail - Docker files for running a basic Laravel application (MIT)
- Takeout - A Docker-based development-only dependency manager.
- Vagrant - A portable development environment utility.
- ClassPreloader - A library for optimizing autoloading.
Dependency Management
- Composer Installers - A multi-framework Composer library installer.
- Composer - A package and dependency manager.
- Pie - The official PHP installer for extensions.
- Phive - A PHAR manager.
- Pickle - A PHP extension installer.* Composed - A library to parse your project's Composer environment at runtime.
- Composer Merge Plugin - A composer plugin to merge several
composer.jsonfiles. - Composer Normalize - A plugin for normalizing
composer.jsonfiles. - Composer Patches - A plugin for Composer to apply patches.
- Composer Prefer Lowest Validator - A plugin to check if minimum dependencies can be installed and tested.
- Composer Require Checker - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
- Composer Unused - A CLI Tool to scan for unused composer packages.
- Repman - A private PHP package repository manager and Packagist proxy.
- Satis - A static Composer repository generator.
- Tooly - A library to manage PHAR files in a project using Composer.
- Toran Proxy - A Composer proxy for speed and reliability. (⚠️ Toran Proxy is being phased out.)
PHP Installation
- Brew PHP Switcher - Brew PHP switcher.
- HomeBrew - A package manager for OSX.
- PHP Brew - A PHP version manager and installer.
- PHP Build - Another PHP version installer.
- Static PHP CLI - Build or download static versions of PHP CLI and FPM.
- PCEL - repository for PHP Extensions, providing a directory of all known extensions
Server
- amphp/http-server - An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands (MIT)
- appserver.io - A multithreaded application server for PHP, written in PHP.
- php-pm - A process manager, supercharger and load balancer for PHP applications.
- RoadRunner - High-performance PHP application server, load-balancer and process manager.
- FrankenPHP - The modern PHP app server written in Golang (MIT)
- Ratchet - Asynchronous WebSocket server (MIT)
- Restler - A lightweight framework to expose PHP methods as RESTful web API.
Editor and IDE
- Eclipse for PHP Developers - A PHP IDE based on the Eclipse platform.
- Apache NetBeans - An IDE with support for PHP and HTML5.
- PhpEd - An IDE with professional commercial debugger.
- PhpStorm - A commercial PHP IDE.
- VS Code - An open source code editor.
- Laminas API Tool Skeleton - An API builder built with the Laminas Framework.
Virtual Machines
- Hack - A programming language for HHVM.
- HHVM - A Virtual Machine, Runtime and JIT for PHP by Facebook.
- PeachPie - PHP compiler and runtime for .NET and .NET Core.
Web Application
- 3V4L - An online PHP & HHVM shell.
- Adminer - Database management in a single PHP file.
- Cachet - The open source status page system.
- DBV - A database version control application.
- Lychee - An easy to use and great looking photo-management-system.
- MailCatcher - A web tool for capturing and viewing emails.
- phpMyAdmin - A web interface for MySQL/MariaDB.
- PHP Queue - An application for managing queueing backends.
- phpRedisAdmin - A simple web interface to manage Redis databases.
- PHPSandbox - An online IDE for PHP in the browser.
Utility
- PackageGenerator - Package Generator generates a PHP SDK from any WSDL.
Resources
Web Service
- Code Climate - An automated code review.
- CircleCI
- Gitlab CI/CD
- Jenkins
- Laravel Vapor - serverless deployment platform for Laravel, powered by AWS
- SemaphoreCI
- Travis CI
- BugSnag - Error and Real User Monitoring.
- Honeybadger - Error Tracking & Application Monitoring for Developers.
- Rollbar - Error Logging & Tracking Service for Software Teams.
- Sentry - Application Performance Monitoring & Error Tracking Software.
- Tideways - Monitoring and profiling tool.
- Bldr - A PHP Task runner built on Symfony components.
- API Platform - Expose in minutes a hypermedia REST API that embraces JSON-LD, Hydra format.
Tutorial / Learning
- Design Patterns PHP - A repository of software patterns implemented in PHP.
- Nomad PHP - A online PHP learning resource.
- Laravel News - The official Laravel blog.
- PHP Annotated Monthly - A monthly digest of PHP news.
- PHP FIG - The PHP Framework Interoperability Group.
- PHP Package Development Standards - Package development standards for PHP.
- PHP School - Open Source Learning for PHP.
- PHP The Right Way - A PHP best practice quick reference guide.
- PHP UG - A website to help people locate their nearest PHP user group (UG).
- PHP Watch - PHP articles, news, upcoming changes, RFCs and more.
- Unit Testing Tips - Unit Testing Tips by examples in PHP.
- PHP Internals Book - An online book about PHP internals, written by three core developers.
- Mastering PHP
Books
- Domain-Driven Design in PHP - Real examples written in PHP showcasing DDD Architectural Styles.
- Functional Programming in PHP - This book will show you how to leverage these new PHP5.3+ features by understanding functional programming principles
- Grumpy PHPUnit - A book about unit testing with PHPUnit by Chris Hartjes.
- Mastering Object-Orientated PHP - A book about object-orientated PHP by Brandon Savage.
- PHP Cookbook - This cookbook provides code recipes to help you resolve a variety of coding issues.
- Modernizing Legacy Applications in PHP - A book about modernizing legacy PHP applications by Paul M. Jones.
- Scaling PHP Applications - An ebook about scaling PHP applications by Steve Corona.
- Securing PHP: Core Concepts - A book about common security terms and practices for PHP by Chris Cornutt.
- Signaling PHP - A book about catching PCNTL signals in CLI scripts by Cal Evans.
- 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.
Videos
- Laracasts - Screencasts about Laravel, Vue JS and more.
- Laravel YouTube Channel - The official Laravel YouTube channel.
- Program With Gio - PHP 8 course by Gio.
- Programming with Anthony - A video series by Anthony Ferrara.
- SymfonyCasts - Screencasts and tutorials about PHP and Symfony.
Conferences
- Laracon EU - Laracon EU is a 2-day event for people who are interested in learning Laravel and related technologies, or who want to share their knowledge with others.
- PHP[TEK] - The longest-running web developer conference in the United States that has a focus on the PHP programming language.
- PHP UK Conference - A collection of videos from the PHP UK Conference.
Podcasts
- Laravel News Podcast - The Laravel News Podcast brings you all the latest news and events related to the Laravel PHP Framework.
- Mostly Technical - Hosted by Ian Landsman and Aaron Francis, Mostly Technical is a lively discussion on Laravel, business, and an eclectic mix of related topics.
- No Compromises - Two seasoned salty programming veterans talk best practices based on years of working with Laravel SaaS teams.
- North Meets South Web Podcast - Jacob Bennett and Michael Dyrynda conquer a 14.5 hour time difference to talk about life as web developers.
- Over Engineered - A podcast in mini-series where we explore unimportant programming questions in extreme detail.
- PHP Internals News - A podcast about PHP internals.
- PHP Town Hall - A casual PHP podcast by Ben Edmunds and Phil Sturgeon.
- php[podcast] episodes from php[architect] - The official podcast of php[architect] the industry's leading tech magazine and publisher focused on PHP and web development.
- PHPUgly - The ramblings of a few overworked PHP Developers.
- The Laracasts Snippet - The Laracasts snippet, each episode, offers a single thought on some aspect of web development.
- The Laravel Podcast - Laravel and PHP development news and discussion.
- The PHP Roundtable - The PHP Roundtable is a casual gathering of developers discussing topics that PHP nerds care about.
Newsletters
- PHP Weekly - A weekly newsletter about PHP.
Reading
- php[architect] - A monthly magazine dedicated to PHP.
Internals Reading
- PHP RFCs - The home of PHP RFCs (Request for Comments).
- Externals - PHP internal discussions.
- PHP RFC Watch - Watch the latest PHP RFCs.
Package Repository
- Firegento - Magento Module Composer Repository.
- Packagist - The PHP Package Repository.
- Packalyst - The Laravel Package Repository
- Private Packagist - Composer package archive as a service for PHP.
- WordPress Packagist - Manage your plugins with Composer.