psr-discovery/all 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

psr-discovery/all

最新稳定版本:1.2.0

Composer 安装命令:

composer require psr-discovery/all

包简介

Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.

README 文档

README

Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.

This is a meta-package that includes all of the PSR Discovery utility suite. This package bundles discovery support for PSR-18 HTTP Clients, PSR-17 HTTP Factories, PSR-14 Event Dispatchers, PSR-11 Containers, PSR-6 Caches and PSR-3 Logs. When additional PSRs are added to the suite, they will be added to this package as well.

This suite is largely intended for inclusion in libraries like SDKs that wish to support PSRs without requiring hard dependencies on specific implementations or demanding extra configuration by users.

Requirements

  • PHP 8.2+
  • Composer 2.0+

Successful discovery requires the presence of a compatible implementation in the host application. This library does not install any implementations for you.

Installation

composer require psr-discovery/all

Usage

Usage instructions for each discovery library can be found at the links below:

Contributing

Contributions are welcome! Please create issues and pull requests on the repository for the specific discovery library you're interested in.

As a meta-package, this repository is not intended to accept contributions.

This library is not produced or endorsed by, or otherwise affiliated with, the PHP-FIG.

统计信息

  • 总下载量: 7.09M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 4
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04