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

Definitions Laravel Package

yiisoft/definitions

Minimalistic definitions container for PHP apps. Build and compose object definitions for DI: map IDs to classes, factories, values and params, with autowiring-friendly configuration. Designed to work smoothly with Yii and other PSR-based projects.

View on GitHub
Deep Wiki
Context7
3.4.1
  • Enh #110: Add PHP 8.5 support (@vjik)

Full changelog

3.4.0
  • Chg #105: Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 (@vjik)
  • Chg #106: Bump minimal required PHP version to 8.1 (@vjik)
  • Enh #105: Improve definition validation for readonly properties and properties with asymmetric visibility (@vjik)
  • Enh #106: Minor performance optimization: use FQN for PHP functions, remove unnecessary conditions (@vjik)
  • Enh #106: Mark readonly properties (@vjik)
  • Bug #105: Explicitly mark nullable parameters (@vjik)
3.3.1
  • Enh #101: Minor performance improvement by removing unnecessary code in DefinitionStorage (@vjik)
  • Bug #100: Fix resolving ParameterDefinition for optional parameters with union types (@vjik)
3.3.0
  • New #90: Allow multiple method call in array definition (@vjik)
  • Bug #86: Fix crash when intersection types are used (@vjik)
3.2.0
  • Enh #68: Add ability to use any allowed definitions in DynamicReferencesArray::from() (@vjik)
3.1.0
  • New #67: Add ArrayDefinitionHelper::merge() method that merge array definitions (@vjik)
3.0.2
  • Enh #57: Improve validation messages (@xepozz)
3.0.1
  • Bug #53: Fixed error on use in array definition methods that should be work via magic __call() method (@vjik)
3.0.0
  • Chg #49: Change result format of DefinitionStorage::getBuildStack() method to definition IDs array (@vjik)
  • Enh #41: Raise minimum PHP version to 8.0 and refactor code (@xepozz, @vjik)
  • Enh #44: In methods of array definitions add autowiring and improve variadic arguments support (@vjik)
  • Enh #46: In definition validator add a check of method name in array definitions (@vjik)
  • Bug #48: Definition validator returns false positive result on empty string (@vjik)
2.1.0
  • Enh #43: Add Reference::optional() method that returns null when there is no dependency defined in container (@vjik)
2.0.0
  • New #37: Make method DefinitionValidator::validateArrayDefinition() public (@vjik)
  • Chg #30: Rename method ArrayDefinition::setReferenceContainer() to withReferenceContainer() and make it immutable (@vjik)
  • Chg #37: Remove method ParameterDefinition::isBuiltin() (@vjik)
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.
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
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log