Download the PHP package phattarachai/laravel-odbc without Composer
On this page you can find all versions of the php package phattarachai/laravel-odbc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phattarachai/laravel-odbc
More information about phattarachai/laravel-odbc
Files in phattarachai/laravel-odbc
Package laravel-odbc
Short Description ODBC integration for Laravel framework
License
Homepage https://github.com/phattarachai/laravel-odbc
Informations about the package laravel-odbc
ODBC integration for Laravel Framework
This integration allows the use of odbc_* php function with Laravel framework instead of PDO.
It emulates PDO class used by Laravel.
This is a forge from andreossido/laravel-odbc
to support latest PHP and Laravel versions.
How to install
composer require phattarachai/laravel-odbc
To add source in your project
Usage Instructions
It's very simple to configure:
1) Add database to database.php file
2) Add service provider in app.php file
Eloquent ORM
You can use Laravel, Eloquent ORM and other Illuminates components as usual.
Custom getLastInsertId() function
If you want to provide a custom getLastInsertId() function, you can extends ODBCProcessor class and override function.
Custom Processor / QueryGrammar / SchemaGrammar
To use another class instead default one you can update your connection in:
All versions of laravel-odbc with dependencies
illuminate/database Version >= 6.0
illuminate/support Version >= 6.0
ext-pdo Version *
ext-odbc Version *