awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/mario-deluna/awesome-php
Last synced: 13 days ago
JSON representation
-
Table of Contents
-
Numbers
- DecimalObject - A value object to handle decimals/floats easily and more precisely.
- IP - An immutable value object for working with IPv4 and IPv6 addresses.
- LibPhoneNumber for PHP - A PHP implementation of Google's phone number handling library.
- 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.
-
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).
- Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way .
-
Passwords
- 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.
- phpass - A portable password hashing framework.
- Zxcvbn PHP - A realistic PHP password strength estimate library based on Zxcvbn JS.
-
PDF
- Dompdf - A HTML to PDF converter.
- PHPPdf - A library for generating PDFs and images from XML.
- Snappy - A PDF and image generation library.
- WKHTMLToPDF - A tool to convert HTML to PDF.
-
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 packages 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.
- 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.
-
Search
- Elastica - A client library for ElasticSearch.
- ElasticSearch PHP - The official client library for [ElasticSearch](https://www.elastic.co/).
- Solarium - A client library for [Solr](https://solr.apache.org/).
- 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).
- 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.
- 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 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.
-
Static Site Generators
-
Streams
- ByteStream - An asynchronous stream abstraction.
- Streamer - A simple object-orientated stream wrapper library.
-
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.
- 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.
- UA Parser - A library for parsing user agent strings.
- URLify - A PHP port of Django's URLify.js.
- UUID - A library for generating UUIDs.
- SQL Formatter - A library for formatting SQL statements.
-
Task Runners
-
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.
-
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.
- PHPT - A test tool used by PHP itself.
-
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.
-
Programming Languages
Sub Categories
Testing
25
Debugging and Profiling
16
Security
15
Strings
15
Event
14
Database
14
Authentication and Authorization
13
Command Line
12
Content Management Systems (CMS)
12
Markup and CSS
12
Code Analysis
12
PHP Books
12
PHP Websites
12
Filtering and Validation
11
PHP Podcasts
11
Static Analysis
11
Data Structure and Storage
11
Dependency Management Extras
11
Web Applications
10
Email
9
Caching and Locking
8
Dependency Injection
8
Third Party APIs
8
Passwords
8
Architectural
8
API
8
Numbers
8
Development Environment
8
Frameworks
8
Miscellaneous
8
HTTP
8
Imagery
7
Queue
7
Serverless
7
Templating
7
Components
7
E-commerce
7
Code Quality
6
Scraping
6
Routers
5
Migrations
5
Date and Time
5
PHP Installation
5
Micro Frameworks
5
Geolocation
5
Notifications
5
Files
5
Continuous Integration
5
Asset Management
4
PHP Internals Reading
4
Task Runners
4
PDF
4
Build Tools
4
Composer Repositories
4
Documentation
4
Search
4
Dependency Management
4
Middlewares
4
URL
4
Framework Extras
4
Office
4
Micro Framework Extras
3
Infrastructure
3
Deployment
3
Text Editors and IDEs
3
PHP Videos
3
Virtual Machines
3
Extensions
2
Static Site Generators
2
Streams
2
Navigation
2
Internationalisation and Localisation
2
JSON
2
NoSQL
2
PHP Newsletters
1
Logging
1
PHP Reading
1
Keywords
php
190
symfony
16
composer
12
static-analysis
10
php7
9
testing
8
psr-7
8
php-library
7
component
7
cli
7
aura
7
markdown
6
laravel
6
library
6
http
6
symfony-component
6
json
6
phpunit
5
mysql
5
html
5
standalone-php-library
4
performance
4
parser
4
websocket
4
asynchronous
4
bdd
4
async
4
code-quality
4
php8
4
twig
4
redis
4
doctrine
4
filesystem
3
oauth2
3
office
3
server
3
static-analyzer
3
timer
3
configuration
3
test
3
dependency-injection
3
oembed
3
phar
3
amqp
3
ast
3
validation
3
currency
3
rabbitmq
3
validator
3
currency-converter
3