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

Di Laravel Package

yiisoft/di

PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers.

View on GitHub
Deep Wiki
Context7
1.4.1
  • Enh #393: Add PHP 8.5 support (@vjik)
1.4.0
  • New #380: Add TagReference::id() method (@vjik)
  • Chg #390: Change PHP constraint in composer.json to 8.1 - 8.4 (@vjik)
  • Enh #324: Make BuildingException and NotFoundException friendly (@np25071984)
  • Enh #384: Make $config parameter in Container constructor optional (@np25071984)
  • Enh #387: Improve container performance (@samdark)
  • Bug #390: Explicitly mark nullable parameters (@vjik)
1.3.0
  • Enh #353: Add shortcut for tag reference #333 (@xepozz)
  • Enh #356: Improve usage NotFoundException for cases with definitions (@vjik)
  • Enh #364: Minor refactoring to improve performance of container (@samdark)
  • Enh #375: Raise minimum PHP version to ^8.1 and refactor code (@vjik)
  • Enh #376: Add default value true for parameter of ContainerConfig::withStrictMode() and ContainerConfig::withValidate() methods (@vjik)
1.2.1
  • Chg #316: Fix exception messages (@xepozz)
  • Bug #317: Fix delegated container (@xepozz)
1.2.0
  • Chg #310: Adopt to yiisoft/definition version ^3.0 (@vjik)
  • Enh #308: Raise minimum PHP version to ^8.0 and refactor code (@xepozz, @vjik)
1.1.0
  • Chg #263: Raise minimal required version of psr/container to ^1.1|^2.0 (@xepozz, @vjik)
1.0.3
  • Enh #302: Improve performance collecting tags (samdark)
  • Enh #303: Add support for yiisoft/definitions version ^2.0 (@vjik)
1.4.2
  • Enh #397: Explicitly import functions in "use" section (@mspirkov)
1.0.2
  • Bug #297: Fix method name TagHelper::extractTagFromAlias (@rustamwin)
1.0.1
  • Bug #293: Fix ExtensibleService normalization bug (@yiiliveext)
1.0.0
  • Initial release.
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.
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
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai