Download the PHP package mpyw/laravel-mysql-system-variable-manager without Composer
On this page you can find all versions of the php package mpyw/laravel-mysql-system-variable-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-mysql-system-variable-manager
Laravel MySQL System Variable Manager

A tiny extension of MySqlConnection
that manages session system variables
Requirements
Package | Version | Mandatory |
---|---|---|
PHP | ^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
Basic Usage
[!IMPORTANT] The default implementation is provided by
MySqlConnectionServiceProvider
, however, package discovery is not available. Be careful that you MUST register it inconfig/app.php
by yourself.[!CAUTION] Don't use
DB::disconnect()
directly or auto-recovery won't be fired.
UseDB::connection()->disconnect()
instead.
Advanced Usage
[!TIP] You can extend
MySqlConnection
withManagesSystemVariables
trait by yourself.
All versions of laravel-mysql-system-variable-manager with dependencies
ext-pdo Version *
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^11.0 || ^12.0 || ^13.0
mpyw/unclosure Version ^3.1
mpyw/laravel-pdo-emulation-control Version ^2.1