dnwk/doctrine-readonly-middleware

0.0.1 2024-03-15 09:24 UTC

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();