PHPackages                             jaschweder/laravel-sqlanywhere - 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. jaschweder/laravel-sqlanywhere

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

jaschweder/laravel-sqlanywhere
==============================

A Sybase driver based Eloquent model and Query builder for Laravel 4

0490[2 PRs](https://github.com/jaschweder/laravel-sqlanywhere/pulls)PHP

Since Dec 9Pushed 5y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel SQLAnyWhere
===================

[](#laravel-sqlanywhere)

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

\#Importante! Ainda tem alguns BUGs em relação ao Schema para criar e modificar tabelas.

\#Todo - Integração com Migrate, não está 100% :/ - Testes para encontrar Bugs

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

[](#installation)

Add `Jaschweder\laravel-sqlanywhere` and `Jaschweder/sql-anywhere-client` as a requirement to composer.json:

```
{
    "require": {
        "Jaschweder/sql-anywhere-client": "dev-master",
        "Jaschweder/laravel-sqlanywhere": "dev-master"
    }
}
```

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:

```
'Jaschweder\SQLAnywhere\SQLAnywhereServiceProvider',
```

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`.

```
		'sqlanywhere' => array(
            'host'        => 'tcpip{host=Carlos.bludata.local;port=2638}',
            'username'    => 'teste-conexao',
            'password'    => 'teste',
            'database'    => 'teste-conexao',
            'auto_commit' => true,
            'persintent'  => false,
        ),

```

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f232811692ccae466d504af869f3234845da0d834b7948d0863d8ede61eec7d?d=identicon)[jaschweder](/maintainers/jaschweder)

---

Top Contributors

[![jaswdr](https://avatars.githubusercontent.com/u/6409113?v=4)](https://github.com/jaswdr "jaswdr (5 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

### Embed Badge

![Health badge](/badges/jaschweder-laravel-sqlanywhere/health.svg)

```
[![Health](https://phpackages.com/badges/jaschweder-laravel-sqlanywhere/health.svg)](https://phpackages.com/packages/jaschweder-laravel-sqlanywhere)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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