jberrio-ing/laravel-sqlsrv-avoid-error
最新稳定版本:v1.0.0
Composer 安装命令:
composer require jberrio-ing/laravel-sqlsrv-avoid-error
包简介
README 文档
README
This error is generated when the PDO::ATTR_STRINGIFY_FETCHES attribute is present in the PDO_Sqlsrv configuration. To fix the error, follow the steps below:
Prerequisites
Make sure you have a Laravel application set up.
Steps to Register the service provider
- Install the package
composer require jberrio-ing/laravel-sqlsrv-avoid-error
-
Locate the
config/app.phpfileOpen the
config/app.phpfile in your Laravel project. -
Add the Service Provider
In the
providersarray, add the fully qualified class name of theSqlsrvAvoidErrorProviderfrom theSqlsrvAvoidErrornamespace. Yourconfig/app.phpshould look something like this:'providers' => [ // Other service providers SqlsrvAvoidError\Providers\SqlsrvAvoidErrorProvider::class, ],
统计信息
- 总下载量: 903
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-25