Fork from merlijnbuit/laravel-redshift and YuK1Game/laravel-redshift. This is a package to handle Redshift in Laravel like eloquent.
codeapi/laravel-redshift is a Laravel package for fork from merlijnbuit/laravel-redshift and yuk1game/laravel-redshift. this is a package to handle redshift in laravel like eloquent..
It currently has 1 GitHub stars and 3.767 downloads on Packagist.
Install it with composer require codeapi/laravel-redshift.
Discover more Laravel packages by codeapi
or browse all Laravel packages to compare alternatives.
Last updated
Redshift is compatible with Postgresql. However, not everything in Postgresql is compatible, and there are some data types that cannot be used. This library exists to absorb them and make it possible to handle Redshift on Laravel cleanly.
Via Composer
$ composer require codeapi/laravel-redshift
Add the Redshift driver to config/database.php.
'connections' => [
'redshift' => [
'driver' => 'redshift',
'host' => env('AWS_REDSHIFT_HOST', '127.0.0.1'),
'port' => env('AWS_REDSHIFT_PORT', '5439'),
'database' => env('AWS_REDSHIFT_DATABASE', 'redshit'),
'username' => env('AWS_REDSHIFT_USERNAME', 'root'),
'password' => env('AWS_REDSHIFT_PASSWORD', ''),
],
],
]
Then, write the connection information in the .env file.
DB_CONNECTION=redshift
AWS_REDSHIFT_HOST=
AWS_REDSHIFT_PORT=
AWS_REDSHIFT_DATABASE=
AWS_REDSHIFT_USERNAME=
AWS_REDSHIFT_PASSWORD=
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.