dnwk/doctrine-readonly-middleware
The Doctrine Readonly Middleware package enables readonly connections within your application. Please note that this package is experimental and may not function optimally in all scenarios. Its purpose is to facilitate connections to readonly databases, allowing thorough testing of your application under such conditions.
You can install the package via Composer:
composer require dnwk/doctrine-readonly-middleware
To use the middleware, simply invoke static method
ReadonlyMiddleware::enable();
How can I help you explore Laravel packages today?