This package fix Fatal error: Uncaught PDOException: SQLSTATE[IMSSP]: An invalid attribute was designated on the PDO object in PHP 8.1.22, 8.2.9, 8.3.0
martinezart87/laravel-sql-server-custom-connector is a Laravel package for this package fix fatal error: uncaught pdoexception: sqlstate[imssp]: an invalid attribute was designated on the pdo object in php 8.1.22, 8.2.9, 8.3.0.
It currently has 1 GitHub stars and 725 downloads on Packagist (latest version 1.0.4).
Install it with composer require martinezart87/laravel-sql-server-custom-connector.
Discover more Laravel packages by martinezart87
or browse all Laravel packages to compare alternatives.
Last updated
This package fix error:
Fatal error: Uncaught PDOException: SQLSTATE[IMSSP]: An invalid attribute was designated on the PDO object
~We are waiting for an official hotfix: https://github.com/microsoft/msphpsql/issues/1474~
The official PHP driver patch for SQL Server has been released. There is no need to install this package if you decide to update the driver:
https://github.com/microsoft/msphpsql/releases/tag/v5.11.1
composer require martinezart87/laravel-sql-server-custom-connector
At Your Laravel project open App\Providers\AppServiceProvider.php add folowing line:
use Martinezart87\CustomSqlServerConnector\CustomSqlServerConnector;
And add into register method following line:
$this->app->bind('db.connector.sqlsrv', CustomSqlServerConnector::class);