PHPackages                             kemel91/laravel-tarantool - 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. kemel91/laravel-tarantool

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

kemel91/laravel-tarantool
=========================

A Tarantool based Eloquent ORM and Query builder for Laravel

2.0.6(1mo ago)07↑2900%BSD-3-ClausePHPPHP ^8.2CI passing

Since Mar 22Pushed 1mo agoCompare

[ Source](https://github.com/Kemel91/laravel-tarantool)[ Packagist](https://packagist.org/packages/kemel91/laravel-tarantool)[ Docs](https://github.com/Kemel91/laravel-tarantool)[ RSS](/packages/kemel91-laravel-tarantool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (8)Used By (0)

Laravel Tarantool
=================

[](#laravel-tarantool)

This package adds functionalities to the Eloquent model and Query builder for Tarantool, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.*

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

[](#installation)

#### Laravel Version Compatibility

[](#laravel-version-compatibility)

LaravelPackage11.x2.x12.x2.x13.x2.x#### Via Composer

[](#via-composer)

```
composer require kemel91/laravel-tarantool

```

Configuration
-------------

[](#configuration)

You can use Tarantool either as the main database, either as a side database. To do so, add a new `tarantool` connection to `config/database.php`:

```
'tarantool' => [
    'driver'   => 'tarantool',
    'host'     => env('DB_HOST', '127.0.0.1'),
    'port'     => env('DB_PORT', 3301),
    'database' => env('DB_DATABASE'),
    'username' => env('DB_USERNAME'),
    'password' => env('DB_PASSWORD'),
    'type'     => env('DB_CONNECTION_TYPE', 'tcp'),
    'sql_seq_scan' => env('DB_TT_SQL_SEQ_SCAN', true),
    'options'  => [
        'connect_timeout' => 5,
        'max_retries' => 3
    ]
],
```

The package also accepts `driver_options.connection_type` for backward compatibility, but `type` is the preferred option.

On Tarantool 3.x, SQL sequential scans are disabled by default. To keep Laravel's migration repository and other framework queries working as expected, the package enables `sql_seq_scan` for each connection by default. You can disable this behavior with `'sql_seq_scan' => false` if you want strict Tarantool scan checks.

Running tests with Docker Compose
---------------------------------

[](#running-tests-with-docker-compose)

The repository now includes a Docker-based test environment, so PHP and Tarantool do not need to be installed locally.

Start Tarantool:

```
docker compose up -d tarantool
```

Use a specific Tarantool image if needed:

```
TARANTOOL_IMAGE=tarantool/tarantool:2 docker compose up -d tarantool
```

Run the full Laravel compatibility matrix:

```
docker compose run --rm --user "$(id -u):$(id -g)" php sh bin/test-matrix
```

Run tests for a single Laravel major version:

```
docker compose run --rm --user "$(id -u):$(id -g)" php sh bin/test-laravel 12
```

Set tarantool as main database

```
'default' => env('DB_CONNECTION', 'tarantool'),
```

You can also configure connection with dsn string:

```
'tarantool' => [
    'driver'   => 'tarantool',
    'dsn' => env('DB_DSN'),
    'database' => env('DB_DATABASE'),
],
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

51d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75bfb9d1455d9d9fbc8362faa21d50278085bafea14196a0eae747cc705481a1?d=identicon)[Kemel91](/maintainers/Kemel91)

---

Top Contributors

[![kamenevn](https://avatars.githubusercontent.com/u/7696230?v=4)](https://github.com/kamenevn "kamenevn (23 commits)")[![AidynMakhataev](https://avatars.githubusercontent.com/u/19181566?v=4)](https://github.com/AidynMakhataev "AidynMakhataev (13 commits)")[![Kemel91](https://avatars.githubusercontent.com/u/36336678?v=4)](https://github.com/Kemel91 "Kemel91 (10 commits)")[![0x3337](https://avatars.githubusercontent.com/u/6462138?v=4)](https://github.com/0x3337 "0x3337 (1 commits)")[![Lootjs](https://avatars.githubusercontent.com/u/16526639?v=4)](https://github.com/Lootjs "Lootjs (1 commits)")[![Vadim89](https://avatars.githubusercontent.com/u/3715929?v=4)](https://github.com/Vadim89 "Vadim89 (1 commits)")

---

Tags

laravelormeloquentdbtarantooleloquent-tarantool

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kemel91-laravel-tarantool/health.svg)

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[chocofamilyme/laravel-tarantool

A Tarantool based Eloquent ORM and Query builder for Laravel

182.3k](/packages/chocofamilyme-laravel-tarantool)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)

PHPackages © 2026

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