PHPackages                             codeapi/laravel-redshift - 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. codeapi/laravel-redshift

ActiveLibrary

codeapi/laravel-redshift
========================

Fork from merlijnbuit/laravel-redshift and YuK1Game/laravel-redshift. This is a package to handle Redshift in Laravel like eloquent.

13.8kPHP

Since Nov 12Pushed 3y agoCompare

[ Source](https://github.com/ThomasBUEE/laravel-redshift)[ Packagist](https://packagist.org/packages/codeapi/laravel-redshift)[ RSS](/packages/codeapi-laravel-redshift/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Redshift
================

[](#laravel-redshift)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4374f2bd185c8a2e6601550b62bb081b593024ab8a80d472afa4e1ee43353ce2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79756b312f6c61726176656c2d72656473686966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yuk1/laravel-redshift)[![Total Downloads](https://camo.githubusercontent.com/61be79829f72d4f5af98aa2e2599d963d51003f43c0632d2ca8a8355fb4d02fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756b312f6c61726176656c2d72656473686966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yuk1/laravel-redshift)[![Build Status](https://camo.githubusercontent.com/3fcd2fdb2c1544ae95c690a779d00d65837121be1d4419c3381b7495e0b93265/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f79756b312f6c61726176656c2d72656473686966742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yuk1/laravel-redshift)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

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.

Installation
------------

[](#installation)

Via Composer

```
$ composer require codeapi/laravel-redshift
```

Usage
-----

[](#usage)

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

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [YuK1Game](https://github.com/yuk1)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.5% 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://avatars.githubusercontent.com/u/6339106?v=4)[codeapi](/maintainers/codeapi)[@CodeAPI](https://github.com/CodeAPI)

---

Top Contributors

[![YuK1Game](https://avatars.githubusercontent.com/u/20548753?v=4)](https://github.com/YuK1Game "YuK1Game (10 commits)")[![ThomasBUEE](https://avatars.githubusercontent.com/u/30463920?v=4)](https://github.com/ThomasBUEE "ThomasBUEE (5 commits)")[![merlijnbuit](https://avatars.githubusercontent.com/u/16118919?v=4)](https://github.com/merlijnbuit "merlijnbuit (1 commits)")

### Embed Badge

![Health badge](/badges/codeapi-laravel-redshift/health.svg)

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

PHPackages © 2026

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