Download the PHP package djolecodes/db2-laravel-driver without Composer
On this page you can find all versions of the php package djolecodes/db2-laravel-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download djolecodes/db2-laravel-driver
More information about djolecodes/db2-laravel-driver
Files in djolecodes/db2-laravel-driver
Package db2-laravel-driver
Short Description DB2 for IBM iSeries drop-in Laravel driver
License MIT
Homepage https://github.com/djordje47/db2-laravel-driver
Informations about the package db2-laravel-driver
DB2 for IBM Laravel Driver
This package allows you to use Laravel's query builder and eloquent with DB2 for IBM iSeries by extending the Illuminate Database component of the Laravel framework. Originally forked from BWICompanies.
Modification done by me is that we can't use the IBM DB2 driver but only odbc, by specifying the use_ibm_driver=true
connection string will be created for the IBM DB2 driver instead for the ODBC like previous authors intended. I've done this only because I cant use the cooperl22/laravel-db2. And I want to use the regular IBM DB2 driver with laravel 10. Since this package works with Laravel 10 I forked the repo and made small modification in the connection string.
Requirements
- IBM dsdriver installed {IBM DB2 ODBC DRIVER}
- IBM PDO INSTALLED
Installation
Install the package via composer:
Add a new connection in database.php
:
Note: You can specify the connection name, but the driver must be 'db2'
Note: Be sure to define the appropriate keys in
.env
.
Other Resources
License
The MIT License (MIT). Please see License File for more information.
All versions of db2-laravel-driver with dependencies
spatie/laravel-package-tools Version ^1.13.0
illuminate/contracts Version ^8|^9|^10
illuminate/support Version ^8|^9|^10
illuminate/database Version ^8|^9|^10