martinezart87/laravel-sql-server-custom-connector
最新稳定版本:1.0.4
Composer 安装命令:
composer require martinezart87/laravel-sql-server-custom-connector
包简介
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
README 文档
README
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: microsoft/msphpsql#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
Installation
composer require martinezart87/laravel-sql-server-custom-connector
Edit AppServiceProvider
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);
统计信息
- 总下载量: 690
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-05