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.
How can I help you explore Laravel packages today?