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

Spi Laravel Package

tbachert/spi

Composer-powered Service Provider Interface loader inspired by Java’s ServiceLoader. Register providers via composer.json extra.spi or PHP, optionally precompile registrations from autoload files, and load implementations at runtime. Used by OpenTelemetry PHP SDK autoconfiguration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables seamless OpenTelemetry observability integration for enterprise-grade monitoring and tracing capabilities
  • Supports roadmap for extensible plugin systems where third-party components (e.g., exporters, processors) must be dynamically loaded
  • Build vs Buy: Superior to custom SPI implementation due to Composer plugin integration, standardized pattern, and Apache-2.0 license
  • Critical for compliance-driven projects requiring vendor-neutral observability standards (e.g., OpenTelemetry spec adherence)
  • Reduces boilerplate for service registration in multi-component systems while maintaining type safety

When to Consider This Package

  • Adopt when:
    • Integrating with OpenTelemetry PHP SDK or other libraries explicitly requiring SPI (e.g., autoconfiguration)
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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log