Download the PHP package mhthnz/yii2-tarantool without Composer
On this page you can find all versions of the php package mhthnz/yii2-tarantool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-tarantool
Tarantool connector for yii2 framework
Tarantool connector for yii2 framework. Allows to perform SQL and NoSQL queries, framework abstractions such as ActiveRecord, Schema, TableSchema, Query, ActiveQuery and etc using tarantool database.
Documentation is here: docs/README.md
Check out yii2 basic tarantool application: https://github.com/mhthnz/yii2-basic-tarantool-app
Reqirements
If you are using php 7.1, try 1.0.6 version. Any later versions require php 7.2.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Configuration
Features
- Tarantool
Connection
hasCommand
andQueryBuilder
ActiveRecord
models withActiveQuery
supportSchema
abstraction,TableSchema
andColumnSchema
- Compatible with AR validators
UniqueValidator
,ExistsValidator
- Supports data widgets like
DetailView
,ListView
,GridView
usingActiveDataProvider
- Debug panel with explain is able to show SQL and NoSQL requests.
- Migrations
- Nosql for performing nosql requests
- Lua validator
- Rbac db source
- Session
- docs)
- I18n translate source
- Gii code generator (ActiveRecord models, controllers, search models)
- Log target
Future plans
- Transactions
- Connection slaves support
- Queue
Running tests
-
First of all you need to run tarantool and bind it to localhost:3301
-
Install php deps
-
Install vendor
- Run phpunit tests
All versions of yii2-tarantool with dependencies
yiisoft/yii2 Version ~2.0.35
tarantool/client Version ^0.10.0
rybakit/msgpack Version ^0.9.1