coraxster/laravel-odbc

simple laravel odbc connector

1.0.2 2018-12-27 08:50 UTC

This package is auto-updated.

Last update: 2024-04-27 21:30:32 UTC


README

Simple ODBC Driver, connector whatever...

Installation

composer require coraxster/laravel-odbc

Config

add to config/db.php as usual

# ... config/db.php

	'hive' => [
	    'driver' => 'odbc',
	    'dsn' => 'DRIVER={YOUR_ODBC_DRIVER};Host=host.env;PORT=10000;Schema=default;',
	    'username' => '',
	    'password' => ''
	],
	
# ... where {YOUR_ODBC_DRIVER} is driver from odbcinst.ini or path to driver.so