PHPackages                             dok55/laravel-sybase - 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. dok55/laravel-sybase

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

dok55/laravel-sybase
====================

Sybase based Eloquent module extension for Laravel 5.x.

2.4.6(5y ago)026GPL-2.0-onlyPHPPHP ^7.0 || ^8.0

Since Nov 18Pushed 5mo agoCompare

[ Source](https://github.com/dok55/laravel-sybase)[ Packagist](https://packagist.org/packages/dok55/laravel-sybase)[ RSS](/packages/dok55-laravel-sybase/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (47)Used By (0)

Sybase ASE based Eloquent module extension for Laravel 5.x
==========================================================

[](#sybase-ase-based-eloquent-module-extension-for-laravel-5x)

[![Packagist Version](https://camo.githubusercontent.com/7cd18b7dd434c4a93d17ce116d4d868780b95a1d0b1b90c76b9fbcd9ce7dffc6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f756570672f6c61726176656c2d7379626173652e737667)](https://packagist.org/packages/uepg/laravel-sybase)[![PHP from Packagist](https://camo.githubusercontent.com/bdcef0371acf8862fb3bd6f21fcc6e06b98a531a2c7bbd2620f715046faf91fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f756570672f6c61726176656c2d7379626173652e737667)](https://packagist.org/packages/uepg/laravel-sybase)[![Packagist](https://camo.githubusercontent.com/20cfcdc81818c2b5f49250ac84cf3baa08991393ce470d1bcf1b01f66fb1743c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756570672f6c61726176656c2d7379626173652e737667)](https://packagist.org/packages/uepg/laravel-sybase/stats)[![GitHub contributors](https://camo.githubusercontent.com/1f68c468c33f060a92c1efbb8d4742289f30981ebae17bb4853b46c4fbb6cdb1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732d616e6f6e2f756570672f6c61726176656c2d7379626173652e737667)](https://github.com/uepg/laravel-sybase/graphs/contributors)[![GitHub](https://camo.githubusercontent.com/87f42f6efd8766cc416e9b98c4065be0a0318c77d83e74215e30e5fd22df3689/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f756570672f6c61726176656c2d7379626173652e737667)](https://github.com/uepg/laravel-sybase/blob/master/LICENSE)

- Enables use of multiple kinds of fields.
- Use default eloquent: works with odbc and dblib!
- Migrations! (WIP - Work in Progress)

Install
-------

[](#install)

Add the following in the require section of your **composer.json**:

### Laravel 5.1, 5.2, 5.3

[](#laravel-51-52-53)

```
"uepg/laravel-sybase": "~1.0"
```

### Laravel 5.4, 5.5, 5.6, 5.7, 5.8, 6.x, 7.x, 8.x

[](#laravel-54-55-56-57-58-6x-7x-8x)

```
"uepg/laravel-sybase": "~2.0"
```

Update the package dependencies executing:

```
composer update
```

Add the following entry to your providers array in **config/app.php** file, optional in Laravel 5.5 or above:

```
Uepg\LaravelSybase\SybaseServiceProvider::class,
```

Add the following entry to your aliases array in **config/app.php** file, optional in Laravel 5.5 or above:

```
'UepgBlueprint' => Uepg\LaravelSybase\Database\Schema\Blueprint::class,
```

Update your **config/database.php's** default driver with the settings for the **sybase** or your custom odbc. See the following example:

```
