PHPackages                             mpyw/laravel-pdo-emulation-control - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mpyw/laravel-pdo-emulation-control

ActiveLibrary[Database &amp; ORM](/categories/database)

mpyw/laravel-pdo-emulation-control
==================================

Temporarily enable/disable PDO prepared statement emulation

v2.1.0(1y ago)280.0k↓18%1MITPHPPHP ^8.2CI passing

Since Jan 17Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/mpyw/laravel-pdo-emulation-control)[ Packagist](https://packagist.org/packages/mpyw/laravel-pdo-emulation-control)[ RSS](/packages/mpyw-laravel-pdo-emulation-control/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (10)Versions (11)Used By (1)

Laravel PDO Emulation Control
[![Build Status](https://github.com/mpyw/laravel-pdo-emulation-control/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mpyw/laravel-pdo-emulation-control/actions) [![Coverage Status](https://camo.githubusercontent.com/3be9306e787484d5f6909c5f98d683ea3ddf32c3a7185cd4d0deb676a3f65d8f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d7079772f6c61726176656c2d70646f2d656d756c6174696f6e2d636f6e74726f6c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mpyw/laravel-pdo-emulation-control?branch=master)
=======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#laravel-pdo-emulation-control-)

Temporarily enable/disable PDO prepared statement emulation.

Requirements
------------

[](#requirements)

PackageVersionMandatoryPHP`^8.2`✅Laravel`^11.0 || ^12.0`✅PHPStan`>=2.0`Note

Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.

Installing
----------

[](#installing)

```
composer require mpyw/laravel-pdo-emulation-control

```

Basic Usage
-----------

[](#basic-usage)

Important

The default implementation is provided by `ConnectionServiceProvider`, however, **package discovery is not available**. Be careful that you MUST register it in **`config/app.php`** by yourself.

```
