Download the PHP package wajatimur/odbc-driver without Composer
On this page you can find all versions of the php package wajatimur/odbc-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package odbc-driver
Laravel 4 ODBC
An ODBC driver implementation, currently its support Laravel Framework only.
Requirements
- PHP 5.3+
- Laravel 4.1.*
Installation
L4ODBC can be install using composer by adding below line into your existing composer.json
under require section and executing composer update
in your Laravel project root folder.
Then you need to bootstrap the driver by declaring the service provider registration in you app.php
file under app\config
path from Laravel project root folder.
Configuration
Finally be sure to add the odbc driver with connection information to the config/database.php
file like so:
Extending
To create a custom grammar just add your file to Grammars
folder within the package. Below is the basic template to create a custom grammar.
Using Custom Grammar
To use the custom grammar, jusct change the grammar key in you database config base on you grammar file name. If you have a custom grammar with file name MyCustomGrammar.php
, the grammar key should be as below.
If you would like to use a Laravel provided grammar file just add that instead. For example if you want to use SQL Server Gramamr, you can use the SqlServerGrammar
as key in your database config. Others grammar provided by Laravel listed below.
- MySqlGrammar
- SqlServerGrammar
- SQLiteGrammar
- PostgresGrammar
If you would like to submit a grammar for use in the package please submit a pull request and I will get it in asap.
All versions of odbc-driver with dependencies
illuminate/support Version 4.1.x
illuminate/database Version 4.1.x
ext-pdo-odbc Version *