awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/ziadoz/awesome-php
Last synced: 12 days ago
JSON representation
-
Configuration
-
Development Environment
-
Extensions
- Zephir - A compiled language between PHP and C++ for developing PHP extensions.
-
Miscellaneous
- SuperClosure - A library that allows Closures to be serialized.
-
PHP Books
- 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.
- Modern PHP New Features and Good Practices - A book about new PHP features and best practices by Josh Lockhart.
- PHP 7 Upgrade Guide - An ebook covering all of the features and changes in PHP 7 by Colin O'Dell.
- PHP Pandas - A book about learning to write PHP by Dayle Rees.
- Scaling PHP Applications - An ebook about scaling PHP applications by Steve Corona.
- The Grumpy Programmer's Guide to Building Testable PHP Applications - A book about building testing PHP applications by Chris Hartjes.
-
PHP Installation
- Laravel Valet - A development environment for macOS.
-
PHP Internals Reading
- PHP RFC Watch - Watch the latest PHP [RFCs](https://wiki.php.net/rfc).
-
PHP Podcasts
- PHP Internals News - A podcast about PHP internals.
- Voices of the ElePHPant - Interviews with the people who make the PHP community special.
- The Laracasts Snippet - The Laracasts snippet, each episode, offers a single thought on some aspect of web development.
-
PHP Videos
- Nomad PHP Lightning Talks - 10 to 15 minute Lightning Talks by PHP community members.
- PHP UK Conference - A collection of videos from the PHP UK Conference.
- Programming with Anthony - A video series by Anthony Ferrara.
- Taking PHP Seriously - A talk outlining PHP's strengths by Keith Adams of Facebook.
- Laracasts - Screencasts about Laravel, Vue JS and more.
- Laravel YouTube Channel - The official Laravel YouTube channel.
- Program With Gio - PHP 8 course by Gio.
- Program With Gio - PHP 8 course by Gio.
-
PHP Websites
- PHP Best Practices - A PHP best practice guide.
- PHP Security - A guide to PHP security.
- PHP UG - A website to help people locate their nearest PHP user group (UG).
- PHP Versions - Lists which versions of PHP are available on several popular web hosts.
- PHP Weekly - A weekly PHP newsletter.
- Seven PHP - A website that interviews members of the PHP community.
-
Serverless
- Yo! Symfony TOML - A PHP parser for [TOML](https://github.com/toml-lang/toml).
-
Third Party APIs
- Square - The official Square PHP SDK for payments and other Square APIs.
-
Web Applications
- PHPSandbox - An online IDE for PHP in the browser.
- DBV - A database version control application.
-
-
Table of Contents
-
API
- API Platform - Expose in minutes a hypermedia REST API that embraces JSON-LD, Hydra format.
- Laminas API Tool Skeleton - An API builder built with the Laminas Framework.
- Drest - A library for exposing Doctrine entities as REST resource endpoints.
- HAL - A Hypertext Application Language (HAL) builder library.
- Hateoas - A HATEOAS REST web service library.
- Negotiation - A content negotiation library.
- Restler - A lightweight framework to expose PHP methods as RESTful web API.
- PackageGenerator - Package Generator generates a PHP SDK from any WSDL.
- Jane - An OpenApi client generator with validation support.
-
Architectural
- Design Patterns PHP - A repository of software patterns implemented in PHP.
- Finite - A simple PHP finite state machine.
- Patchwork - A library for redefining userland functions.
- Design Patterns PHP - A repository of software patterns implemented in PHP.
- Functional PHP - A functional programming library.
- Iter - A library that provides iteration primitives using generators.
- IterTools PHP - A library that provides functionality for working with iterable entities (similar to itertools library in Python).
- 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.
- Finite - A simple PHP finite state machine.
-
Asset Management
- Laravel Mix - An elegant wrapper around Webpack for the 80% use case.
- JShrink - A JavaScript minifier library.
- Laravel Mix - An elegant wrapper around Webpack for the 80% use case.
- Symfony Asset - Manages URL generation and versioning of web assets.
- Symfony Encore - A simple but powerful API for processing and compiling assets built around Webpack.
-
Authentication and Authorization
- OAuth2 Server - An OAuth2 authentication server, resource server and client library.
- Sentinel Social - A library for social network authentication.
- Sentinel - A framework agnostic authentication & authorisation library.
- Aura.Auth - Provides authentication functionality and session tracking using various adapters.
- SocialConnect Auth - An open source social sign (OAuth1\OAuth2\OpenID\OpenIDConnect).
- Json Web Token - Json Tokens to authenticate and transmit information.
- OAuth 1.0 Client - An OAuth 1.0 client library.
- OAuth 2.0 Client - An OAuth 2.0 client library.
- OAuth2 Server - Another OAuth2 server implementation.
- Opauth - A multi-provider authentication framework.
- Paseto - Platform-Agnostic Security Tokens.
- PHP oAuthLib - Another OAuth library.
- TwitterOAuth - A Twitter OAuth library.
- Sentinel - A framework agnostic authentication & authorisation library.
-
Build Tools
-
Caching and Locking
- APIx Cache - A thin PSR-6 cache wrapper to various caching backends emphasizing cache tagging and indexing.
- CacheTool - A tool to clear APC/opcode caches from the command line.
- CakePHP Cache - A caching library.
- Doctrine Cache - A caching library.
- Metaphore - Cache slam defense using a semaphore to prevent dogpile effect.
- Stash - Another library for caching.
- Laminas Cache - Another caching library.
- Lock - A lock library to provide exclusive execution.
-
Code Analysis
- Scrutinizer - A web tool to [scrutinise PHP code](https://github.com/scrutinizer-ci/php-analyzer).
- PHP AST Viewer - A tool for viewing the Abstract Syntax Tree of PHP code.
- Better Reflection - An AST-based reflection library that allows analysis and manipulation of code.
- Editorconfig-Checker - A command line utility which verifies that your files implement your `.editorconfig` rules.
- GrumPHP - A PHP code-quality tool.
- PHP Magic Number Detector - A library that detects magic numbers in code.
- 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.
- 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).
- Rector - A tool to upgrade and refactor code.
- UBench - A simple micro-benchmark library.
- Code Climate - An automated code review.
- Bladestan - A PHPStan extension for static analysis of Blade templates.
-
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.
- Laravel Pint - A coding standards fixer library for Laravel.
- PHP CodeSniffer - A library that detects and can auto-fix PHP, CSS and JS coding standard violations.
- PHP CS Fixer Configurator - A web application to help configure PHP CS Fixer rule sets.
- CaptainHook - An easy-to-use and flexible Git hook library.
-
Command Line
- Aura.Cli - Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.
- Cilex - A micro framework for building command line tools.
- CLI Menu - A library for building CLI menus.
- CLIFramework - A command-line framework that supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.
- CLImate - A library for outputting colors and special formatting.
- Commando - Another simple command line opt parser.
- Cron Expression - A library to calculate cron run dates.
- GetOpt - A command line opt parser.
- GetOptionKit - Another command line opt parser.
- PsySH - Another PHP REPL.
- ShellWrap - A simple command line wrapper library.
-
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.
- Laminas Components - The components that make the Laminas Framework.
- Symfony Packages - Decoupled libraries for PHP applications.
-
Composer Repositories
- 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.
- Packalyst - The Laravel package repository.
-
Configuration
- PHP Dotenv - Parse and load environment variables from `.env` files.
- Symfony Dotenv - Parse and load environment variables from `.env` files.
- Toml - A TOML parser and encoder with AST access and error recovery.
-
Content Management Systems (CMS)
- Backdrop - A CMS targeting small-to-medium-sized business and non-profits (a fork of Drupal).
- Concrete5 - A CMS targeting users with a minimum of technical skills.
- Joomla - Another leading CMS.
- 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 lightweight flat-file CMS.
- Statamic - A flat-file and Git-based CMS built on Laravel.
- WordPress - A blogging platform and CMS.
- Sulu - A user- and developer-friendly CMS built on the Symfony Framework.
- CraftCMS - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
- Grav - A modern flat-file CMS.
- Magento - A widely used open-source e-commerce platform.
- WordPress - A blogging platform and CMS.
- Drupal - An enterprise level CMS.
- OpenMage - Fork of EoL Magento 1 e-commerce platform.
- Backdrop - A CMS targeting small-to-medium-sized business and non-profits (a fork of Drupal).
- TYPO3 - An enterprise level CMS.
- Silverstripe - A simple, flexible, and secure CMS.
- OctoberCMS - A CMS built on Laravel.
-
Continuous Integration
- GitLab CI - A continuous integration platform.
- Jenkins - A continuous integration platform with [PHP support](https://www.jenkins.io/solutions/php/).
- Shippable - A Docker based continuous integration platform for open source and private projects.
- JoliCi - A continuous integration client written in PHP and powered by Docker.
- PHPCI - An open-source continuous integration platform for PHP.
- Setup PHP - A GitHub Action for PHP.
- SemaphoreCI - A continuous integration platform for open-source and private projects.
-
Database
- Doctrine Extensions - A collection of Doctrine behavioural extensions.
- Doctrine - A comprehensive DBAL and ORM.
- RedBean - A lightweight, configuration-less ORM.
- Atlas.Orm - A data mapper implementation for your persistence model in PHP.
- Aura.Sql - Provides an extension to the native PDO along with a profiler and connection locator.
- Aura.SqlQuery - Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
- Baum - A nested set implementation for Eloquent.
- CakePHP ORM - Object-Relational Mapper, implemented using the DataMapper pattern.
- Cycle ORM - PHP DataMapper, ORM.
- Doctrine Extensions - A collection of Doctrine behavioural extensions.
- Laravel Eloquent - A simple ORM.
- Pomm - An Object Model Manager for PostgreSQL.
- ProxyManager - A set of utilities to generate proxy objects for data mappers.
- Slimdump - An easy dumper tool for MySQL.
- Spot2 - A MySQL datamapper ORM.
-
Data Structure and Storage
- CakePHP Collection - A simple collections library.
- Fractal - A library for converting complex data structures to JSON output.
- Ginq - Another PHP library based on .NET's LINQ.
- JsonMapper - A library that maps nested JSON structures onto PHP classes.
- JSON Machine - Provides iteration over huge JSONs using simple `foreach`.
- Knapsack - Collection library inspired by Clojure's sequences.
- msgpack.php - A pure PHP implementation of the [MessagePack](https://msgpack.org/) serialization format.
- PINQ - A PHP library based on .NET's LINQ (Language Integrated Query).
- Serializer - A library for serializing and de-serializing data.
- YaLinqo - Yet Another LINQ to Objects for PHP.
- Laminas Serializer - Another library for serialising and de-serialising data.
-
Date and Time
- CalendR - A calendar management library.
- Carbon - A simple DateTime API extension.
- Chronos - A DateTime API extension supporting both mutable and immutable date/time.
- Moment.php - Moment.js inspired PHP DateTime handler with i18n support.
- Yasumi - A library to help you calculate the dates and names of holidays.
- CalendR - A calendar management library.
- Business Time - A Carbon extension for handling business hours and working days.
- PHP RRule - A library for working with recurring dates and times based on the iCalendar RRule spec.
-
Debugging and Profiling
- APM - Monitoring extension collecting errors and statistics into SQLite/MySQL/StatsD.
- Blackfire.io - A low-overhead code profiler.
-
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
Database
15
Code Analysis
15
Filtering, Sanitizing and Validation
15
PHP Books
15
PHP Websites
15
Authentication and Authorization
14
PHP Podcasts
14
Web Applications
13
Markup and CSS
13
Dependency Management Extras
11
HTTP
11
Command Line
11
Data Structure and Storage
11
Architectural
11
Email
11
Frameworks
11
PHP Videos
10
Code Quality
10
Miscellaneous
10
API
9
Dependency Injection
9
Imagery
8
Numbers
8
Third Party APIs
8
Templating
8
Passwords
8
Date and Time
8
Caching and Locking
8
Queue
7
Micro Frameworks
7
E-commerce
7
Scraping
7
LLMs
7
Components
7
Continuous Integration
7
Documentation
7
PHP Installation
6
Framework Extras
6
Error Tracking and Monitoring Services
6
Static Site Generators
6
Files
6
Build Tools
5
Notifications
5
Migrations
5
Serverless
5
PHP Internals Reading
5
PDF
5
Routers
5
Composer Repositories
5
Middlewares
5
Asset Management
5
Text Editors and IDEs
5
Dependency Management
5
Geolocation
5
NoSQL
4
URL
4
Office
4
Search
4
Task Runners
4
JSON
3
Extensions
3
Deployment
3
Micro Framework Extras
3
Infrastructure
3
Virtual Machines
3
Configuration
3
Streams
2
Internationalisation and Localisation
2
Navigation
2
PHP Newsletters
1
PHP Reading
1
PHP Conferences
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