black/common
Common utilities for Black projects: an abstract Doctrine Manager helper with convenience methods plus simple specification classes (and/or/not). Install via Composer and reuse across apps needing lightweight Doctrine-oriented shared code.
and/or/not specifications) for complex filtering in APIs, admin panels, or reporting tools.For Executives: "This package offers a lightweight, MIT-licensed way to standardize complex database queries in our Laravel apps using the specification pattern. By adopting it, we can reduce technical debt in data access layers, improve query reusability, and align with our goal of modularizing backend logic. While the package is archived (low stars/dependents), its simplicity and MIT license make it easy to fork or extend if needed. The trade-off is minimal upfront cost for long-term maintainability gains, especially in high-query-volume features like admin panels or reporting tools."
For Engineering:
*"The DoctrineManager abstract class and and/or/not specifications let us compose queries declaratively (e.g., UserRepository::findBy($spec->and($spec1, $spec2))). This is ideal for:
DoctrineManager to Laravel’s EntityManager via a service provider.How can I help you explore Laravel packages today?