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
Doctrine Singleton Bundle

Doctrine Singleton Bundle Laravel Package

umanit/doctrine-singleton-bundle

Symfony bundle that registers Doctrine entities as singleton services, sharing one instance per request. Configure entities in the bundle config and inject them like any other service, avoiding manual instantiation and duplicate object state.

View on GitHub
Deep Wiki
Context7

Umanit Doctrine Singleton Bundle adds first-class support for singleton entities in Symfony applications using Doctrine. It helps guarantee that an entity has a single shared row, simplifying global settings, configuration, and other one-instance domain objects while keeping persistence in Doctrine.

  • Provides a reusable singleton entity pattern for Doctrine.
  • Enforces a single database row per singleton entity.
  • Integrates cleanly with Symfony and Doctrine’s entity manager.
  • Includes repository/helper support for retrieving the singleton instance.
  • Keeps global configuration and application settings simple and type-safe.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource