setono/doctrine-object-manager-trait
A lightweight PHP trait that gives your services clean access to Doctrine's ObjectManager, cutting boilerplate around injecting, retrieving, and resetting entity managers in Symfony and Doctrine projects. Drop it into any class that needs manager access without repeating the same constructor and set...
A lightweight PHP trait from Setono that gives any class convenient access to Doctrine's ObjectManager. Instead of injecting the EntityManagerInterface everywhere or extending a base class, you simply use the trait to expose the object manager and keep your services clean and testable.
How can I help you explore Laravel packages today?