PHPackages                             ccovey/odbc-driver-l4 - 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. ccovey/odbc-driver-l4

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

ccovey/odbc-driver-l4
=====================

v1.1.2(12y ago)281.1k46[2 issues](https://github.com/ccovey/odbc-driver/issues)[6 PRs](https://github.com/ccovey/odbc-driver/pulls)PHPPHP &gt;=5.3.0

Since Mar 4Pushed 12y ago11 watchersCompare

[ Source](https://github.com/ccovey/odbc-driver)[ Packagist](https://packagist.org/packages/ccovey/odbc-driver-l4)[ RSS](/packages/ccovey-odbc-driver-l4/feed)WikiDiscussions master Synced 1mo ago

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

35

—

LowBetter than 80% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 72.7% 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

4413d ago

Major Versions

v0.9 → v1.02013-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7c3bd71dd5c2ff975dfa89565be154237f3680e6338df5aaf5edb7e437d58d0?d=identicon)[ccovey](/maintainers/ccovey)

---

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)")[![azrijamil](https://avatars.githubusercontent.com/u/38235944?v=4)](https://github.com/azrijamil "azrijamil (1 commits)")

### Embed Badge

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

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

###  Alternatives

[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aglipanci/laravel-eloquent-case

Adds CASE statement support to Laravel Query Builder.

115157.2k](/packages/aglipanci-laravel-eloquent-case)

PHPackages © 2026

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