Weave Code
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

Injector Laravel Package

yiisoft/injector

PSR-11 compatible dependency injector with autowiring. Resolves and injects dependencies when calling functions or creating objects, supports extra arguments by name or type, and handles variadic parameters. Works with any PSR-11 container.

View on GitHub
Deep Wiki
Context7
1.2.1
  • Chg #105, #111: Change PHP constraint in composer.json to 7.4 - 8.5 (@vjik)
  • Enh #105: Adjust pretty name of closures on PHP 8.4 in exception messages (@staabm)
  • Enh #98: Refactor Injector::invoke() to improve debug trace (@xepozz)

Full changelog

1.2.0
  • New #52: Add optional reflection caching (@xepozz, @vjik)
  • Enh #86: Make container optional (@vjik)
1.1.0
  • Enh #64: Support for type intersection when arguments resolving (@roxblnfk)
1.0.5
  • Enh #56: Declare return value in Injector::make() and improve psalm annotations (@vjik)
  • Enh #63: Support for PHP 8.1 features when rendering closures in exceptions (@roxblnfk)
1.0.1
1.0.0
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle