From 7fcc38da53c05a247e11bc6023fb5a0bc1c39708 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 6 Dec 2013 15:55:00 +0100 Subject: [PATCH] updated composer.json for mongo db --- composer.json | 2 ++ extensions/mongo/composer.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ad521cc..fec6e6d 100644 --- a/composer.json +++ b/composer.json @@ -55,6 +55,7 @@ "yiisoft/yii2-elasticsearch": "self.version", "yiisoft/yii2-gii": "self.version", "yiisoft/yii2-jui": "self.version", + "yiisoft/yii2-mongo": "self.version", "yiisoft/yii2-redis": "self.version", "yiisoft/yii2-smarty": "self.version", "yiisoft/yii2-swiftmailer": "self.version", @@ -83,6 +84,7 @@ "yii\\elasticsearch\\": "extensions/elasticsearch/", "yii\\gii\\": "extensions/gii/", "yii\\jui\\": "extensions/jui/", + "yii\\mongo\\": "extensions/mongo/", "yii\\redis\\": "extensions/redis/", "yii\\smarty\\": "extensions/smarty/", "yii\\swiftmailer\\": "extensions/swiftmailer/", diff --git a/extensions/mongo/composer.json b/extensions/mongo/composer.json index a9dd06e..38296b6 100644 --- a/extensions/mongo/composer.json +++ b/extensions/mongo/composer.json @@ -17,12 +17,12 @@ "email": "klimov.paul@gmail.com" } ], - "minimum-stability": "dev", "require": { "yiisoft/yii2": "*", "ext-mongo": ">=1.3.0" }, "autoload": { "psr-0": { "yii\\mongo\\": "" } - } + }, + "target-dir": "yii/mongo" }