dnwk / doctrine-readonly-middleware
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.0
- doctrine/doctrine-bundle: 2.*
- doctrine/orm: 2.*
This package is auto-updated.
Last update: 2025-05-15 12:07:04 UTC
README
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.
Installation
You can install the package via Composer:
composer require dnwk/doctrine-readonly-middleware
Usage
To use the middleware, simply invoke static method
ReadonlyMiddleware::enable();