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

Dice Laravel Package

level-2/dice

Dice is a lightweight, dependency-free dependency injection container for PHP. It provides automatic constructor and setter injection, factory callbacks, shared instances, and simple configuration for decoupled, testable applications.

Deep Wiki
Context7

Dice is a lightweight, easy-to-use dependency injection container for PHP, inspired by Google Guice. It automatically resolves class dependencies and lets you wire objects through constructor or setter injection without boilerplate configuration. Define shared instances, factory closures, and substitution rules to keep application code decoupled and testable.

  • Automatic constructor and setter injection
  • Shared/singleton and factory bindings
  • Rule-based substitutions for interfaces and implementations
  • Lazy resolution via closures
  • Minimal setup with no XML or YAML configuration
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib