PHPackages                             jtgrimes/laravelodbc - 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. jtgrimes/laravelodbc

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

jtgrimes/laravelodbc
====================

Adds an ODBC driver to Laravel4

0.2.0(13y ago)1328113[1 issues](https://github.com/jtgrimes/laravelodbc/issues)[2 PRs](https://github.com/jtgrimes/laravelodbc/pulls)MITPHPPHP &gt;=5.3.0

Since Jan 25Pushed 13y agoCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (0)

LaravelODBC
===========

[](#laravelodbc)

Adds an ODBC driver to Laravel 4, usable with Fluent and Eloquent.

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

[](#installation)

Add `jtgrimes\laravelodbc` as a requirement to composer.json:

```
{
    "require": {
        "jtgrimes/laravelodbc": "0.2.*"
    }
}
```

Update your packages with `composer update` or install with `composer install`.

Once Composer has installed or updated your packages you need to register LaravelODBC and the package it uses (extradb) with Laravel itself. Open up `app/config/app.php` and find the providers key towards the bottom.

Add the following to the list of providers:

```
'jtgrimes\Laravelodbc\ODBCServiceProvider'
```

You won't need to add anything to the aliases section.

Configuration
=============

[](#configuration)

There is no separate package configuration file for LaravelODBC. You'll just add a new array to the `connections` array in `app/config/database.php`.

```
		'odbc' => array(
			'driver'   =>   'odbc',
            'dsn'      =>   'odbc:datasource',
            'database' =>   'database',
            'username' =>   'user',
            'password' =>   'password',
		),

```

The ODBC driver is different from the pre-installed ones in that you're going to pass in the DSN instead of having Laravel build it for you. There are just too many ways to configure an ODBC database for this package to do it for you. Some sample configurations are at [php.net](http://php.net/manual/en/ref.pdo-odbc.connection.php).

**Don't forget to update your default database connection.**

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

5

Last Release

4909d ago

### Community

Maintainers

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

---

Top Contributors

[![jtgrimes](https://avatars.githubusercontent.com/u/3291952?v=4)](https://github.com/jtgrimes "jtgrimes (11 commits)")

---

Tags

laraveldatabaseodbc

### Embed Badge

![Health badge](/badges/jtgrimes-laravelodbc/health.svg)

```
[![Health](https://phpackages.com/badges/jtgrimes-laravelodbc/health.svg)](https://phpackages.com/packages/jtgrimes-laravelodbc)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/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)[glushkovds/phpclickhouse-laravel

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

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[api-platform/laravel

API Platform support for Laravel

58171.8k14](/packages/api-platform-laravel)[aimeos/laravel-nestedset

Nested Set Model for Laravel

3714.4k6](/packages/aimeos-laravel-nestedset)

PHPackages © 2026

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