awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.
https://github.com/php-collective/awesome-php
Last synced: about 1 month ago
JSON representation
Filtered by PHP. Clear filters
Configuration
Development Environment
- Takeout - A Docker-based development-only dependency manager.
Extensions
- Zephir - A compiled language between PHP and C++ for developing PHP extensions.
Infrastructure
- php-pm - A process manager, supercharger and load balancer for PHP applications.
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.
- 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.
- SuperClosure - A library that allows Closures to be serialized.
Serverless
-
PHP Dotenv
- Parse and load environment variables from
.envfiles. -
Symfony Dotenv
- Parse and load environment variables from
.envfiles. - Yo! Symfony TOML - A PHP parser for TOML.
Third Party APIs
- Amazon Web Service SDK - The official PHP AWS SDK library.
- Campaign Monitor - The official Campaign Monitor PHP library.
- Github - A library to interface with the Github API.
- Mailgun
- Square - The official Square PHP SDK for payments and other Square APIs.
- Stripe - The official Stripe PHP library.
- Twilio - The official Twilio PHP REST API.
Web Applications
- Cachet - The open source status page system.
- Lychee - An easy to use and great looking photo-management-system.
- phpMyAdmin - A web interface for MySQL/MariaDB.
- PHP Queue - An application for managing queueing backends.
- phpRedisAdmin - A simple web interface to manage Redis databases.
Table of Contents
API
- 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.
- wsdl2phpgenerator - A tool to generate PHP classes from SOAP WSDL files.
Architectural
- 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.
- 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.
Asset Management
- JShrink - A JavaScript minifier library.
- Symfony Asset - Manages URL generation and versioning of web assets.
Authentication and Authorization
- 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.
- Opauth - A multi-provider authentication framework.
- Paseto - Platform-Agnostic Security Tokens.
- PHP oAuthLib - Another OAuth library.
- TwitterOAuth - A Twitter OAuth library.
Build Tools
- Box - A utility to build PHAR files.
- Construct - A PHP project/micro-package generator.
- RMT - A library for versioning and releasing software.
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
- Better Reflection - AST-based reflection library that allows analysis and manipulation of code
- GrumPHP - A PHP code-quality tool.
- 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.
- Rector - A tool to upgrade and refactor code.
- UBench - A simple micro-benchmark library.
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.
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.
- Boris - A tiny PHP REPL.
- Cilex - A micro framework for building command line tools.
- CLI Menu - A library for building CLI menus.
- CLIFramework - A command-line framework 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.
Content Management Systems (CMS)
- CraftCMS - A flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
- Grav - A modern flat-file CMS.
Continuous Integration
- JoliCi - A continuous integration client written in PHP and powered by Docker.
- PHPCI - An open-source continuous integration platform for PHP.
Database
- 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 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
- 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.
Debugging and Profiling
- Barbushin PHP Console - Another web debugging console using Google Chrome.
- Kint - A debugging and profiling tool.
- Metrics - A simple metrics API library.
- PHP Console - A web debugging console.
- PHPBench - A benchmarking Framework.
- Symfony VarDumper - A variable dumper component.
- Tracy - A simple error detection, logging and time measuring library.
- Whoops - A pretty error-handling library.
- xDebug - A debug and profile tool for PHP.
- XHProf - A profiling tool originally developed by Facebook.
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.
- Symfony DI - A dependency injection container component.
Dependency Management
- Composer Installers - A multi-framework Composer library installer.
- 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.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.
- 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.
Deployment
- Deployer - A deployment tool.
- Envoy - A tool to run SSH tasks with PHP.
- Rocketeer - A fast and easy deployer for the PHP world.
Documentation
- APIGen - Another API documentation generator.
- PHP Documentor 2 - A documentation generator.
E-commerce
- Money - A PHP implementation of Fowler's money pattern.
- Brick\Money - A money library for PHP, with support for contexts, cash roundings, currency conversion.
- OmniPay - A framework agnostic multi-gateway payment processing library.
- Payum - A payment abstraction library.
- Shopware - Highly customizable e-commerce software
- Swap - An exchange rates library.
- 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, PostMark, MailGun and MailChimp.
- Symfony Mailer - A powerful library for creating and sending emails.
Event
- Amp - An event driven non-blocking I/O library.
- Broadway - An event source and CQRS library.
- CakePHP Event - An event dispatcher library.
- Elephant.io - Yet another web socket library.
- Evenement - An event dispatcher library.
- Event - An event library with a focus on domain events.
- Pawl - An asynchronous web socket client.
- Prooph Event Store - An event source component to persist event messages
- PHP Defer - Golang's defer statement for PHP.
- Ratchet - A web socket library.
- ReactPHP - An event driven non-blocking I/O library.
- RxPHP - A reactive extension library.
- Workerman - An event driven non-blocking I/O library.
Files
- CSV - A CSV data manipulation library.
- Flysystem - Abstraction for local and remote filesystems.
- Gaufrette - A filesystem abstraction layer.
- UnifiedArchive - A unified reader and writer of compressed archives.
Filtering and Validation
- Assert - A validation library with a rich set of assertions. Supports assertion chaining and lazy assertions.
- Aura.Filter - Provides tools to validate and sanitize objects and arrays.
- CakePHP Validation - Another validation library.
- Filterus - A simple PHP filtering library.
- ISO-codes - A library for validating inputs according to standards from ISO, International Finance, Public Administrations, GS1, Book Industry, Phone numbers & Zipcodes for many countries.
- MetaYaml - A schema validation library that supports YAML, JSON and XML.
- Respect Validation - A simple validation library.
- Upload - A library for handling file uploads and validation.
- Valitron - Another validation library.
- Volan - Another simplified validation library.
Framework Extras
- CakePHP CRUD - A Rapid Application Development (RAD) plugin for CakePHP.
- LaravelS - An out-of-the-box adapter between Laravel/Lumen and Swoole.
Geolocation
- GeoJSON - A GeoJSON implementation.
- GeoTools - A library of geo-related tools.
- PHPGeo - A simple geo library.
HTTP
- Buzz - Another HTTP client.
- Guzzle - A comprehensive HTTP client.
- Nyholm PSR-7 - A super lightweight PSR-7 implementation. Very strict and very fast.