Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Discovery Laravel Package

php-http/discovery

Auto-discovery for HTTP clients and factories: finds PSR-18 clients and PSR-17/PSR-7 implementations at runtime, so libraries can depend on interfaces without forcing a specific vendor. Includes a Composer plugin for optional auto-installation.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Excellent for PSR-17/PSR-18 compliant stacks. Decouples library code from concrete HTTP client implementations, promoting vendor neutrality. Ideal for SDKs/libraries needing flexibility but requires PSR standards adoption in the project.
Integration feasibility: Low friction via Composer; minimal code changes needed (replace direct client instantiations with Psr18Client/Psr17Factory). Composer plugin auto-installs missing implementations but requires explicit opt-in (allow-plugins).
Technical risk: Composer plugin may auto-install dependencies unexpectedly, causing version conflicts. Discovery failures (e.g., multiple clients present without explicit configuration) lead to runtime exceptions. Past version issues (e.g., 1.5.1) suggest careful version pinning is needed.
Key questions: How to enforce preferred implementations in multi-client environments? What happens when no PSR-18 client is installed (e.g., in CLI tools)? How does it interact with legacy non-PSR code? How to handle Magento-specific classloader quirks safely?

Integration Approach

Stack fit: Perfect for modern PHP stacks using PSR-17/18 (Symfony, Laravel, Laminas, etc.). Compatible with Guzzle, Symfony HttpClient, Nyholm PSR-

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style