awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/mario-deluna/awesome-php
Last synced: 6 days ago
JSON representation
-
Table of Contents
-
Composer Repositories
- WordPress Packagist - Manage your plugins with Composer.
- Firegento - Magento Module Composer Repository.
- Packagist - The PHP Package Repository.
- Private Packagist - Composer package archive as a service for PHP.
- Firegento - Magento Module Composer Repository.
- Packagist - The PHP Package Repository.
- Private Packagist - Composer package archive as a service for PHP.
- WordPress Packagist - Manage your plugins with Composer.
-
Dependency Management
- Composer Installers - A multi-framework Composer library installer.
- Composer - A package and dependency manager.
- Phive - A PHAR manager.
- Pickle - A PHP extension installer.
- Composer Installers - A multi-framework Composer library installer.
- Composer - A package and dependency manager.
- Phive - A PHAR manager.
- Pickle - A PHP extension installer.
-
Dependency Management Extras
- Composed - A library to parse your project's Composer environment at runtime.
- Composer Merge Plugin - A composer plugin to merge several `composer.json` files.
- Composer Normalize - A plugin for normalizing `composer.json` files.
- Composer Patches - A plugin for Composer to apply patches.
- Composer Prefer Lowest Validator - A plugin to check if minimum dependencies can be installed and tested.
- Composer Require Checker - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
- Composer Unused - A CLI Tool to scan for unused composer packages.
- Prestissimo - This is a composer 1.x plugin that downloads packages in parallel to speed up the installation process.
- Satis - A static Composer repository generator.
- Tooly - A library to manage PHAR files in a project using Composer.
- Satis - A static Composer repository generator.
- Tooly - A library to manage PHAR files in a project using Composer.
- Composed - A library to parse your project's Composer environment at runtime.
- Composer Merge Plugin - A composer plugin to merge several `composer.json` files.
- Composer Normalize - A plugin for normalizing `composer.json` files.
- Composer Patches - A plugin for Composer to apply patches.
- Composer Prefer Lowest Validator - A plugin to check if minimum dependencies can be installed and tested.
- Composer Require Checker - CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package.
- Composer Unused - A CLI Tool to scan for unused composer packages.
- Prestissimo - This is a composer 1.x plugin that downloads packages in parallel to speed up the installation process.
-
Frameworks
- CakePHP - A rapid application development framework.
- CodeIgniter - A powerful PHP framework with a very small footprint.
- CakePHP - A rapid application development framework.
- CodeIgniter - A powerful PHP framework with a very small footprint.
- Laminas - A framework comprised of individual components (previously Zend Framework).
- Phalcon - A framework implemented as a C extension.
- Spiral - A high-performance PHP/Go framework.
- Symfony - A set of reusable components and a web framework.
- Yii2 - A fast, secure, and efficient web framework.
- Laminas - A framework comprised of individual components (previously Zend Framework).
- Laravel - A web application framework with expressive, elegant syntax.
- Phalcon - A framework implemented as a C extension.
- Spiral - A high-performance PHP/Go framework.
- Symfony - A set of reusable components and a web framework.
- Yii2 - A fast, secure, and efficient web framework.
- Laravel - A web application framework with expressive, elegant syntax.
-
Framework Extras
- CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
- Knp RAD Components - A set of Rapid Application Development (RAD) components for Symfony.
- LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
- Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
- CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
- Knp RAD Components - A set of Rapid Application Development (RAD) components for Symfony.
- LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
- Livewire - Powerful, dynamic, front-end UIs without leaving PHP.
-
Content Management Systems (CMS)
- Concrete5 - A CMS targeting users with a minimum of technical skills.
- CraftCMS - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
- Kirby - A flat-file CMS that adapts to any project.
- Magento - The most popular e-commerce platform.
- Moodle - An open-source learning platform.
- Pico CMS - A stupidly simple, blazing fast, flat file CMS.
- Statamic - Build beautiful, easy-to-manage websites.
- WordPress - A blogging platform and CMS.
- Grav - A modern flat-file CMS.
- Joomla - Another leading CMS.
- WordPress - A blogging platform and CMS.
- Joomla - Another leading CMS.
- Kirby - A flat-file CMS that adapts to any project.
- Concrete5 - A CMS targeting users with a minimum of technical skills.
- CraftCMS - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
- Grav - A modern flat-file CMS.
- Magento - The most popular e-commerce platform.
- Moodle - An open-source learning platform.
- Pico CMS - A stupidly simple, blazing fast, flat file CMS.
- Statamic - Build beautiful, easy-to-manage websites.
-
Components
- Aura - Independent components, fully decoupled from each other and from any framework.
- CakePHP Plugins - A directory of CakePHP plugins.
- Laravel Components - The Laravel Framework components.
- League of Extraordinary Packages - A PHP package development group.
- Spatie Open Source - A collection of open-source PHP and Laravel packages.
- Symfony Components - The components that make Symfony.
- Laminas Components - The components that make the Laminas Framework.
- Symfony Components - The components that make Symfony.
- Laminas Components - The components that make the Laminas Framework.
- Aura - Independent components, fully decoupled from each other and from any framework.
- CakePHP Plugins - A directory of CakePHP plugins.
- Laravel Components - The Laravel Framework components.
- League of Extraordinary Packages - A PHP package development group.
- Spatie Open Source - A collection of open-source PHP and Laravel packages.
-
Micro Frameworks
- Mezzio - A micro-framework by Laminas.
- Radar - An Action-Domain-Responder implementation for PHP.
- Silly - A micro-framework for CLI applications.
- Slim - Another simple micro framework.
- Mezzio - A micro-framework by Laminas.
- Radar - An Action-Domain-Responder implementation for PHP.
- Silly - A micro-framework for CLI applications.
- Slim - Another simple micro framework.
-
Micro Framework Extras
- Slim Skeleton - A skeleton for Slim.
- Slim Twig View - Integrate Twig into Slim.
- Slim PHP View - A simple PHP renderer for Slim.
- Slim Skeleton - A skeleton for Slim.
- Slim Twig View - Integrate Twig into Slim.
- Slim PHP View - A simple PHP renderer for Slim.
-
Static Site Generators
-
HTTP
- Buzz - Another HTTP client.
- Guzzle - A comprehensive HTTP client.
- Nyholm PSR-7 - A super lightweight PSR-7 implementation. Very strict and very fast.
- PHP VCR - A library for recording and replaying HTTP requests.
- Requests - A simple HTTP library.
- Retrofit - A library to ease creation of REST API clients.
- Symfony HTTP Client - A component to fetch HTTP resources synchronously or asynchronously.
- Laminas Diactoros - PSR-7 HTTP Message implementation.
-
Scraping
- Chrome PHP - Instrument headless Chrome/Chromium instances from PHP.
- DiDOM - A super-fast HTML scrapper and parser.
- Embed - An information extractor from any web service or page.
- Goutte - A simple web scraper.
- Symfony Panther - A browser testing and web crawling library for PHP and Symfony.
- PHP Spider - A configurable and extensible PHP web spider.
-
Middlewares
- PSR-7 Middlewares - Inspiring collection of handy middlewares.
- Relay - A PHP 5.5 PSR-7 middleware dispatcher.
- Stack - A library of stackable middleware for Symfony.
- Laminas Stratigility - Middleware for PHP built on top of PSR-7.
-
Routers
- Aura.Router - A full-featured routing library.
- Fast Route - A fast routing library.
- Klein - A flexible router.
- Pux - Another fast routing library.
- Route - A routing library built on top of Fast Route.
- Pux - Another fast routing library.
- Route - A routing library built on top of Fast Route.
- Aura.Router - A full-featured routing library.
- Fast Route - A fast routing library.
- Klein - A flexible router.
-
Templating
- Latte - The safest and truly intuitive templates for PHP.
- MtHaml - A PHP implementation of the HAML template language.
- Mustache - A PHP implementation of the Mustache template language.
- PHPTAL - A PHP implementation of the [TAL](https://en.wikipedia.org/wiki/Template_Attribute_Language) templating language.
- Plates - A native PHP templating library.
- Smarty - A template engine to complement PHP.
- Twig - A comprehensive templating language.
- Latte - The safest and truly intuitive templates for PHP.
- MtHaml - A PHP implementation of the HAML template language.
- Mustache - A PHP implementation of the Mustache template language.
- PHPTAL - A PHP implementation of the [TAL](https://en.wikipedia.org/wiki/Template_Attribute_Language) templating language.
- Plates - A native PHP templating library.
- Smarty - A template engine to complement PHP.
- Twig - A comprehensive templating language.
-
URL
- PHP Domain Parser - A domain suffix parser library.
- Purl - A URL manipulation library.
- sabre/uri - A functional URI manipulation library.
- Uri - Another URL manipulation library.
-
Email
- CssToInlineStyles - A library to inline CSS in email templates.
- Email Reply Parser - An email reply parser library.
- Email Validator - A small email address validation library.
- Fetch - An IMAP library.
- Mautic - Email marketing automation
- PHPMailer - Another mailer solution.
- PHP IMAP - A library to access mailboxes via POP3, IMAP and NNTP.
- Stampie - A library for email services such as [SendGrid](https://sendgrid.com/), [PostMark](https://postmarkapp.com), [MailGun](https://www.mailgun.com/) and [MailChimp](https://mailchimp.com/features/transactional-email/).
- Symfony Mailer - A powerful library for creating and sending emails.
-
Files
- CSV - A CSV data manipulation library.
- Flysystem - Abstraction for local and remote filesystems.
- Gaufrette - A filesystem abstraction layer.
- PHP FFmpeg - A wrapper for the [FFmpeg](https://www.ffmpeg.org/) video library.
- UnifiedArchive - A unified reader and writer of compressed archives.
-
Dependency Injection
- Aura.Di - A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
- Acclimate - A common interface to dependency injection containers and service locators.
- Auryn - A recursive dependency injector.
- Container - Another flexible dependency injection container.
- Disco - A PSR-11 compatible, annotation-based dependency injection container.
- PHP-DI - A dependency injection container that supports autowiring.
- Pimple - A tiny dependency injection container.
- Symfony DI - A dependency injection container component.
-
Streams
- ByteStream - An asynchronous stream abstraction.
- Streamer - A simple object-orientated stream wrapper library.
-
Imagery
- Color Extractor - A library for extracting colours from images.
- Glide - An on-demand image manipulation library.
- Image Hash - A library for generating perceptual image hashes.
- Image Optimizer - A library for optimizing images.
- Imagine - An image manipulation library.
- Intervention Image - Another image manipulation library.
- PHP Image Workshop - Another image manipulation library.
-
Testing
- Alice - An expressive fixture generation library.
- AspectMock - A mocking framework for PHPUnit/Codeception.
- Atoum - A simple testing library.
- Behat - A behaviour driven development (BDD) testing framework.
- Codeception - A full stack testing framework.
- Faker - A fake data generator library.
- Foundry - A fixture factory generation library for Doctrine.
- HTTP Mock - A library for mocking HTTP requests in unit tests.
- Infection - An AST-based PHP Mutation testing framework.
- Kahlan - Full stack Unit/BDD testing framework with built-in stub, mock and code-coverage support.
- Mink - Web acceptance testing.
- Mockery - A mock object library for testing.
- ParaTest - A parallel testing library for PHPUnit.
- Pest - A testing framework with a focus on simplicity.
- Peridot - An event-driven test framework.
- Phake - Another mock object library for testing.
- Pho - Another behavior-driven development testing framework.
- PHP-Mock - A mock library for built-in PHP functions (e.g. time()).
- PHP MySQL Engine - A MySQL engine written in pure PHP.
- PHPSpec - A design by specification unit testing library.
- PHPT - A test tool used by PHP itself.
- PHPUnit - A unit testing framework.
- Prophecy - A highly opinionated mocking framework.
- VFS Stream - A virtual filesystem stream wrapper for testing.
-
Documentation
- APIGen - Another API documentation generator.
- daux.io - A documentation generator that uses Markdown files.
- PHP Documentor 2 - A documentation generator.
- phpDox - A documentation generator for PHP projects (that is not limited to API documentation).
-
Continuous Integration
- GitlabCi - Let GitLab CI test, build, deploy your code. TravisCi like.
- Jenkins - A continuous integration platform with [PHP support](https://www.jenkins.io/solutions/php/).
- JoliCi - A continuous integration client written in PHP and powered by Docker.
- PHPCI - An open-source continuous integration platform for PHP.
- SemaphoreCI - A continuous integration platform for open-source and private projects.
- Shippable - A Docker based continuous integration platform for open source and private projects.
- Setup PHP - A GitHub Action for PHP.
-
Security
- Halite - A simple library for encryption using [libsodium](https://github.com/jedisct1/libsodium).
- HTML Purifier - A standards compliant HTML filter.
- IniScan - A tool that scans PHP INI files for security.
- Optimus - Id obfuscation based on Knuth's multiplicative hashing method.
- PHPGGC - A library of PHP unserializable payloads along with a tool to generate them.
- PHP Encryption - Secure PHP Encryption Library.
- PHP SSH - An experimental object-orientated SSH wrapper library.
- random_compat - PHP 5.x support for `random_bytes()` and `random_int()`
- RandomLib - A library for generating random numbers and strings.
- Symfony Security Monitoring - A web tool to check your Composer dependencies for security advisories, previously known as "SensioLabs Security Check".
- SQLMap - An automatic SQL injection and database takeover tool.
- TCrypto - A simple encrypted key-value storage library.
- VAddy - A continuous security testing platform for web applications.
- Zap - An integrated penetration testing tool for web applications.
-
Passwords
- Password Compat - A compatibility library for the new PHP 5.5 password functions.
- Password Policy - A password policy library for PHP and JavaScript.
- Password Validator - A library for validating and upgrading password hashes.
- Password-Generator - PHP library to generate random passwords.
- GenPhrase - A library for generating secure random passphrases.
- PHP Password Lib - A library for generating and validating passwords.
- phpass - A portable password hashing framework.
- Zxcvbn PHP - A realistic PHP password strength estimate library based on Zxcvbn JS.
-
Code Analysis
- Better Reflection - AST-based reflection library that allows analysis and manipulation of code
- Code Climate - An automated code review.
- GrumPHP - A PHP code-quality tool.
- PHPLOC - A tool for quickly measuring the size of a PHP project.
- PHPQA - A tool for running QA tools (phploc, phpcpd, phpcs, pdepend, phpmd, phpmetrics).
- Qafoo Quality Analyzer - A tool to visualize metrics and source code.
- Rector - A tool to upgrade and refactor code.
- Scrutinizer - A web tool to [scrutinise PHP code](https://github.com/scrutinizer-ci/php-analyzer).
- UBench - A simple micro-benchmark library.
- PHP Parser - A PHP parser written in PHP.
- PHP Semantic Versioning Checker - A command line utility that compares two source sets and determines the appropriate semantic versioning to apply.
- Phpactor - PHP completion, refactoring and introspection tool.
-
Code Quality
- CaptainHook - An easy-to-use and flexible Git hook library.
- PHP CodeSniffer - A library that detects PHP, CSS and JS coding standard violations.
- PHP CS Fixer - A coding standards fixer library.
- PHP Mess Detector - A library that scans code for bugs, sub-optimal code, unused parameters and more.
- PHPCheckstyle - A tool to help adhere to certain coding conventions.
- PHPCPD - A library that detects copied and pasted code.
-
Static Analysis
- Exakat - A static analysis engine for PHP.
- Deptrac - A static code analysis tool that helps to enforce rules for dependencies between software layers.
- Mondrian - A code analysis tool using Graph Theory.
- phan - A static analyzer based on PHP 7+ and the php-ast extension.
- PHP Architecture Tester - Easy-to-use architecture testing tool for PHP.
- PHPCompatibility - A PHP compatibility checker for PHP CodeSniffer.
- PhpDependencyAnalysis - A tool to create customizable dependency graphs.
- PHP Metrics - A static metric library.
- PHP Migration - A static analyzer for PHP version migration.
- PHPStan - A PHP Static Analysis Tool.
- Psalm - A static analysis tool for finding errors in PHP applications.
-
Architectural
- Design Patterns PHP - A repository of software patterns implemented in PHP.
- Finite - A simple PHP finite state machine.
- Functional PHP - A functional programming library.
- Pipeline - A pipeline pattern implementation.
- Porter - Data import abstraction library for consuming Web APIs and other data sources.
- RulerZ - A powerful rule engine and implementation of the Specification pattern.
- Iter - A library that provides iteration primitives using generators.
- Patchwork - A library for redefining userland functions.
-
Debugging and Profiling
- APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
- Barbushin PHP Console - Another web debugging console using Google Chrome.
- Kint - A debugging and profiling tool.
- Metrics - A simple metrics API library.
- PCOV - A self-contained code coverage compatible driver.
- PHP Console - A web debugging console.
-
-
Contributing and Collaborating
- CONTRIBUTING - OF-CONDUCT](https://github.com/php-collective/awesome-php/blob/master/CODE-OF-CONDUCT.md) and [COLLABORATING](https://github.com/php-collective/awesome-php/blob/master/COLLABORATING.md) for details.
- CONTRIBUTING - OF-CONDUCT](https://github.com/php-collective/awesome-php/blob/master/CODE-OF-CONDUCT.md) and [COLLABORATING](https://github.com/php-collective/awesome-php/blob/master/COLLABORATING.md) for details.
Programming Languages
Sub Categories
Testing
24
Content Management Systems (CMS)
20
Dependency Management Extras
20
Frameworks
16
Components
14
Templating
14
Security
14
Code Analysis
12
Static Analysis
11
Routers
10
Email
9
Dependency Injection
8
HTTP
8
Micro Frameworks
8
Composer Repositories
8
Dependency Management
8
Architectural
8
Passwords
8
Framework Extras
8
Imagery
7
Continuous Integration
7
Code Quality
6
Scraping
6
Debugging and Profiling
6
Micro Framework Extras
6
Files
5
Middlewares
4
URL
4
Documentation
4
Static Site Generators
2
Streams
2
Keywords
php
88
composer
15
static-analysis
10
symfony
8
psr-7
8
testing
8
http
7
php7
6
twig
6
phpunit
5
code-quality
5
bdd
4
php8
4
content-management
4
cms
4
routing
4
router
4
composer-scripts
4
framework
4
composer-plugin
3
doctrine
3
markdown
3
mock
3
ast
3
cli
3
static-analyzer
3
component
3
symfony-component
3
parser
3
aura
3
dependency-injection
3
filesystem
3
image
3
test
3
phar
3
laravel
3
performance
3
psr-11
2
dependency-injection-container
2
cakephp
2
container-interop
2
php-library
2
email
2
uri
2
url
2
haml-php
2
haml
2
fastroute
2
cakephp-plugin
2
request-uri
2