Sybase based Eloquent module extension for Laravel 5.x.
klinson/laravel-sybase is a Laravel package for sybase based eloquent module extension for laravel 5.x..
It currently has 0 GitHub stars and 52 downloads on Packagist (latest version v1.4).
Install it with composer require klinson/laravel-sybase.
Discover more Laravel packages by klinson
or browse all Laravel packages to compare alternatives.
Last updated
Sybase ASE based Eloquent module extension for Laravel 5.x.
Add the following in the require section of your composer.json:
"uepg/laravel-sybase": "~1.0"
"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:
Uepg\LaravelSybase\Database\SybaseServiceProvider::class
Update your ./config./database.php's default driver with the settings for the sqlsrv or your custom odbc. See the following example:
'connections' => [
...
'sybaseuepg-aluno' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'sybase.myserver.br:5000'),
'database' => env('DB_DATABASE', 'mydatabase'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', 'secret'),
'charset' => 'utf8',
'prefix' => '',
],
In Linux systems the driver version must be set in freetds.conf file to the right use of charset pages.
The file is usualy found in /etc/freetds/freetds.conf. Set the configuration at global section as the following example:
[global]
# TDS protocol version
tds version = 5.0