awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/ziadoz/awesome-php
Last synced: 10 days ago
JSON representation
-
Table of Contents
-
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.
-
Micro Frameworks
- Laravel-Zero - A micro-framework for console applications.
- Lumen - A micro-framework by Laravel.
- Mezzio - A micro-framework by Laminas.
- Slim - Another simple micro framework.
- Minicli - Minimalist, dependency-free framework for building CLI-centric PHP applications.
- Silly - A micro-framework for CLI applications.
- Laravel Zero - A micro-framework for console applications.
-
Middlewares
- Stack - A library of stackable middleware for Symfony.
- PSR-7 Middlewares - Inspiring collection of handy middlewares.
- Relay - A PHP 5.5 PSR-7 middleware dispatcher.
- Laminas Stratigility - Middleware for PHP built on top of PSR-7.
- PSR-15 Middlewares - Inspiring collection of handy middlewares.
-
Migrations
- Doctrine Migrations - A migration library for Doctrine.
- Migrations - A migration management library.
- Phinx - Another database migration library.
- PHPMig - Another migration management library.
- Ruckusing - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite.
-
Miscellaneous
- Annotations - An annotation library (part of Doctrine).
- BotMan - A framework agnostic PHP library to build cross-platform chatbots.
- ClassPreloader - A library for optimizing autoloading.
- Ganesha - A PHP implementation of Circuit Breaker pattern.
- Hprose-PHP - A cross-language RPC.
- noCAPTCHA - Helper for Google's noCAPTCHA (reCAPTCHA).
- Pagerfanta - A pagination library.
- Safe - All PHP functions, rewritten to throw exceptions instead of returning false.
- Laravel Serializable Closure - A library that allows Closures to be serialized.
-
Navigation
-
NoSQL
- MongoDB - MongoDB PHP Driver.
- PHPMongo - A MongoDB ORM.
- Predis - A feature-complete Redis library.
- MongoDB PHP Library - The official high-level MongoDB PHP library built on top of the MongoDB PHP Driver.
-
Notifications
- JoliNotif - A cross-platform library for desktop notification (support for Growl, notify-send, toaster, etc).
- Notification Pusher - A standalone library for device push notifications.
- Notificato - A library for handling push notifications.
- Notificator - A lightweight notification library.
- Php-pushwoosh - A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.
-
Numbers
- Brick Math - A library providing large number support: `BigInteger`, `BigDecimal` and `BigRational`.
- ByteUnits - A library to parse, format and convert byte units in binary and metric systems.
- DecimalObject - A value object to handle decimals/floats easily and more precisely.
- IP - An immutable value object for working with IPv4 and IPv6 addresses.
- PHP Conversion - Another library for converting between units of measure.
- PHP Units of Measure - A library for converting between units of measure.
- MathPHP - A math library for PHP.
- PHP Conversion - Another library for converting between units of measure.
-
Office
- PHPPowerPoint - A library for working with Microsoft PowerPoint Presentations.
- PHPWord - A library for working with Microsoft Word documents.
- PHPSpreadsheet - A pure PHP library for reading and writing spreadsheet files (successor of PHPExcel).
- OpenSpout - A community driven fork of `box/spout`, a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way.
-
Passwords
- phpass - A portable password hashing framework.
- GenPhrase - A library for generating secure random passphrases.
- 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.
- PHP Password Lib - A library for generating and validating passwords.
- Zxcvbn PHP - A realistic PHP password strength estimate library based on Zxcvbn JS.
-
PDF
- TCPDF - An open source PHP class for generating PDF documents.
- Browsershot - Convert HTML to an image, PDF or string.
- Dompdf - A HTML to PDF converter.
- Gotenberg - A PHP client for interacting with Gotenberg.
- Snappy - A PDF and image generation library.
-
PHP Books
- Domain-Driven Design in PHP - Real examples written in PHP showcasing DDD Architectural Styles.
- Functional Programming in PHP - A book on applying functional programming principles and techniques in PHP.
- Modernizing Legacy Applications in PHP - A book about modernizing legacy PHP applications by Paul M. Jones.
- 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.
- 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.
-
PHP Conferences
- PHP[TEK - The longest-running web developer conference in the United States that has a focus on the PHP programming language.
- 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 Installation
- Homebrew - A package manager for macOS.
- Brew PHP Switcher - Brew PHP switcher.
- PHP Brew - A PHP version manager and installer.
- PHP Build - Another PHP version installer.
- Static PHP CLI - Build or [download](https://dl.static-php.dev/static-php-cli/) static versions of PHP CLI and FPM.
-
PHP Internals Reading
- PHP RFCs - The home of PHP RFCs (Request for Comments).
- Externals - PHP internal discussions.
- PHP Internals Book - An online book about PHP internals, written by three core developers.
- PHP RFC Watch - Watch the latest PHP [RFCs](https://wiki.php.net/rfc).
-
PHP Newsletters
- PHP Weekly - A weekly newsletter about PHP.
-
PHP Podcasts
- The Laravel Podcast - Laravel and PHP development news and discussion.
- Laravel News Podcast - The Laravel News Podcast brings you all the latest news and events related to the Laravel PHP Framework.
- The PHP Roundtable - The PHP Roundtable is a casual gathering of developers discussing topics that PHP nerds care about.
- PHP Town Hall - A casual PHP podcast by Ben Edmunds and Phil Sturgeon.
- php[podcast - The official podcast of php[architect] the industry's leading tech magazine and publisher focused on PHP and web development.
- Over Engineered - A podcast in mini-series where we explore unimportant programming questions in extreme detail.
- PHPUgly - The ramblings of a few overworked PHP Developers.
- 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.
- 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.
- PHP Internals News - A podcast about PHP internals.
-
PHP Reading
- php[architect - A monthly magazine dedicated to PHP.
-
PHP Videos
- SymfonyCasts - Screencasts and tutorials about PHP and Symfony.
- Laracasts - Screencasts about Laravel, Vue JS and more.
- Program With Gio - PHP 8 course by Gio.
-
PHP Websites
- 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 Watch - PHP articles, news, upcoming changes, RFCs and more.
- Unit Testing Tips - Unit Testing Tips by examples in PHP.
-
Queue
- Bernard - A multibackend abstraction library.
- BunnyPHP - A performant pure-PHP AMQP (RabbitMQ) sync and also async (ReactPHP) library.
- Pheanstalk - A Beanstalkd client library.
- PHP AMQP - A pure PHP AMQP library.
- Tarantool Queue - PHP bindings for Tarantool Queue.
- Thumper - A RabbitMQ pattern library.
- Enqueue - A message queue package for PHP that supports RabbitMQ, AMQP, STOMP, Amazon SQS, Redis and Doctrine transports.
-
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.
-
Scraping
- Chrome PHP - Instrument headless Chrome/Chromium instances from PHP.
- CrawlerDetect - A PHP class for detecting bots/crawlers/spiders via the user agent.
- DiDOM - A super-fast HTML scrapper and parser.
- Embed - An information extractor from any web service or page.
- PHP Spider - A configurable and extensible PHP web spider.
- Symfony Panther - A browser testing and web crawling library for PHP and Symfony.
- Embed - An information extractor from any web service or page.
-
Search
- Solarium - A client library for [Solr](https://solr.apache.org/).
- Elastica - A client library for ElasticSearch.
- ElasticSearch PHP - The official client library for [ElasticSearch](https://www.elastic.co/).
- SphinxQL Query Builder - A query library for the [Sphinx](https://sphinxsearch.com/) and [Manticore](https://manticoresearch.com/) search engines.
-
Security
- Halite - A simple library for encryption using [libsodium](https://github.com/jedisct1/libsodium).
- PHPSecLib - A pure PHP secure communications library.
- Symfony Security Monitoring - A web tool to check your Composer dependencies for security advisories, previously known as "SensioLabs Security Check".
- VAddy - A continuous security testing platform for web applications.
- OWASP - Explore the world of cyber security.
- AntiXSS - A library that tries to preventing Cross-Site Scripting (XSS) attacks by blacklisting.
- 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.
- random_compat - PHP 5.x support for `random_bytes()` and `random_int()`
- Roave Security Advisories - This package ensures that your application doesn't have installed dependencies with known security vulnerabilities.
- Secure Headers - A package that adds security related headers to HTTP response.
- SQLMap - An automatic SQL injection and database takeover tool.
- Zap - An integrated penetration testing tool for web applications.
- PHPSecLib - A pure PHP secure communications library.
- PHPSecLib - A pure PHP secure communications library.
-
Serverless
- Bref - Serverless PHP on AWS Lambda.
- OpenWhisk - An open-source serverless cloud platform.
- Serverless Framework - An open-source framework for building serverless applications.
- Laravel Vapor - A serverless deployment platform for Laravel, powered by AWS.
-
Static Analysis
- Exakat - A static analysis engine for PHP.
- Deptrac - A static analysis tool for enforcing dependency rules between architectural 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.
- PHPDoc Parser - Next-gen phpDoc parser with support for intersection types and generics.
- 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.
- Dead Code Detector - A PHPStan extension for finding unused PHP code.
- Larastan - A PHPStan wrapper for Laravel that adds static analysis to Laravel projects.
- Mago - A toolchain for PHP that aims to improve the developer experience.
- Deptrac - A static analysis tool for enforcing dependency rules between architectural layers.
-
Static Site Generators
- Couscous - Couscous turns Markdown documentation into beautiful websites. It's GitHub Pages on steroids.
- Jigsaw - Simple static sites with Laravel's Blade.
- Sculpin - A tool that converts Markdown and Twig into static HTML.
- Spress - An extensible tool that converts Markdown and Twig into HTML.
- Cecil - A simple and powerful content-driven static site generator.
-
Streams
- ByteStream - An asynchronous stream abstraction.
- Streamer - A simple object-orientated stream wrapper library.
-
Strings
- UA Parser - A library for parsing user agent strings.
- Agent - A PHP desktop/mobile user agent parser, based on Mobiledetect.
- ANSI to HTML5 - An ANSI to HTML5 converter library.
- Color Jizz - A library for manipulating and converting colors.
- Device Detector - Another library for parsing user agent strings.
- Hyphenation - Text hyphenation based on the TeX hyphenation algorithm.
- Jieba-PHP - A PHP port of Python's jieba. Chinese text segmentation for natural language processing.
- Mobile-Detect - A lightweight PHP class for detecting mobile devices (including tablets).
- Patchwork UTF-8 - A portable library for working with UTF-8 strings.
- Portable ASCII - A library to convert strings to ASCII.
- Portable UTF-8 - A string manipulation library with UTF-8 safe replacement methods.
- Slugify - A library to convert strings to slugs.
- Stringy - A string manipulation library with multibyte support.
- URLify - A PHP port of Django's URLify.js.
- UUID - A library for generating UUIDs.
- Url highlight - A library for parsing URLs from text and converting them into clickable links.
- SQL Formatter - A library for formatting SQL statements.
-
Task Runners
-
Templating
-
Programming Languages
Categories
Sub Categories
Testing
22
Content Management Systems (CMS)
20
Debugging and Profiling
19
Development Environment
17
Strings
17
Static Analysis
16
Event
16
Security
16
Filtering, Sanitizing and Validation
15
PHP Books
15
Code Analysis
15
Database
15
PHP Websites
15
Authentication and Authorization
14
PHP Podcasts
14
Web Applications
13
Markup and CSS
13
PHP Videos
11
Email
11
Architectural
11
Data Structure and Storage
11
Dependency Management Extras
11
Command Line
11
Frameworks
11
HTTP
10
Code Quality
10
Miscellaneous
10
API
9
Dependency Injection
9
Imagery
8
Numbers
8
Templating
8
Third Party APIs
8
Passwords
8
Date and Time
8
Caching and Locking
8
Queue
7
Micro Frameworks
7
Error Tracking and Monitoring Services
7
E-commerce
7
Scraping
7
LLMs
7
Components
7
Continuous Integration
7
Documentation
7
PHP Installation
6
Framework Extras
6
Files
6
Build Tools
5
Notifications
5
Migrations
5
Serverless
5
PHP Internals Reading
5
PDF
5
Routers
5
Composer Repositories
5
Asset Management
5
Text Editors and IDEs
5
Dependency Management
5
Static Site Generators
5
Middlewares
5
Geolocation
5
NoSQL
4
URL
4
Office
4
Task Runners
4
Search
4
JSON
3
Extensions
3
Configuration
3
Deployment
3
Virtual Machines
3
Micro Framework Extras
3
Infrastructure
3
PHP Conferences
2
Navigation
2
Streams
2
Internationalisation and Localisation
2
PHP Reading
1
PHP Newsletters
1
Logging
1
Keywords
php
234
symfony
18
laravel
17
composer
17
static-analysis
15
cli
11
php7
10
php-library
9
component
8
json
8
parser
8
markdown
8
html
8
aura
7
psr-7
7
phpunit
7
symfony-component
7
testing
7
library
6
code-quality
6
api
6
http
6
mysql
5
sdk
5
docker
5
automation
5
magento
5
php8
5
websocket
4
dependency-injection
4
performance
4
mongodb
4
standalone-php-library
4
unit-testing
4
phpstan
4
async
4
static-analyzer
4
asynchronous
4
client
4
redis
4
language
4
twig
4
debug
4
linter
4
doctrine
4
email
3
smtp
3
validator
3
money
3
oauth2
3