laravel-tarantool maintained by chocofamilyme
Description
A Tarantool based Eloquent ORM and Query builder for Laravel
Author
Last update
2022/04/06 07:46
(dev-master)
License
Downloads
2 316
Last update
2022/04/06 07:46
License
Require
- rybakit/msgpack ^0.7
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- php ^7.3|^8.0
- tarantool/client ^0.9.0
Last update
2022/04/06 07:46
License
Require
- php ^7.3|^8.0
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.9.0
Last update
2021/12/13 09:17
License
Require
- php ^7.3|^8.0
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.9.0
Last update
2020/12/02 12:51
License
Require
- php ^7.3
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.8.0
Last update
2020/11/24 11:19
License
Require
- php ^7.3
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.8.0
Last update
2020/11/24 11:18
License
Require
- php ^7.3
- illuminate/support ^8.0
- illuminate/container ^8.0
- illuminate/database ^8.0
- illuminate/events ^8.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.8.0
Last update
2020/11/06 07:24
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0|^7.0
- illuminate/container ^5.8|^6.0|^7.0
- illuminate/database ^5.8|^6.0|^7.0
- illuminate/events ^5.8|^6.0|^7.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
Last update
2020/11/06 07:21
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0|^7.0
- illuminate/container ^5.8|^6.0|^7.0
- illuminate/database ^5.8|^6.0|^7.0
- illuminate/events ^5.8|^6.0|^7.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
Last update
2020/04/16 10:50
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0|^7.0
- illuminate/container ^5.8|^6.0|^7.0
- illuminate/database ^5.8|^6.0|^7.0
- illuminate/events ^5.8|^6.0|^7.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
Last update
2020/04/16 10:49
License
Require
- php ^7.2
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
- illuminate/support ^5.8|^6.0|^7.0
- illuminate/container ^5.8|^6.0|^7.0
- illuminate/database ^5.8|^6.0|^7.0
- illuminate/events ^5.8|^6.0|^7.0
Last update
2020/03/18 12:47
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
Last update
2020/03/16 08:23
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.7
- tarantool/client ^0.6.0
Last update
2020/02/05 15:25
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.5.4
- tarantool/client ^0.5.2
Last update
2020/02/05 15:21
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.5.4
- tarantool/client ^0.5.2
Last update
2020/01/28 06:54
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.5.4
- tarantool/client ^0.5.2
Last update
2019/09/23 09:21
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.5.4
- tarantool/client ^0.5.2
Last update
2019/09/23 09:19
License
Require
- php ^7.2
- illuminate/support ^5.8|^6.0
- illuminate/container ^5.8|^6.0
- illuminate/database ^5.8|^6.0
- illuminate/events ^5.8|^6.0
- rybakit/msgpack ^0.5.4
- tarantool/client ^0.5.2
Last update
2019/09/20 14:14
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
Last update
2019/09/20 14:13
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
Last update
2019/09/20 13:10
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
Last update
2019/09/11 11:24
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
Last update
2019/09/10 14:00
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
Last update
2019/08/22 07:05
License
Require
- laravel/framework ^5.8
- php ^7.2
- tarantool/client ^0.5.2
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
Laravel Version Compatibility
| Laravel | Package |
|---|---|
| 5.8.x | 0.1.9 |
| 6.x | 0.1.9 |
| 7.x | 0.1.9 |
| 8.x | 1.x |
Via Composer
composer require chocofamilyme/laravel-tarantool
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'),
'driver_oprions' => [
'connection_type' => env('DB_CONNECTION_TYPE', 'tcp')
],
'options' => [
'connect_timeout' => 5,
'max_retries' => 3
]
],
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'),
],