Compare commits
No commits in common. "stable" and "1.1.x" have entirely different histories.
|
@ -1,3 +1 @@
|
||||||
!.gitignore
|
/vendor/
|
||||||
composer.phar
|
|
||||||
vendor
|
|
||||||
|
|
|
@ -1,35 +1,24 @@
|
||||||
{
|
{
|
||||||
"name": "mirzaev/yii2-sessions-arangodb",
|
"name": "mirzaev/yii2-arangodb-sessions",
|
||||||
"description": "Module with yii\\web\\DbSession implementation for use with ArangoDB",
|
"description": "yii\\web\\DbSession implementation for use with ArangoDB",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Yii2",
|
"Yii2",
|
||||||
"ArangoDB",
|
"ArangoDB",
|
||||||
"DbSession"
|
"DbSession"
|
||||||
],
|
],
|
||||||
"type": "yii2-extension",
|
"type": "yii2-extension",
|
||||||
"license": "WTFPL",
|
"license": "AGPL-3.0-or-later",
|
||||||
"homepage": "https://git.mirzaev.sexy/mirzaev/yii2-sessions-arangodb",
|
"homepage": "https://git.hood.su/mirzaev/yii2/arangodb/sessions",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Arsen Mirzaev Tatyano-Muradovich",
|
"name": "Arsen Mirzaev Tatyano-Muradovich",
|
||||||
"email": "arsen@mirzaev.sexy",
|
"email": "red@hood.su",
|
||||||
"homepage": "https://mirzaev.sexy",
|
"homepage": "https://hood.su/mirzaev",
|
||||||
"role": "Programmer"
|
"role": "Developer"
|
||||||
}
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"email": "arsen@mirzaev.sexy",
|
|
||||||
"wiki": "https://git.mirzaev.sexy/mirzaev/yii2-sessions-arangodb/wiki",
|
|
||||||
"issues": "https://git.mirzaev.sexy/mirzaev/yii2-sessions-arangodb/issues"
|
|
||||||
},
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "funding",
|
|
||||||
"url": "https://fund.mirzaev.sexy"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.0",
|
"php": "^8.0.0",
|
||||||
"yiisoft/yii2": "2.*",
|
"yiisoft/yii2": "2.*",
|
||||||
"mirzaev/yii2-arangodb": "~2.1.x-dev"
|
"mirzaev/yii2-arangodb": "~2.1.x-dev"
|
||||||
},
|
},
|
||||||
|
@ -38,12 +27,12 @@
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"mirzaev\\yii2\\arangodb\\sessions\\": "mirzaev/yii2/sessions/arangodb/system"
|
"mirzaev\\yii2\\arangodb\\sessions\\": "mirzaev/yii2/arangodb/sessions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"mirzaev\\yii2\\arangodb\\sessions\\tests\\": "mirzaev/yii2/sessions/arangodb/tests"
|
"mirzaev\\yii2\\arangodb\\sessions\\tests\\": "mirzaev/yii2/arangodb/sessions/tests"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,18 +2,15 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\yii2\sessions\arangodb;
|
namespace mirzaev\yii2\arangodb\sessions;
|
||||||
|
|
||||||
// Фреймворк Yii
|
|
||||||
use yii;
|
use yii;
|
||||||
use yii\di\Instance;
|
use yii\di\Instance;
|
||||||
use yii\base\InvalidConfigException;
|
use yii\base\InvalidConfigException;
|
||||||
|
|
||||||
// Модуль ArangoDB для фреймворка Yii
|
use mirzaev\yii2\arangodb\Connection;
|
||||||
use mirzaev\yii2\arangodb\Connection,
|
use mirzaev\yii2\arangodb\Query;
|
||||||
mirzaev\yii2\arangodb\Query;
|
|
||||||
|
|
||||||
// Встроенные библиотеки
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,8 +44,8 @@ use Exception;
|
||||||
*
|
*
|
||||||
* @see yii\web\DbSession Наследует, копирует (Inherit, copy)
|
* @see yii\web\DbSession Наследует, копирует (Inherit, copy)
|
||||||
*
|
*
|
||||||
* @package mirzaev\yii2\sessions\arangodb
|
* @package yii2\ArangoDB
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <red@hood.su>
|
||||||
*
|
*
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
|
@ -1,14 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Модуль ArangoDB для фреймворка Yii
|
|
||||||
use mirzaev\yii2\arangodb\Migration;
|
use mirzaev\yii2\arangodb\Migration;
|
||||||
|
|
||||||
/**
|
|
||||||
* Создание коллекции для хранения сессий
|
|
||||||
*
|
|
||||||
* @package mirzaev\yii2\sessions\arangodb
|
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
||||||
*/
|
|
||||||
class create_sessions_collection extends Migration
|
class create_sessions_collection extends Migration
|
||||||
{
|
{
|
||||||
public function up()
|
public function up()
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\yii2\sessions\arangodb;
|
namespace mirzaev\yii2\arangodb\sessions;
|
||||||
|
|
||||||
// Фреймворк Yii
|
use yii;
|
||||||
use yii,
|
|
||||||
yii\web\Session;
|
use yii\web\Session;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Базовый класс для реализации хранилища сессий
|
* Базовый класс для реализации хранилища сессий
|
||||||
|
@ -15,8 +15,7 @@ use yii,
|
||||||
*
|
*
|
||||||
* @property-read bool $useCustomStorage Разрешение использовать своё хранилища (Whether to use custom storage)
|
* @property-read bool $useCustomStorage Разрешение использовать своё хранилища (Whether to use custom storage)
|
||||||
*
|
*
|
||||||
* @package mirzaev\yii2\sessions\arangodb
|
* @author Arsen Mirzaev Tatyano-Muradovich <red@hood.su>
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
||||||
* @author Paul Klimov <klimov.paul@gmail.com>
|
* @author Paul Klimov <klimov.paul@gmail.com>
|
||||||
*/
|
*/
|
||||||
abstract class MultiFieldSession extends Session
|
abstract class MultiFieldSession extends Session
|
Loading…
Reference in New Issue