120 Repositories
PHP psr Libraries
PSR-18 compliant Circuit Breaker wrapper
Interrupt PSR-18 compliant Circuit Breaker wrapper. Acknowledgement This library is heavily inspired by: ackintosh/ganesha PrestaShop/circuit-breaker
Use rmccue/requests as a PSR-18 HTTP client
WordPress/Requests PSR-18 Adapter Use WordPress/Requests as a PSR-18 HTTP client adapter. Requires PHP 7.1+ Why? Requests is a HTTP library written in
Simple yet powerful, PSR-compliant, Symfony-driven PHP Blog engine.
brodaty-blog ✒️ Simple Blog Engine based on pure Markdown files. 💕 Works without database, caches HTML templates from Markdown files. 🚀 Fast and ext
An internal redirect mechanism for PSR-15 middleware stacks
HTTP Request Forwarder The aim of this library is to make it possible to pass the HTTP request to another handler, creating a so-called internal redir
Robust, composite logger with filtering, formatting, and PSR-3 support
laminas-log 🇷🇺 Русским гражданам Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в
Middleware to provide IP filtering
middlewares/firewall Middleware to provide IP filtering using M6Web/Firewall. Requirements PHP = 7.2 A PSR-7 http library A PSR-15 middleware dispatc
A set of PSR-7 object decorators providing useful convenience methods
Slim-Http Slim PSR-7 Object Decorators Installation It's recommended that you use Composer to install this library. $ composer require slim/http This
PSR-15 compatible middleware for Whoops, the pretty error handler
PSR-15 middleware for Whoops A PSR-15 compatible middleware for Whoops, the fantastic pretty error handler for PHP. Installation You can install the l
PHP cache implementation supporting memcached
php cache implementation (PSR-6 and PSR-16) Support for memcached and APCu is included. Memcached $memcached = new Memcached(); $memcached-addServer(
Testing utilities for the psr/log package that backs the PSR-3 specification.
FIG - Log Test Testing utilities for the psr/log package that backs the PSR-3 specification. Psr\Log\Test\LoggerInterfaceTest provides a base test cla
Simple HTTP cURL client for PHP 7.1+ based on PSR-18
Simple HTTP cURL client for PHP 7.1+ based on PSR-18 Installation composer require sunrise/http-client-curl QuickStart composer require sunrise/http-f
🚀 This is a utility library that contains tools you may use everywhere.
Utilities Someday I will write documentation for this library, but for now, you can use it and see how it works. Introduction Some documentation will
A PSR-15 middleware to handle content negotiation
Content negotiation middleware Motivation Packages like middlewares/negotiation do a very good job to detect the correct content type based on the Acc
Sends your logs to files, sockets, inboxes, databases and various web services
Monolog - Logging for PHP ⚠ This is the documentation for Monolog 3.x, if you are using older releases see the documentation for Monolog 2.x or Monolo
The Official Vultr API PHP Wrapper
WIP - This is not the final API Client. Unstable release use with caution. Vultr API PHP Client. Getting Started Must have a PSR7, PSR17, and PSR18 Co
🙈 Code style configuration for `php-cs-fixer` based on PSR-12.
php-code-style Code style configuration for friendsofphp/php-cs-fixer based on PSR-12. Installation Step 1 of 3 Install gomzyakov/php-code-style via c
Pug Renderer - a (heavily based on the PhpRenderer) renderer for rendering Pug view scripts into a PSR-7 Response object
Pug Renderer This is a (heavily based on the PhpRenderer) renderer for rendering Pug view scripts into a PSR-7 Response object. It works well with Sli
Routes and Middleware for Using OAuth2 Server within a Slim Framework API
Chadicus\Slim\OAuth2 A collection of OAuth2 Server routes, middleware and utilities for use within a Slim 3 Framework API Requirements Chadicus\Slim\O
PSR-15 middleware to use Whoops as error handler
middlewares/whoops Middleware to use Whoops as error handler. Requirements PHP = 7.2 A PSR-7 http library A PSR-15 middleware dispatcher Installation
Middleware to use FastRoute for handler discovery
middlewares/fast-route Middleware to use FastRoute for handler discovery. Requirements PHP = 7.2 A PSR-7 http library A PSR-15 middleware dispatcher
Middleware to generate access logs for each request using the Apache's access log format
Middleware to generate access logs for each request using the Apache's access log format. This middleware requires a Psr log implementation, for example monolog.
OAuth 1/2 Provider implementations for chillerlan/php-oauth-core. PHP 7.4+
chillerlan/php-oauth-providers Documentation See the wiki for advanced documentation. Requirements PHP 7.4+ a PSR-18 compatible HTTP client library of
A PSR-15 middleware adapter for react/http
A PSR-15 middleware adapter for react/http Wraps PSR-15 middleware into coroutines using RecoilPHP making them usable within react/http as middleware.
Spiral Framework is a High-Performance PHP/Go Full-Stack framework and group of over sixty PSR-compatible components
Spiral HTTP Application Skeleton Spiral Framework is a High-Performance PHP/Go Full-Stack framework and group of over sixty PSR-compatible components.
Distributed PSR-16 cache implementation for PHP 6 that uses browser cookies to store data
cookiecache Cache beyond the edge with cookies! This library provides a distributed PSR-16 compatible cache implementation for PHP 6 that uses browser
PSR-15 middleware to geolocate the client using the ip address
middlewares/geolocation ![SensioLabs Insight][ico-sensiolabs] Middleware to geolocate the client using the ip address and Geocoder and save the result
Error handler with PSR-7 support
Jasny Error Handler Error handler with PSR-7 support. Installation The Jasny Error Handler package is available on packagist. Install it using compose
An extensible validation library for your data with sane defaults.
Hird Hirds, also known as housecarls, was a gathering of hirdmen, who functioned as the king's personal guards during the viking age and the early mid
PSR-7 and PSR-15 HTTP Basic Authentication Middleware
PSR-7 and PSR-15 Basic Auth Middleware This middleware implements HTTP Basic Authentication. It was originally developed for Slim but can be used with
Tukio is a complete and robust implementation of the PSR-14 Event Dispatcher specification
Tukio is a complete and robust implementation of the PSR-14 Event Dispatcher specification. It supports normal and debug Event Dispatchers, both runtime and compiled Providers, complex ordering of Listeners, and attribute-based registration on PHP 8.
Bank API written in PHP 7.4 without framework
Bank API written in PHP 7.4 without framework
Allows you to process logs using any PSR-3 compatible logger such as Monolog
Yii 2 PSR Log Target Allows you to process logs using any PSR-3 compatible logger such as Monolog
Authentication, authorization and access control for PHP
Jasny Auth Authentication, authorization and access control for PHP. Features Multiple authorization strategies, like groups (for acl) and levels. Aut
A HTTP Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack.
A HTTP Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack.
Middleware to execute request handlers discovered by a router
middlewares/request-handler Middleware to execute request handlers discovered by a router.
Middleware to minify the Html, CSS and Javascript content using wyrihaximus/compress
middlewares/minifier Middleware to minify the Html, CSS and Javascript content using wyrihaximus/compress and the following compressors by default: wy
Simple PSR-7 compatible response sender
Simple PSR-7 compatible response sender
Northwoods Lazy Middleware
Northwoods Lazy Middleware Lazy loading for PSR-15 middleware and request handlers that supports "just in time" instantiation using a PSR-11 container
The WebLink component manages links between resources
The WebLink component manages links between resources. It is particularly useful to advise clients to preload and prefetch documents through HTTP and HTTP/2 pushes.
Static utilitiy classes to bridge PSR-7 http messages to OAuth2 Server requests and responses.
Static utilitiy classes to bridge PSR-7 http messages to OAuth2 Server requests and responses. While this libray is entended for use with Slim 3, it should work with any PSR-7 compatible framework.
PSR-15 middleware with various cache utilities
middlewares/cache Middleware components with the following cache utilities: CachePrevention Expires Cache Requirements PHP = 7.2 A PSR-7 http library
Strict PSR-7 implementation used by the Slim Framework
Strict PSR-7 implementation used by the Slim Framework, but you may use it separately with any framework compatible with the PSR-7 standard.
This package provides a set of factories to be used with containers using the PSR-11 standard for an easy Doctrine integration in a project
psr-container-doctrine: Doctrine Factories for PSR-11 Containers Doctrine factories for PSR-11 containers. This package provides a set of factories to
A Faster Lightweight Full-Stack PHP Framework
A Faster Lightweight Full-Stack PHP Framework 中文版 Docker env Just one command to build all env for the easy-php How to build a PHP framework by ourse
Best logging support into Nette Framework (@nette)
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte Usage To install the latest version of contributte/monolog use Compose
It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications
OpenAPI PSR-7 Message (HTTP Request/Response) Validator This package can validate PSR-7 messages against OpenAPI (3.0.x) specifications expressed in Y
The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge
The Easiest Way to Use Any Coding Standard Features Blazing fast Parallel run Use PHP_CodeSniffer || PHP-CS-Fixer - anything you like 2nd run under fe
Common utils used by PSR-15 middlewares
middlewares/utils Common utilities used by the middlewares' packages: Factory Dispatcher CallableHandler HttpErrorException Installation This package
This is a Symfony bundle that lets you you integrate your PSR-6 compliant cache service with the framework
PSR-6 Cache bundle This is a Symfony bundle that lets you you integrate your PSR-6 compliant cache service with the framework. It lets you cache your
Test Doubles for the PSR-3 Logger Interface
PSR Log Test Doubles Test Doubles for the PSR-3 Logger Interface Motivation In PHP world, most people create Test Doubles via PHPUnits mocking framewo
Hyperf is an extremely performant and flexible PHP CLI framework
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Yii Dependency Injection PSR-11 compatible
Yii Dependency Injection PSR-11 compatible dependency injection container that is able to instantiate and configure classes resolving dependencies. Fe
This is an implementation of PSR specification. It allows you to send and consume message with Redis store as a broker.
This is an implementation of PSR specification. It allows you to send and consume message with Redis store as a broker.
PSR-7 and PSR-15 JWT Authentication Middleware
PSR-7 and PSR-15 JWT Authentication Middleware This middleware implements JSON Web Token Authentication. It was originally developed for Slim but can
A simple implementation of the api-problem specification. Includes PSR-15 support.
ApiProblem This library provides a simple and straightforward implementation of the IETF Problem Details for HTTP APIs, RFC 7807. RFC 7807 is a simple
The Cache component provides an extended PSR-6 implementation for adding cache to your applications.
Symfony PSR-6 implementation for caching The Cache component provides an extended PSR-6 implementation for adding cache to your applications. It is de
PSR Log - This repository holds all interfaces/classes/traits related to PSR-3.
PSR Log This repository holds all interfaces/classes/traits related to PSR-3. Note that this is not a logger of its own. It is merely an interface tha
This repository holds all interfaces related to PSR-11 (Container Interface).
Container interface This repository holds all interfaces related to PSR-11 (Container Interface). Note that this is not a Container implementation of
TypeResolver - A PSR-5 based resolver of Class names, Types and Structural Element Names
TypeResolver and FqsenResolver The specification on types in DocBlocks (PSR-5) describes various keywords and special constructs but also how to stati
Simple-cache - PHP FIG Simple Cache PSR
PHP FIG Simple Cache PSR This repository holds all interfaces related to PSR-16. Note that this is not a cache implementation of its own. It is merely
PSR-7 HTTP message library
PSR-7 Message Implementation This repository contains a full PSR-7 message implementation, several stream decorators, and some helpful functionality l
💝The Plus (ThinkSNS+) is a powerful, easy-to-develop social system built with Laravel.
Plus (ThinkSNS+) Plus (ThinkSNS+) 是使用 Laravel 框架开发;一个功能强大、易于开发和动态拓展的社交系统。Plus 是遵循 PSR 规范 代码统一,并功能块松耦合。你安装完成 Plus 并不意味着已经成功安装了所有功能,因为 Plus 使用 模块化 的 原则,
🤯 High-performance PHP application server, load-balancer and process manager written in Golang
RoadRunner is an open-source (MIT licensed) high-performance PHP application server, load balancer, and process manager. It supports running as a serv
🚀Hyperf is an extremely performant and flexible PHP CLI framework
Hyperf is an extremely performant and flexible PHP CLI framework, powered by a state-of-the-art coroutine server and a large number of battle-tested components. Aside from decisively beating PHP-FPM frameworks in benchmarks, Hyperf is unique in its focus on flexibility and composition.
Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output
laminas-cache Laminas\Cache provides a general cache system for PHP. The Laminas\Cache component is able to cache different patterns (class, object, o
A Simple PHP Renderer for Slim 3 (or any other PSR-7 project)
PHP Renderer This is a renderer for rendering PHP view scripts into a PSR-7 Response object. It works well with Slim Framework 4. Cross-site scripting
PSR-7 middleware foundation for building and dispatching middleware pipelines
laminas-stratigility From "Strata", Latin for "layer", and "agility". This package supersedes and replaces phly/conduit. Stratigility is a port of Sen
PHP транслит с русского на латиницу с поддержкой PSR
PHP PSR Transliterator По-русски Особенности Транслит с русского на латиницу; Поддержка ISO9 вариант Б (ГОСТ 7.79—2000); Поддержка ЧПУ; Полное покрыти
StackSync is a simple, lightweight and native fullstack PHP mini-framework.
StackSync is a fullstack PHP mini framework, with an MVC structure, custom API system with a Middleware and JWT authentication, components based views, flexible routing, PSR4 autoloading. Essential files generation (migrations, seeders, controllers and models) and other operations can be executed through custom commands.
Finds installed HTTPlug implementations and PSR-7 message factories.
Finds installed HTTPlug implementations and PSR-7 message factories.
Yii Caching Library - Redis Handler
Yii Caching Library - Redis Handler This package provides the Redis handler and implements PSR-16 cache. Requirements PHP 7.4 or higher. Installation
PSR-6 cache implementation adapting a given PSR-16 instance
PSR-6 cache implementation adapting PSR-16 This package provides a PSR-6 cache instance when you only have a PSR-16 cache at hand. As PSR-6 is more fe
OpenAPI(v3) Validators for Symfony http-foundation, using `league/openapi-psr7-validator` and `symfony/psr-http-message-bridge`.
openapi-http-foundation-validator OpenAPI(v3) Validators for Symfony http-foundation, using league/openapi-psr7-validator and symfony/psr-http-message
AltiriaSmsPhpClient, the official PHP client of Altiria
Altiria, cliente SMS PHP Altiria SMS PHP es un cliente que simplifica al máximo la integración de nuestro API para PHP. Por el momento, esta librería
DI Container (PSR-11)
My DI Container It's my own implementation PSR-11 Container Interface. Installation composer require scruwi/container Init $container = new Container(
Simple cache abstraction layer implementing PSR-16
sabre/cache This repository is a simple abstraction layer for key-value caches. It implements PSR-16. If you need a super-simple way to support PSR-16
Flight routing is a simple, fast PHP router that is easy to get integrated with other routers.
The PHP HTTP Flight Router divineniiquaye/flight-routing is a HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations, created
PSR-15 middleware for Symfony framework.
PSR-15 middleware now in Symfony Contents Installation Configuration Usage Examples Customization Caching Real World Example Middlewares Testing Licen
PHP CORS (Cross-origin resource sharing) middleware.
CORS PHP CORS (Cross-origin resource sharing) middleware. Support Array, Coding in Native PHP Using PSR-7 PSR-15 Support Symfony Support Laravel Suppo
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.
Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.
Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours
[WIP] PSR-20 repository
[WIP] PSR Clock Work in Progress! This repository holds the interface for PSR-20. Note that this is not a clock of its own. It is merely an interface
A PHP library to read and write feeds in JSONFeed, RSS or Atom format
feed-io feed-io is a PHP library built to consume and serve news feeds. It features: JSONFeed / Atom / RSS read and write support Feeds auto-discovery
The efficient and elegant, PSR-7 compliant JSON:API 1.1 client library for PHP
Woohoo Labs. Yang Woohoo Labs. Yang is a PHP framework which helps you to communicate with JSON:API servers more easily. Table of Contents Introductio
A simple and flexible PHP middleware dispatcher based on PSR-7, PSR-11, and PSR-15
Woohoo Labs. Harmony Woohoo Labs. Harmony is a PSR-15 compatible middleware dispatcher. Harmony was born to be a totally flexible and almost invisible
EventDispatcher Component
The EventDispatcher component provides tools that allow your application components to communicate with each other by dispatching events and listening to them.
Disable Google's FLoC with help of PSR-15 middleware
Disable Google's FLoC with PSR-15 middleware This package will help you disable Google's FLoC. Installation You can install the package via composer:
HTTP header kit for PHP 7.1+ (incl. PHP 8) based on PSR-7
HTTP header kit for PHP 7.1+ (incl. PHP 8) based on PSR-7 Installation composer require sunrise/http-header-kit How to use? HTTP Header Collection Mor
The efficient and elegant JSON:API 1.1 server library for PHP
Woohoo Labs. Yin Woohoo Labs. Yin is a PHP framework which helps you to build beautifully crafted JSON:APIs. Table of Contents Introduction Features W
PSR-15 Adapter for InertiaJS
inertia-psr15 Before using this library, is important to know what is Inertia.js, what is it for and how it works, in the official Inertia.js website
Dependency Injection System
Aura.Di A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance,
PSR HTTP Message implementations
laminas-diactoros Diactoros (pronunciation: /dɪʌktɒrɒs/): an epithet for Hermes, meaning literally, "the messenger." This package supercedes and repla
The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously.
HttpClient component The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously. Resources Documentati
A super lightweight PSR-7 implementation
PSR-7 implementation A super lightweight PSR-7 implementation. Very strict and very fast. Description Guzzle Laminas Slim Nyholm Lines of code 3.300 3
URI manipulation Library
URI The Uri package provides simple and intuitive classes to manage URIs in PHP. You will be able to parse, build and resolve URIs create URIs from di
Generate a PHP script for faster routing :rocket:
SwitchRoute Generating a PHP script for faster routing. The traditional way of routing uses regular expressions. This method was improved by FastRoute
:tada: Release 2.0 is released! Very fast HTTP router for PHP 7.1+ (incl. PHP8 with attributes) based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger)
HTTP router for PHP 7.1+ (incl. PHP 8 with attributes) based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger) Installation compo
Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
Route This package is compliant with PSR-1, PSR-2, PSR-4, PSR-7, PSR-11 and PSR-15. If you notice compliance oversights, please send a patch via pull
A PSR-15 server request handler.
Relay A PSR-15 request handler. This package is installable and PSR-4 autoloadable via Composer as "relay/relay": "~2.0". Alternatively, download a re