PHPackages                             acumensa/odbc-driver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. acumensa/odbc-driver

ActiveLibrary[Database &amp; ORM](/categories/database)

acumensa/odbc-driver
====================

v1.1.2(12y ago)041PHPPHP &gt;=5.3.0

Since Mar 4Pushed 12y ago1 watchersCompare

[ Source](https://github.com/acumensa/odbc-driver)[ Packagist](https://packagist.org/packages/acumensa/odbc-driver)[ RSS](/packages/acumensa-odbc-driver/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

l4-odbc-driver
==============

[](#l4-odbc-driver)

Laravel 4 ODBC

Installation
============

[](#installation)

To Install this in your Laravel 4.1 app add

```
require {
  "ccovey/odbc-driver-l4": "1.1.x"
}
```

And then run

`composer install`

This will download the required package from Packagist.org

Then in your app/config directory open app.php and find

`'Illuminate\Database\DatabaseServiceProvider',`

And replace it with

`'Ccovey\ODBCDriver\ODBCDriverServiceProvider',`

Finally be sure to add the odbc driver with connection information to the `config/database.php` file like so:

```
'default' => 'mysql',
    'connections' => array(
        'mysql' => array(
            'driver' => 'mysql',
            'host' => 'localhost',
            'database' => 'database',
            'username' => 'root',
            'password' => '',
            'charset' => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix' => '',
        ),
        'sqlsrv' => array(
            'driver' => 'sqlsrv',
            'host' => 'localhost',
            'database' => 'database',
            'username' => 'root',
            'password' => '',
            'prefix' => '',
        ),
        'odbc' => array(
            'driver' => 'odbc',
            'dsn' => 'Driver={iSeries Access ODBC Driver};System=my_system_name;',
            'grammar' => 'DB2',
            'username' => 'foo',
            'password' => 'bar',
            'database' => '',
        ),
    ),
```

Note that database is a required value in the array.

Notes
=====

[](#notes)

To add a custom grammar add your file to ODBCDriver/Grammars with the name you would like to use (currently there is a DB2 grammar file if you would like a reference). Then in your odbc config array add the class name to the grammar key. 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.

If you would like to use a Laravel provided file just add that instead. For example if you want to use SQL Server Gramamr instead you can add like so:

```
'odbc' => array(
    'driver' => 'odbc',
    'dsn' => 'some driver',
    'grammar' => 'SqlServerGrammar',
    'username' => 'foo',
    'password' => 'bar',
    'database' => '',
),
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 65.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~82 days

Recently: every ~102 days

Total

6

Last Release

4458d ago

Major Versions

v0.9 → v1.02013-03-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3927746?v=4)[acumensa](/maintainers/acumensa)[@acumensa](https://github.com/acumensa)

---

Top Contributors

[![ccovey](https://avatars.githubusercontent.com/u/1609830?v=4)](https://github.com/ccovey "ccovey (32 commits)")[![domex](https://avatars.githubusercontent.com/u/1824722?v=4)](https://github.com/domex "domex (11 commits)")[![dentalserve-stephane](https://avatars.githubusercontent.com/u/146490150?v=4)](https://github.com/dentalserve-stephane "dentalserve-stephane (5 commits)")[![azrijamil](https://avatars.githubusercontent.com/u/38235944?v=4)](https://github.com/azrijamil "azrijamil (1 commits)")

### Embed Badge

![Health badge](/badges/acumensa-odbc-driver/health.svg)

```
[![Health](https://phpackages.com/badges/acumensa-odbc-driver/health.svg)](https://phpackages.com/packages/acumensa-odbc-driver)
```

###  Alternatives

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M629](/packages/spatie-laravel-medialibrary)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M95](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
