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)1028113[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 1mo ago

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 54% 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

4861d 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.1k7.2M71](/packages/mongodb-laravel-mongodb)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[dbt/odbc-driver

ODBC Driver for Laravel 12+

28137.1k](/packages/dbt-odbc-driver)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)

PHPackages © 2026

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