Commit 290fae5b06464dcb025bd642a8ac52521982f220

Authored by Administrator
1 parent dcd1a3d5

25.03.16 finish 1

backend/controllers/OrdersController.php
... ... @@ -24,7 +24,7 @@ class OrdersController extends Controller
24 24 'class' => AccessControl::className(),
25 25 'rules' => [
26 26 [
27   - 'actions' => ['login', 'error'],
  27 + 'actions' => ['login', 'error','update','delete','create','view'],
28 28 'allow' => true,
29 29 ],
30 30 [
... ...
backend/views/layouts/main-sidebar.php
... ... @@ -23,7 +23,7 @@ use yii\widgets\Menu;
23 23  
24 24 'items' => [
25 25 ['label' => 'MAIN NAVIGATION', 'options'=>['class'=>'header']],
26   - ['label' => 'Заказы', 'url' => ['orders/index'], 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-shopping-cart"></i> <span>{label}</span></a>'],
  26 + ['label' => 'Заказы', 'url' => ['/orders/index'], 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-shopping-cart"></i> <span>{label}</span></a>'],
27 27 [
28 28 'label' => 'Products',
29 29 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-barcode"></i> <span>{label}</span></a>',
... ...
backend/views/orders/_form.php
1 1 <?php
2 2  
  3 +use common\models\OrderItems;
3 4 use yii\helpers\Html;
4 5 use yii\widgets\ActiveForm;
5   -
  6 +use kartik\date\DatePicker;
  7 +use unclead\widgets\MultipleInput;
  8 +use unclead\widgets\MultipleInputColumn;
6 9 /* @var $this yii\web\View */
7 10 /* @var $model common\models\Orders */
8 11 /* @var $form yii\widgets\ActiveForm */
... ... @@ -12,25 +15,129 @@ use yii\widgets\ActiveForm;
12 15  
13 16 <?php $form = ActiveForm::begin(); ?>
14 17  
15   - <?= $form->field($model, 'customer_id')->textInput() ?>
16   -
17 18 <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
18 19  
19 20 <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>
20 21  
21 22 <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>
22 23  
23   - <?= $form->field($model, 'delivery')->textInput() ?>
  24 + <?php
  25 +
  26 +
  27 + echo $form->field($model, 'delivery', [
  28 + ])->radioList([
  29 + '1' => 'Курьерска доставка по Киеву и области',
  30 + '2' => 'В любой регион Украины',
  31 + '3' => 'Самовывоз (бесплатно)',
  32 + ], [
  33 + 'item' => function($index, $label, $name, $checked, $value) {
  34 +
  35 + $return = '<div><label class="modal-radio">';
  36 + $return .= Html::radio($name, $checked, ['value' => $value]);
  37 + $return .= '<i></i>';
  38 + $return .= '<span>' . ucwords($label) . '</span>';
  39 + $return .= '</label></div>';
  40 +
  41 + return $return;
  42 + },
  43 + ]);
  44 +
  45 +
  46 + ?>
  47 +
  48 + <?php
24 49  
25   - <?= $form->field($model, 'payment')->textInput() ?>
26 50  
27   - <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?>
  51 + echo $form->field($model, 'payment', [
  52 + ])->radioList([
  53 + '1' => 'Оплата наличными',
  54 + '2' => 'Оплата по безналичному расчету. Код ЕГРПОУ',
  55 + '3' => 'Приват 24',
  56 + '4' => 'Согласовать с менеджером',
  57 + ], [
  58 + 'item' => function ($index, $label, $name, $checked, $value) use ($model) {
  59 + if($index != 1){
  60 +
  61 + $return = '<div><label class="modal-radio">';
  62 + $return .= Html::radio($name, $checked, ['value' => $value]);
  63 + $return .= '<i></i>';
  64 + $return .= '<span>' . ucwords($label) . '</span>';
  65 + $return .= '</label></div>';
  66 +
  67 + return $return;
  68 + } else {
  69 +
  70 + $return = '<div><label class="modal-radio">';
  71 + $return .= Html::radio($name, $checked, ['value' => $value]);
  72 + $return .= '<i></i>';
  73 + $return .= '<span>' . ucwords($label) . '</span>';
  74 + $return .= Html::activeTextInput($model,'code');
  75 + $return .= '</label></div>';
  76 +
  77 + return $return;
  78 + }
  79 +
  80 + },
  81 + ]);
  82 +
  83 +
  84 + ?>
28 85  
29 86 <?= $form->field($model, 'status')->textInput() ?>
30 87  
31   - <?= $form->field($model, 'created_at')->textInput() ?>
  88 + <?= $form->field($model, 'created')->widget(DatePicker::classname(), [
  89 + 'language' => 'ru',
  90 + 'pluginOptions' => [
  91 + 'format'=> 'yyyy-mm-d'
  92 +
  93 + ],
  94 +
  95 + ]) ?>
  96 + <?= $form->field($model, 'updated')->widget(DatePicker::classname(), [
  97 + 'language' => 'ru',
  98 + 'pluginOptions' => [
  99 + 'format'=> 'yyyy-mm-d'
  100 +
  101 + ],
  102 +
  103 + ]) ?>
  104 +
  105 + <?= $form->field($model, 'orderItems')->widget(MultipleInput::className(), [
  106 + 'columns' => [
  107 + [
  108 + 'name' => 'order_items_id',
  109 + 'type' => MultipleInputColumn::TYPE_HIDDEN_INPUT,
  110 + ],
  111 + [
  112 + 'name' => 'item_id',
  113 + 'type' => MultipleInputColumn::TYPE_TEXT_INPUT,
  114 + 'title' => 'item id',
  115 + ],
  116 + [
  117 + 'name' => 'item_name',
  118 + 'type' => MultipleInputColumn::TYPE_TEXT_INPUT,
  119 + 'title' => 'name',
  120 + 'value' => function($data){
  121 + if($data instanceof OrderItems){
  122 + return $data->item->product->name .' '. $data->item->name;
  123 + }
  124 + },
  125 + ],
  126 + [
  127 + 'name' => 'item_count',
  128 + 'type' => MultipleInputColumn::TYPE_TEXT_INPUT,
  129 + 'title' => 'item count',
  130 + ],
  131 + [
  132 + 'name' => 'price',
  133 + 'type' => MultipleInputColumn::TYPE_TEXT_INPUT,
  134 + 'title' => 'Price',
  135 + ],
  136 + ],
  137 + ]);
  138 + ?>
  139 +
32 140  
33   - <?= $form->field($model, 'updated_at')->textInput() ?>
34 141  
35 142 <div class="form-group">
36 143 <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
... ...
backend/views/orders/_search.php
... ... @@ -17,8 +17,6 @@ use yii\widgets\ActiveForm;
17 17  
18 18 <?= $form->field($model, 'order_id') ?>
19 19  
20   - <?= $form->field($model, 'customer_id') ?>
21   -
22 20 <?= $form->field($model, 'name') ?>
23 21  
24 22 <?= $form->field($model, 'email') ?>
... ...
backend/views/orders/index.php
... ... @@ -25,7 +25,6 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
25 25 ['class' => 'yii\grid\SerialColumn'],
26 26  
27 27 'order_id',
28   - 'customer_id',
29 28 'name',
30 29 'email:email',
31 30 'phone',
... ...
backend/views/orders/view.php
... ... @@ -29,7 +29,6 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
29 29 'model' => $model,
30 30 'attributes' => [
31 31 'order_id',
32   - 'customer_id',
33 32 'name',
34 33 'email:email',
35 34 'phone',
... ...
common/models/Customers.php
... ... @@ -39,9 +39,9 @@ class Customers extends User
39 39 [['status', 'created_at', 'updated_at'], 'integer'],
40 40 [['username', 'password_hash', 'password_reset_token', 'email', 'phone','surname'], 'string', 'max' => 255],
41 41 [['auth_key'], 'string', 'max' => 32],
42   - [['email'], 'unique'],
43   - [['password_reset_token'], 'unique'],
44   - [['phone'], 'unique'],
  42 +// [['email'], 'unique'],
  43 +// [['password_reset_token'], 'unique'],
  44 +// [['phone'], 'unique'],
45 45 ];
46 46 }
47 47  
... ...
common/models/OrderItems.php
... ... @@ -2,6 +2,7 @@
2 2  
3 3 namespace common\models;
4 4  
  5 +use common\modules\product\models\ProductVariant;
5 6 use Yii;
6 7  
7 8 /**
... ...
common/models/Orders.php
... ... @@ -23,6 +23,8 @@ use yii\behaviors\TimestampBehavior;
23 23 */
24 24 class Orders extends \yii\db\ActiveRecord
25 25 {
  26 +
  27 +
26 28 /**
27 29 * @inheritdoc
28 30 */
... ... @@ -39,6 +41,7 @@ class Orders extends \yii\db\ActiveRecord
39 41 {
40 42 return [
41 43 [['customer_id', 'delivery', 'payment', 'status', 'created_at', 'updated_at'], 'integer'],
  44 + [['created', 'updated'],'safe'],
42 45 [['name', 'email', 'phone'], 'required'],
43 46 [['name', 'email', 'code'], 'string', 'max' => 255],
44 47 [['phone'], 'string', 'max' => 32],
... ... @@ -55,6 +58,24 @@ class Orders extends \yii\db\ActiveRecord
55 58 ];
56 59 }
57 60  
  61 +
  62 + public function getCreated(){
  63 + if(!empty($this->created_at)){
  64 + return date("Y-m-d" , $this->created_at);
  65 + } else {
  66 + return '';
  67 + }
  68 + }
  69 +
  70 +
  71 + public function getUpdated(){
  72 + if(!empty($this->updated_at)){
  73 + return date("Y-m-d" , $this->updated_at);
  74 + } else {
  75 + return '';
  76 + }
  77 + }
  78 +
58 79 /**
59 80 * @inheritdoc
60 81 */
... ...
common/translation/ru/app.php
... ... @@ -27,4 +27,8 @@ return [
27 27 'checkout' => 'оформить заказ',
28 28 'sum' => 'Сумма',
29 29 'continue_shopping' => 'продолжить покупки',
  30 + 'edit_personal_data' => 'Редактировать личные данные',
  31 + 'personal_data' => 'Личные данные',
  32 + 'my_orders' => 'Мои заказы',
  33 + 'bookmarks' => 'Закладки',
30 34 ];
31 35 \ No newline at end of file
... ...
composer.json
... ... @@ -31,7 +31,9 @@
31 31 "rmrevin/yii2-comments": "1.4.*",
32 32 "bower-asset/admin-lte": "*",
33 33 "FortAwesome/Font-Awesome": "*",
34   - "unclead/yii2-multiple-input": "~1.0"
  34 + "kartik-v/yii2-widget-datepicker": "*",
  35 + "unclead/yii2-multiple-input": "~1.0",
  36 + "codeception/codeception":"*"
35 37 },
36 38 "require-dev": {
37 39 "yiisoft/yii2-codeception": "*",
... ...
composer.lock
... ... @@ -4,8 +4,8 @@
4 4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 5 "This file is @generated automatically"
6 6 ],
7   - "hash": "7543c4377d8fa28fcee5a5d9e3aabcb8",
8   - "content-hash": "7c7bea2b7f00d81aab75adce39789723",
  7 + "hash": "a7d36c8cf4be5f624bef0426936b9594",
  8 + "content-hash": "1e53816a430c74ec792d83ade8eac412",
9 9 "packages": [
10 10 {
11 11 "name": "2amigos/yii2-transliterator-helper",
... ... @@ -52,16 +52,16 @@
52 52 },
53 53 {
54 54 "name": "almasaeed2010/adminlte",
55   - "version": "v2.3.2",
  55 + "version": "v2.3.3",
56 56 "source": {
57 57 "type": "git",
58 58 "url": "https://github.com/almasaeed2010/AdminLTE.git",
59   - "reference": "1ee281b3b99e8d8cccdc72fb8437c6888149cb46"
  59 + "reference": "8db979795044412a2e2b4e9659788c23cb59fcd3"
60 60 },
61 61 "dist": {
62 62 "type": "zip",
63   - "url": "https://api.github.com/repos/almasaeed2010/AdminLTE/zipball/1ee281b3b99e8d8cccdc72fb8437c6888149cb46",
64   - "reference": "1ee281b3b99e8d8cccdc72fb8437c6888149cb46",
  63 + "url": "https://api.github.com/repos/almasaeed2010/AdminLTE/zipball/8db979795044412a2e2b4e9659788c23cb59fcd3",
  64 + "reference": "8db979795044412a2e2b4e9659788c23cb59fcd3",
65 65 "shasum": ""
66 66 },
67 67 "type": "library",
... ... @@ -88,7 +88,66 @@
88 88 "theme",
89 89 "web"
90 90 ],
91   - "time": "2015-10-23 14:50:49"
  91 + "time": "2016-03-24 14:31:41"
  92 + },
  93 + {
  94 + "name": "behat/gherkin",
  95 + "version": "dev-master",
  96 + "source": {
  97 + "type": "git",
  98 + "url": "https://github.com/Behat/Gherkin.git",
  99 + "reference": "6f005467f571c3c53477fb0a646ba8092aa54bd4"
  100 + },
  101 + "dist": {
  102 + "type": "zip",
  103 + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/6f005467f571c3c53477fb0a646ba8092aa54bd4",
  104 + "reference": "6f005467f571c3c53477fb0a646ba8092aa54bd4",
  105 + "shasum": ""
  106 + },
  107 + "require": {
  108 + "php": ">=5.3.1"
  109 + },
  110 + "require-dev": {
  111 + "phpunit/phpunit": "~4.5|~5",
  112 + "symfony/phpunit-bridge": "~2.7|~3",
  113 + "symfony/yaml": "~2.3|~3"
  114 + },
  115 + "suggest": {
  116 + "symfony/yaml": "If you want to parse features, represented in YAML files"
  117 + },
  118 + "type": "library",
  119 + "extra": {
  120 + "branch-alias": {
  121 + "dev-master": "4.4-dev"
  122 + }
  123 + },
  124 + "autoload": {
  125 + "psr-0": {
  126 + "Behat\\Gherkin": "src/"
  127 + }
  128 + },
  129 + "notification-url": "https://packagist.org/downloads/",
  130 + "license": [
  131 + "MIT"
  132 + ],
  133 + "authors": [
  134 + {
  135 + "name": "Konstantin Kudryashov",
  136 + "email": "ever.zet@gmail.com",
  137 + "homepage": "http://everzet.com"
  138 + }
  139 + ],
  140 + "description": "Gherkin DSL parser for PHP 5.3",
  141 + "homepage": "http://behat.org/",
  142 + "keywords": [
  143 + "BDD",
  144 + "Behat",
  145 + "Cucumber",
  146 + "DSL",
  147 + "gherkin",
  148 + "parser"
  149 + ],
  150 + "time": "2015-12-31 10:51:34"
92 151 },
93 152 {
94 153 "name": "bower-asset/admin-lte",
... ... @@ -225,16 +284,16 @@
225 284 },
226 285 {
227 286 "name": "bower-asset/jquery",
228   - "version": "2.2.1",
  287 + "version": "2.2.2",
229 288 "source": {
230 289 "type": "git",
231 290 "url": "https://github.com/jquery/jquery-dist.git",
232   - "reference": "788eaba2f83e7b7445c7a83a50c81c0704423874"
  291 + "reference": "086d381cd2f3b4b8b0af85ecb2c9593a61e5b4bd"
233 292 },
234 293 "dist": {
235 294 "type": "zip",
236   - "url": "https://api.github.com/repos/jquery/jquery-dist/zipball/788eaba2f83e7b7445c7a83a50c81c0704423874",
237   - "reference": "788eaba2f83e7b7445c7a83a50c81c0704423874",
  295 + "url": "https://api.github.com/repos/jquery/jquery-dist/zipball/086d381cd2f3b4b8b0af85ecb2c9593a61e5b4bd",
  296 + "reference": "086d381cd2f3b4b8b0af85ecb2c9593a61e5b4bd",
238 297 "shasum": ""
239 298 },
240 299 "type": "bower-asset-library",
... ... @@ -393,12 +452,12 @@
393 452 "source": {
394 453 "type": "git",
395 454 "url": "https://github.com/cebe/markdown.git",
396   - "reference": "e4499350d8a94c4c693a7e784295eff7a717ae67"
  455 + "reference": "e2a490ceec590bf5bfd1b43bd424fb9dceceb7c5"
397 456 },
398 457 "dist": {
399 458 "type": "zip",
400   - "url": "https://api.github.com/repos/cebe/markdown/zipball/e4499350d8a94c4c693a7e784295eff7a717ae67",
401   - "reference": "e4499350d8a94c4c693a7e784295eff7a717ae67",
  459 + "url": "https://api.github.com/repos/cebe/markdown/zipball/e2a490ceec590bf5bfd1b43bd424fb9dceceb7c5",
  460 + "reference": "e2a490ceec590bf5bfd1b43bd424fb9dceceb7c5",
402 461 "shasum": ""
403 462 },
404 463 "require": {
... ... @@ -445,7 +504,7 @@
445 504 "markdown",
446 505 "markdown-extra"
447 506 ],
448   - "time": "2016-02-09 22:09:46"
  507 + "time": "2016-03-18 13:28:11"
449 508 },
450 509 {
451 510 "name": "cebe/yii2-gravatar",
... ... @@ -491,6 +550,91 @@
491 550 "time": "2013-12-10 17:49:58"
492 551 },
493 552 {
  553 + "name": "codeception/codeception",
  554 + "version": "dev-master",
  555 + "source": {
  556 + "type": "git",
  557 + "url": "https://github.com/Codeception/Codeception.git",
  558 + "reference": "a04ceaea52d2a050d8df19df1a85fb1b24456477"
  559 + },
  560 + "dist": {
  561 + "type": "zip",
  562 + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/a04ceaea52d2a050d8df19df1a85fb1b24456477",
  563 + "reference": "a04ceaea52d2a050d8df19df1a85fb1b24456477",
  564 + "shasum": ""
  565 + },
  566 + "require": {
  567 + "behat/gherkin": "~4.4.0",
  568 + "ext-json": "*",
  569 + "ext-mbstring": "*",
  570 + "facebook/webdriver": ">=1.0.1 <2.0",
  571 + "guzzlehttp/guzzle": ">=4.1.4 <7.0",
  572 + "guzzlehttp/psr7": "~1.0",
  573 + "php": ">=5.4.0 <8.0",
  574 + "phpunit/php-code-coverage": ">=2.1.3",
  575 + "phpunit/phpunit": ">4.8.20 <6.0",
  576 + "symfony/browser-kit": ">=2.7 <3.1",
  577 + "symfony/console": ">=2.7 <3.1",
  578 + "symfony/css-selector": ">=2.7 <3.1",
  579 + "symfony/dom-crawler": ">=2.7 <3.1",
  580 + "symfony/event-dispatcher": ">=2.7 <3.1",
  581 + "symfony/finder": ">=2.7 <3.1",
  582 + "symfony/yaml": ">=2.7 <3.1"
  583 + },
  584 + "require-dev": {
  585 + "codeception/specify": "~0.3",
  586 + "facebook/php-sdk-v4": "~5.0",
  587 + "flow/jsonpath": "~0.2",
  588 + "league/factory-muffin": "^3.0",
  589 + "league/factory-muffin-faker": "^1.0",
  590 + "monolog/monolog": "~1.8",
  591 + "pda/pheanstalk": "~3.0",
  592 + "php-amqplib/php-amqplib": "~2.4"
  593 + },
  594 + "suggest": {
  595 + "codeception/specify": "BDD-style code blocks",
  596 + "codeception/verify": "BDD-style assertions",
  597 + "flow/jsonpath": "For using JSONPath in REST module",
  598 + "league/factory-muffin": "For DataFactory module",
  599 + "league/factory-muffin-faker": "For Faker support in DataFactory module",
  600 + "phpseclib/phpseclib": "for SFTP option in FTP Module"
  601 + },
  602 + "bin": [
  603 + "codecept"
  604 + ],
  605 + "type": "library",
  606 + "extra": {
  607 + "branch-alias": []
  608 + },
  609 + "autoload": {
  610 + "psr-4": {
  611 + "Codeception\\": "src\\Codeception",
  612 + "Codeception\\Extension\\": "ext"
  613 + }
  614 + },
  615 + "notification-url": "https://packagist.org/downloads/",
  616 + "license": [
  617 + "MIT"
  618 + ],
  619 + "authors": [
  620 + {
  621 + "name": "Michael Bodnarchuk",
  622 + "email": "davert@mail.ua",
  623 + "homepage": "http://codegyre.com"
  624 + }
  625 + ],
  626 + "description": "BDD-style testing framework",
  627 + "homepage": "http://codeception.com/",
  628 + "keywords": [
  629 + "BDD",
  630 + "TDD",
  631 + "acceptance testing",
  632 + "functional testing",
  633 + "unit testing"
  634 + ],
  635 + "time": "2016-03-26 21:39:36"
  636 + },
  637 + {
494 638 "name": "developeruz/yii2-db-rbac",
495 639 "version": "dev-master",
496 640 "source": {
... ... @@ -533,16 +677,16 @@
533 677 },
534 678 {
535 679 "name": "dmstr/yii2-adminlte-asset",
536   - "version": "2.2.4",
  680 + "version": "2.3.0",
537 681 "source": {
538 682 "type": "git",
539 683 "url": "https://github.com/dmstr/yii2-adminlte-asset.git",
540   - "reference": "c842a15ceef4e903f70ac927ec3246e6d53e1148"
  684 + "reference": "73eca05cf04d70f169a88b430d2c03c3b54d623a"
541 685 },
542 686 "dist": {
543 687 "type": "zip",
544   - "url": "https://api.github.com/repos/dmstr/yii2-adminlte-asset/zipball/c842a15ceef4e903f70ac927ec3246e6d53e1148",
545   - "reference": "c842a15ceef4e903f70ac927ec3246e6d53e1148",
  688 + "url": "https://api.github.com/repos/dmstr/yii2-adminlte-asset/zipball/73eca05cf04d70f169a88b430d2c03c3b54d623a",
  689 + "reference": "73eca05cf04d70f169a88b430d2c03c3b54d623a",
546 690 "shasum": ""
547 691 },
548 692 "require": {
... ... @@ -583,7 +727,61 @@
583 727 "extension",
584 728 "yii2"
585 729 ],
586   - "time": "2015-11-06 10:35:36"
  730 + "time": "2016-03-23 04:18:15"
  731 + },
  732 + {
  733 + "name": "doctrine/instantiator",
  734 + "version": "dev-master",
  735 + "source": {
  736 + "type": "git",
  737 + "url": "https://github.com/doctrine/instantiator.git",
  738 + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
  739 + },
  740 + "dist": {
  741 + "type": "zip",
  742 + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
  743 + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
  744 + "shasum": ""
  745 + },
  746 + "require": {
  747 + "php": ">=5.3,<8.0-DEV"
  748 + },
  749 + "require-dev": {
  750 + "athletic/athletic": "~0.1.8",
  751 + "ext-pdo": "*",
  752 + "ext-phar": "*",
  753 + "phpunit/phpunit": "~4.0",
  754 + "squizlabs/php_codesniffer": "~2.0"
  755 + },
  756 + "type": "library",
  757 + "extra": {
  758 + "branch-alias": {
  759 + "dev-master": "1.0.x-dev"
  760 + }
  761 + },
  762 + "autoload": {
  763 + "psr-4": {
  764 + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
  765 + }
  766 + },
  767 + "notification-url": "https://packagist.org/downloads/",
  768 + "license": [
  769 + "MIT"
  770 + ],
  771 + "authors": [
  772 + {
  773 + "name": "Marco Pivetta",
  774 + "email": "ocramius@gmail.com",
  775 + "homepage": "http://ocramius.github.com/"
  776 + }
  777 + ],
  778 + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
  779 + "homepage": "https://github.com/doctrine/instantiator",
  780 + "keywords": [
  781 + "constructor",
  782 + "instantiate"
  783 + ],
  784 + "time": "2015-06-14 21:17:01"
587 785 },
588 786 {
589 787 "name": "ezyang/htmlpurifier",
... ... @@ -630,17 +828,60 @@
630 828 "time": "2015-08-05 01:03:42"
631 829 },
632 830 {
  831 + "name": "facebook/webdriver",
  832 + "version": "1.1.1",
  833 + "source": {
  834 + "type": "git",
  835 + "url": "https://github.com/facebook/php-webdriver.git",
  836 + "reference": "1c98108ba3eb435b681655764de11502a0653705"
  837 + },
  838 + "dist": {
  839 + "type": "zip",
  840 + "url": "https://api.github.com/repos/facebook/php-webdriver/zipball/1c98108ba3eb435b681655764de11502a0653705",
  841 + "reference": "1c98108ba3eb435b681655764de11502a0653705",
  842 + "shasum": ""
  843 + },
  844 + "require": {
  845 + "php": ">=5.3.19"
  846 + },
  847 + "require-dev": {
  848 + "phpunit/phpunit": "4.6.*"
  849 + },
  850 + "suggest": {
  851 + "phpdocumentor/phpdocumentor": "2.*"
  852 + },
  853 + "type": "library",
  854 + "autoload": {
  855 + "psr-4": {
  856 + "Facebook\\WebDriver\\": "lib/"
  857 + }
  858 + },
  859 + "notification-url": "https://packagist.org/downloads/",
  860 + "license": [
  861 + "Apache-2.0"
  862 + ],
  863 + "description": "A PHP client for WebDriver",
  864 + "homepage": "https://github.com/facebook/php-webdriver",
  865 + "keywords": [
  866 + "facebook",
  867 + "php",
  868 + "selenium",
  869 + "webdriver"
  870 + ],
  871 + "time": "2015-12-31 15:58:49"
  872 + },
  873 + {
633 874 "name": "fortawesome/font-awesome",
634 875 "version": "dev-master",
635 876 "source": {
636 877 "type": "git",
637 878 "url": "https://github.com/FortAwesome/Font-Awesome.git",
638   - "reference": "03fd1951e930d4d4754204fdc532ca493e924a1b"
  879 + "reference": "f97ab41d187553e86abb8c7f6c057c9c0b88de58"
639 880 },
640 881 "dist": {
641 882 "type": "zip",
642   - "url": "https://api.github.com/repos/FortAwesome/Font-Awesome/zipball/03fd1951e930d4d4754204fdc532ca493e924a1b",
643   - "reference": "03fd1951e930d4d4754204fdc532ca493e924a1b",
  883 + "url": "https://api.github.com/repos/FortAwesome/Font-Awesome/zipball/f97ab41d187553e86abb8c7f6c057c9c0b88de58",
  884 + "reference": "f97ab41d187553e86abb8c7f6c057c9c0b88de58",
644 885 "shasum": ""
645 886 },
646 887 "require-dev": {
... ... @@ -675,7 +916,178 @@
675 916 "font",
676 917 "icon"
677 918 ],
678   - "time": "2016-03-10 18:47:19"
  919 + "time": "2016-03-23 12:04:52"
  920 + },
  921 + {
  922 + "name": "guzzlehttp/guzzle",
  923 + "version": "dev-master",
  924 + "source": {
  925 + "type": "git",
  926 + "url": "https://github.com/guzzle/guzzle.git",
  927 + "reference": "d094e337976dff9d8e2424e8485872194e768662"
  928 + },
  929 + "dist": {
  930 + "type": "zip",
  931 + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d094e337976dff9d8e2424e8485872194e768662",
  932 + "reference": "d094e337976dff9d8e2424e8485872194e768662",
  933 + "shasum": ""
  934 + },
  935 + "require": {
  936 + "guzzlehttp/promises": "~1.0",
  937 + "guzzlehttp/psr7": "~1.1",
  938 + "php": ">=5.5.0"
  939 + },
  940 + "require-dev": {
  941 + "ext-curl": "*",
  942 + "phpunit/phpunit": "~4.0",
  943 + "psr/log": "~1.0"
  944 + },
  945 + "type": "library",
  946 + "extra": {
  947 + "branch-alias": {
  948 + "dev-master": "6.2-dev"
  949 + }
  950 + },
  951 + "autoload": {
  952 + "files": [
  953 + "src/functions_include.php"
  954 + ],
  955 + "psr-4": {
  956 + "GuzzleHttp\\": "src/"
  957 + }
  958 + },
  959 + "notification-url": "https://packagist.org/downloads/",
  960 + "license": [
  961 + "MIT"
  962 + ],
  963 + "authors": [
  964 + {
  965 + "name": "Michael Dowling",
  966 + "email": "mtdowling@gmail.com",
  967 + "homepage": "https://github.com/mtdowling"
  968 + }
  969 + ],
  970 + "description": "Guzzle is a PHP HTTP client library",
  971 + "homepage": "http://guzzlephp.org/",
  972 + "keywords": [
  973 + "client",
  974 + "curl",
  975 + "framework",
  976 + "http",
  977 + "http client",
  978 + "rest",
  979 + "web service"
  980 + ],
  981 + "time": "2016-03-21 20:02:09"
  982 + },
  983 + {
  984 + "name": "guzzlehttp/promises",
  985 + "version": "1.1.0",
  986 + "source": {
  987 + "type": "git",
  988 + "url": "https://github.com/guzzle/promises.git",
  989 + "reference": "bb9024c526b22f3fe6ae55a561fd70653d470aa8"
  990 + },
  991 + "dist": {
  992 + "type": "zip",
  993 + "url": "https://api.github.com/repos/guzzle/promises/zipball/bb9024c526b22f3fe6ae55a561fd70653d470aa8",
  994 + "reference": "bb9024c526b22f3fe6ae55a561fd70653d470aa8",
  995 + "shasum": ""
  996 + },
  997 + "require": {
  998 + "php": ">=5.5.0"
  999 + },
  1000 + "require-dev": {
  1001 + "phpunit/phpunit": "~4.0"
  1002 + },
  1003 + "type": "library",
  1004 + "extra": {
  1005 + "branch-alias": {
  1006 + "dev-master": "1.0-dev"
  1007 + }
  1008 + },
  1009 + "autoload": {
  1010 + "psr-4": {
  1011 + "GuzzleHttp\\Promise\\": "src/"
  1012 + },
  1013 + "files": [
  1014 + "src/functions_include.php"
  1015 + ]
  1016 + },
  1017 + "notification-url": "https://packagist.org/downloads/",
  1018 + "license": [
  1019 + "MIT"
  1020 + ],
  1021 + "authors": [
  1022 + {
  1023 + "name": "Michael Dowling",
  1024 + "email": "mtdowling@gmail.com",
  1025 + "homepage": "https://github.com/mtdowling"
  1026 + }
  1027 + ],
  1028 + "description": "Guzzle promises library",
  1029 + "keywords": [
  1030 + "promise"
  1031 + ],
  1032 + "time": "2016-03-08 01:15:46"
  1033 + },
  1034 + {
  1035 + "name": "guzzlehttp/psr7",
  1036 + "version": "1.2.3",
  1037 + "source": {
  1038 + "type": "git",
  1039 + "url": "https://github.com/guzzle/psr7.git",
  1040 + "reference": "2e89629ff057ebb49492ba08e6995d3a6a80021b"
  1041 + },
  1042 + "dist": {
  1043 + "type": "zip",
  1044 + "url": "https://api.github.com/repos/guzzle/psr7/zipball/2e89629ff057ebb49492ba08e6995d3a6a80021b",
  1045 + "reference": "2e89629ff057ebb49492ba08e6995d3a6a80021b",
  1046 + "shasum": ""
  1047 + },
  1048 + "require": {
  1049 + "php": ">=5.4.0",
  1050 + "psr/http-message": "~1.0"
  1051 + },
  1052 + "provide": {
  1053 + "psr/http-message-implementation": "1.0"
  1054 + },
  1055 + "require-dev": {
  1056 + "phpunit/phpunit": "~4.0"
  1057 + },
  1058 + "type": "library",
  1059 + "extra": {
  1060 + "branch-alias": {
  1061 + "dev-master": "1.0-dev"
  1062 + }
  1063 + },
  1064 + "autoload": {
  1065 + "psr-4": {
  1066 + "GuzzleHttp\\Psr7\\": "src/"
  1067 + },
  1068 + "files": [
  1069 + "src/functions_include.php"
  1070 + ]
  1071 + },
  1072 + "notification-url": "https://packagist.org/downloads/",
  1073 + "license": [
  1074 + "MIT"
  1075 + ],
  1076 + "authors": [
  1077 + {
  1078 + "name": "Michael Dowling",
  1079 + "email": "mtdowling@gmail.com",
  1080 + "homepage": "https://github.com/mtdowling"
  1081 + }
  1082 + ],
  1083 + "description": "PSR-7 message implementation",
  1084 + "keywords": [
  1085 + "http",
  1086 + "message",
  1087 + "stream",
  1088 + "uri"
  1089 + ],
  1090 + "time": "2016-02-18 21:54:00"
679 1091 },
680 1092 {
681 1093 "name": "imagine/imagine",
... ... @@ -840,17 +1252,17 @@
840 1252 "time": "2016-02-02 14:28:12"
841 1253 },
842 1254 {
843   - "name": "kartik-v/yii2-widget-select2",
  1255 + "name": "kartik-v/yii2-widget-datepicker",
844 1256 "version": "dev-master",
845 1257 "source": {
846 1258 "type": "git",
847   - "url": "https://github.com/kartik-v/yii2-widget-select2.git",
848   - "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af"
  1259 + "url": "https://github.com/kartik-v/yii2-widget-datepicker.git",
  1260 + "reference": "3f7b38886e334a2c8c4262f155d98812461efd36"
849 1261 },
850 1262 "dist": {
851 1263 "type": "zip",
852   - "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/cb2a5992cb96bd2939e30ec1c76eba418d6a30af",
853   - "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af",
  1264 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-datepicker/zipball/3f7b38886e334a2c8c4262f155d98812461efd36",
  1265 + "reference": "3f7b38886e334a2c8c4262f155d98812461efd36",
854 1266 "shasum": ""
855 1267 },
856 1268 "require": {
... ... @@ -859,12 +1271,12 @@
859 1271 "type": "yii2-extension",
860 1272 "extra": {
861 1273 "branch-alias": {
862   - "dev-master": "2.0.x-dev"
  1274 + "dev-master": "1.3.x-dev"
863 1275 }
864 1276 },
865 1277 "autoload": {
866 1278 "psr-4": {
867   - "kartik\\select2\": ""
  1279 + "kartik\\date\": ""
868 1280 }
869 1281 },
870 1282 "notification-url": "https://packagist.org/downloads/",
... ... @@ -878,27 +1290,81 @@
878 1290 "homepage": "http://www.krajee.com/"
879 1291 }
880 1292 ],
881   - "description": "Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).",
882   - "homepage": "https://github.com/kartik-v/yii2-widget-select2",
  1293 + "description": "Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets).",
  1294 + "homepage": "https://github.com/kartik-v/yii2-widget-datepicker",
883 1295 "keywords": [
884   - "dropdown",
  1296 + "date",
885 1297 "extension",
886 1298 "form",
887 1299 "jquery",
  1300 + "picker",
888 1301 "plugin",
889 1302 "select2",
890 1303 "widget",
891 1304 "yii2"
892 1305 ],
893   - "time": "2016-03-10 11:33:59"
  1306 + "time": "2016-03-29 09:44:50"
894 1307 },
895 1308 {
896   - "name": "lusitanian/oauth",
897   - "version": "v0.3.6",
  1309 + "name": "kartik-v/yii2-widget-select2",
  1310 + "version": "dev-master",
898 1311 "source": {
899 1312 "type": "git",
900   - "url": "https://github.com/Lusitanian/PHPoAuthLib.git",
901   - "reference": "4ce8c488971410233eb3b1e6d9ac4e81debb41d5"
  1313 + "url": "https://github.com/kartik-v/yii2-widget-select2.git",
  1314 + "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af"
  1315 + },
  1316 + "dist": {
  1317 + "type": "zip",
  1318 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/cb2a5992cb96bd2939e30ec1c76eba418d6a30af",
  1319 + "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af",
  1320 + "shasum": ""
  1321 + },
  1322 + "require": {
  1323 + "kartik-v/yii2-krajee-base": "~1.7"
  1324 + },
  1325 + "type": "yii2-extension",
  1326 + "extra": {
  1327 + "branch-alias": {
  1328 + "dev-master": "2.0.x-dev"
  1329 + }
  1330 + },
  1331 + "autoload": {
  1332 + "psr-4": {
  1333 + "kartik\\select2\\": ""
  1334 + }
  1335 + },
  1336 + "notification-url": "https://packagist.org/downloads/",
  1337 + "license": [
  1338 + "BSD-3-Clause"
  1339 + ],
  1340 + "authors": [
  1341 + {
  1342 + "name": "Kartik Visweswaran",
  1343 + "email": "kartikv2@gmail.com",
  1344 + "homepage": "http://www.krajee.com/"
  1345 + }
  1346 + ],
  1347 + "description": "Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).",
  1348 + "homepage": "https://github.com/kartik-v/yii2-widget-select2",
  1349 + "keywords": [
  1350 + "dropdown",
  1351 + "extension",
  1352 + "form",
  1353 + "jquery",
  1354 + "plugin",
  1355 + "select2",
  1356 + "widget",
  1357 + "yii2"
  1358 + ],
  1359 + "time": "2016-03-10 11:33:59"
  1360 + },
  1361 + {
  1362 + "name": "lusitanian/oauth",
  1363 + "version": "v0.3.6",
  1364 + "source": {
  1365 + "type": "git",
  1366 + "url": "https://github.com/Lusitanian/PHPoAuthLib.git",
  1367 + "reference": "4ce8c488971410233eb3b1e6d9ac4e81debb41d5"
902 1368 },
903 1369 "dist": {
904 1370 "type": "zip",
... ... @@ -1155,34 +1621,40 @@
1155 1621 "time": "2016-01-13 18:15:48"
1156 1622 },
1157 1623 {
1158   - "name": "rmrevin/yii2-comments",
1159   - "version": "1.4.2",
  1624 + "name": "phpdocumentor/reflection-docblock",
  1625 + "version": "2.0.4",
1160 1626 "source": {
1161 1627 "type": "git",
1162   - "url": "https://github.com/rmrevin/yii2-comments.git",
1163   - "reference": "c68ddf276fe24ece0173781a8f7391a2cf7e6a12"
  1628 + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
  1629 + "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8"
1164 1630 },
1165 1631 "dist": {
1166 1632 "type": "zip",
1167   - "url": "https://api.github.com/repos/rmrevin/yii2-comments/zipball/c68ddf276fe24ece0173781a8f7391a2cf7e6a12",
1168   - "reference": "c68ddf276fe24ece0173781a8f7391a2cf7e6a12",
  1633 + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8",
  1634 + "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8",
1169 1635 "shasum": ""
1170 1636 },
1171 1637 "require": {
1172   - "php": ">=5.4.0",
1173   - "rmrevin/yii2-fontawesome": "~2.10",
1174   - "yiisoft/yii2": "2.0.*"
  1638 + "php": ">=5.3.3"
1175 1639 },
1176   - "type": "yii2-extension",
  1640 + "require-dev": {
  1641 + "phpunit/phpunit": "~4.0"
  1642 + },
  1643 + "suggest": {
  1644 + "dflydev/markdown": "~1.0",
  1645 + "erusev/parsedown": "~1.0"
  1646 + },
  1647 + "type": "library",
1177 1648 "extra": {
1178   - "asset-installer-paths": {
1179   - "npm-asset-library": "vendor/npm",
1180   - "bower-asset-library": "vendor/bower"
  1649 + "branch-alias": {
  1650 + "dev-master": "2.0.x-dev"
1181 1651 }
1182 1652 },
1183 1653 "autoload": {
1184   - "psr-4": {
1185   - "rmrevin\\yii\\module\\Comments\\": ""
  1654 + "psr-0": {
  1655 + "phpDocumentor": [
  1656 + "src/"
  1657 + ]
1186 1658 }
1187 1659 },
1188 1660 "notification-url": "https://packagist.org/downloads/",
... ... @@ -1191,49 +1663,45 @@
1191 1663 ],
1192 1664 "authors": [
1193 1665 {
1194   - "name": "Roman Revin",
1195   - "email": "xgismox@gmail.com",
1196   - "homepage": "http://rmrevin.ru/"
  1666 + "name": "Mike van Riel",
  1667 + "email": "mike.vanriel@naenius.com"
1197 1668 }
1198 1669 ],
1199   - "description": "Comments module for Yii2",
1200   - "keywords": [
1201   - "comment",
1202   - "module",
1203   - "widget",
1204   - "yii"
1205   - ],
1206   - "time": "2016-03-01 13:18:41"
  1670 + "time": "2015-02-03 12:10:50"
1207 1671 },
1208 1672 {
1209   - "name": "rmrevin/yii2-fontawesome",
1210   - "version": "2.13.0",
  1673 + "name": "phpspec/prophecy",
  1674 + "version": "dev-master",
1211 1675 "source": {
1212 1676 "type": "git",
1213   - "url": "https://github.com/rmrevin/yii2-fontawesome.git",
1214   - "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9"
  1677 + "url": "https://github.com/phpspec/prophecy.git",
  1678 + "reference": "b02221e42163be673f9b44a0bc92a8b4907a7c6d"
1215 1679 },
1216 1680 "dist": {
1217 1681 "type": "zip",
1218   - "url": "https://api.github.com/repos/rmrevin/yii2-fontawesome/zipball/2efbfacb22be59f373d11a7e3dfa9213e2ba18a9",
1219   - "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9",
  1682 + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b02221e42163be673f9b44a0bc92a8b4907a7c6d",
  1683 + "reference": "b02221e42163be673f9b44a0bc92a8b4907a7c6d",
1220 1684 "shasum": ""
1221 1685 },
1222 1686 "require": {
1223   - "bower-asset/fontawesome": "4.5.*",
1224   - "php": ">=5.4.0",
1225   - "yiisoft/yii2": "2.0.*"
  1687 + "doctrine/instantiator": "^1.0.2",
  1688 + "php": "^5.3|^7.0",
  1689 + "phpdocumentor/reflection-docblock": "~2.0",
  1690 + "sebastian/comparator": "~1.1",
  1691 + "sebastian/recursion-context": "~1.0"
1226 1692 },
1227   - "type": "yii2-extension",
  1693 + "require-dev": {
  1694 + "phpspec/phpspec": "~2.0"
  1695 + },
  1696 + "type": "library",
1228 1697 "extra": {
1229   - "asset-installer-paths": {
1230   - "npm-asset-library": "vendor/npm",
1231   - "bower-asset-library": "vendor/bower"
  1698 + "branch-alias": {
  1699 + "dev-master": "1.6.x-dev"
1232 1700 }
1233 1701 },
1234 1702 "autoload": {
1235   - "psr-4": {
1236   - "rmrevin\\yii\\fontawesome\\": ""
  1703 + "psr-0": {
  1704 + "Prophecy\\": "src/"
1237 1705 }
1238 1706 },
1239 1707 "notification-url": "https://packagist.org/downloads/",
... ... @@ -1242,73 +1710,1459 @@
1242 1710 ],
1243 1711 "authors": [
1244 1712 {
1245   - "name": "Revin Roman",
1246   - "email": "roman@rmrevin.com",
1247   - "homepage": "https://rmrevin.com/"
  1713 + "name": "Konstantin Kudryashov",
  1714 + "email": "ever.zet@gmail.com",
  1715 + "homepage": "http://everzet.com"
  1716 + },
  1717 + {
  1718 + "name": "Marcello Duarte",
  1719 + "email": "marcello.duarte@gmail.com"
1248 1720 }
1249 1721 ],
1250   - "description": "Asset Bundle for Yii2 with Font Awesome",
  1722 + "description": "Highly opinionated mocking framework for PHP 5.3+",
  1723 + "homepage": "https://github.com/phpspec/prophecy",
1251 1724 "keywords": [
1252   - "asset",
1253   - "awesome",
1254   - "bundle",
1255   - "font",
1256   - "yii"
1257   - ],
1258   - "time": "2015-11-26 15:24:53"
  1725 + "Double",
  1726 + "Dummy",
  1727 + "fake",
  1728 + "mock",
  1729 + "spy",
  1730 + "stub"
  1731 + ],
  1732 + "time": "2016-02-21 17:41:21"
1259 1733 },
1260 1734 {
1261   - "name": "swiftmailer/swiftmailer",
1262   - "version": "5.x-dev",
  1735 + "name": "phpunit/php-code-coverage",
  1736 + "version": "2.2.x-dev",
1263 1737 "source": {
1264 1738 "type": "git",
1265   - "url": "https://github.com/swiftmailer/swiftmailer.git",
1266   - "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9"
  1739 + "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
  1740 + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
1267 1741 },
1268 1742 "dist": {
1269 1743 "type": "zip",
1270   - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
1271   - "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
  1744 + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
  1745 + "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
1272 1746 "shasum": ""
1273 1747 },
1274 1748 "require": {
1275   - "php": ">=5.3.3"
  1749 + "php": ">=5.3.3",
  1750 + "phpunit/php-file-iterator": "~1.3",
  1751 + "phpunit/php-text-template": "~1.2",
  1752 + "phpunit/php-token-stream": "~1.3",
  1753 + "sebastian/environment": "^1.3.2",
  1754 + "sebastian/version": "~1.0"
1276 1755 },
1277 1756 "require-dev": {
1278   - "mockery/mockery": "~0.9.1,<0.9.4"
  1757 + "ext-xdebug": ">=2.1.4",
  1758 + "phpunit/phpunit": "~4"
  1759 + },
  1760 + "suggest": {
  1761 + "ext-dom": "*",
  1762 + "ext-xdebug": ">=2.2.1",
  1763 + "ext-xmlwriter": "*"
1279 1764 },
1280 1765 "type": "library",
1281 1766 "extra": {
1282 1767 "branch-alias": {
1283   - "dev-master": "5.4-dev"
  1768 + "dev-master": "2.2.x-dev"
1284 1769 }
1285 1770 },
1286 1771 "autoload": {
1287   - "files": [
1288   - "lib/swift_required.php"
  1772 + "classmap": [
  1773 + "src/"
1289 1774 ]
1290 1775 },
1291 1776 "notification-url": "https://packagist.org/downloads/",
1292 1777 "license": [
1293   - "MIT"
  1778 + "BSD-3-Clause"
1294 1779 ],
1295 1780 "authors": [
1296 1781 {
1297   - "name": "Chris Corbyn"
1298   - },
  1782 + "name": "Sebastian Bergmann",
  1783 + "email": "sb@sebastian-bergmann.de",
  1784 + "role": "lead"
  1785 + }
  1786 + ],
  1787 + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
  1788 + "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
  1789 + "keywords": [
  1790 + "coverage",
  1791 + "testing",
  1792 + "xunit"
  1793 + ],
  1794 + "time": "2015-10-06 15:47:00"
  1795 + },
  1796 + {
  1797 + "name": "phpunit/php-file-iterator",
  1798 + "version": "dev-master",
  1799 + "source": {
  1800 + "type": "git",
  1801 + "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
  1802 + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0"
  1803 + },
  1804 + "dist": {
  1805 + "type": "zip",
  1806 + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
  1807 + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
  1808 + "shasum": ""
  1809 + },
  1810 + "require": {
  1811 + "php": ">=5.3.3"
  1812 + },
  1813 + "type": "library",
  1814 + "extra": {
  1815 + "branch-alias": {
  1816 + "dev-master": "1.4.x-dev"
  1817 + }
  1818 + },
  1819 + "autoload": {
  1820 + "classmap": [
  1821 + "src/"
  1822 + ]
  1823 + },
  1824 + "notification-url": "https://packagist.org/downloads/",
  1825 + "license": [
  1826 + "BSD-3-Clause"
  1827 + ],
  1828 + "authors": [
1299 1829 {
1300   - "name": "Fabien Potencier",
1301   - "email": "fabien@symfony.com"
  1830 + "name": "Sebastian Bergmann",
  1831 + "email": "sb@sebastian-bergmann.de",
  1832 + "role": "lead"
1302 1833 }
1303 1834 ],
1304   - "description": "Swiftmailer, free feature-rich PHP mailer",
1305   - "homepage": "http://swiftmailer.org",
  1835 + "description": "FilterIterator implementation that filters files based on a list of suffixes.",
  1836 + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
1306 1837 "keywords": [
1307   - "email",
1308   - "mail",
1309   - "mailer"
  1838 + "filesystem",
  1839 + "iterator"
1310 1840 ],
1311   - "time": "2016-01-03 15:42:47"
  1841 + "time": "2015-06-21 13:08:43"
  1842 + },
  1843 + {
  1844 + "name": "phpunit/php-text-template",
  1845 + "version": "1.2.1",
  1846 + "source": {
  1847 + "type": "git",
  1848 + "url": "https://github.com/sebastianbergmann/php-text-template.git",
  1849 + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
  1850 + },
  1851 + "dist": {
  1852 + "type": "zip",
  1853 + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
  1854 + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
  1855 + "shasum": ""
  1856 + },
  1857 + "require": {
  1858 + "php": ">=5.3.3"
  1859 + },
  1860 + "type": "library",
  1861 + "autoload": {
  1862 + "classmap": [
  1863 + "src/"
  1864 + ]
  1865 + },
  1866 + "notification-url": "https://packagist.org/downloads/",
  1867 + "license": [
  1868 + "BSD-3-Clause"
  1869 + ],
  1870 + "authors": [
  1871 + {
  1872 + "name": "Sebastian Bergmann",
  1873 + "email": "sebastian@phpunit.de",
  1874 + "role": "lead"
  1875 + }
  1876 + ],
  1877 + "description": "Simple template engine.",
  1878 + "homepage": "https://github.com/sebastianbergmann/php-text-template/",
  1879 + "keywords": [
  1880 + "template"
  1881 + ],
  1882 + "time": "2015-06-21 13:50:34"
  1883 + },
  1884 + {
  1885 + "name": "phpunit/php-timer",
  1886 + "version": "dev-master",
  1887 + "source": {
  1888 + "type": "git",
  1889 + "url": "https://github.com/sebastianbergmann/php-timer.git",
  1890 + "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b"
  1891 + },
  1892 + "dist": {
  1893 + "type": "zip",
  1894 + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b",
  1895 + "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b",
  1896 + "shasum": ""
  1897 + },
  1898 + "require": {
  1899 + "php": ">=5.3.3"
  1900 + },
  1901 + "type": "library",
  1902 + "autoload": {
  1903 + "classmap": [
  1904 + "src/"
  1905 + ]
  1906 + },
  1907 + "notification-url": "https://packagist.org/downloads/",
  1908 + "license": [
  1909 + "BSD-3-Clause"
  1910 + ],
  1911 + "authors": [
  1912 + {
  1913 + "name": "Sebastian Bergmann",
  1914 + "email": "sb@sebastian-bergmann.de",
  1915 + "role": "lead"
  1916 + }
  1917 + ],
  1918 + "description": "Utility class for timing",
  1919 + "homepage": "https://github.com/sebastianbergmann/php-timer/",
  1920 + "keywords": [
  1921 + "timer"
  1922 + ],
  1923 + "time": "2015-06-21 08:01:12"
  1924 + },
  1925 + {
  1926 + "name": "phpunit/php-token-stream",
  1927 + "version": "dev-master",
  1928 + "source": {
  1929 + "type": "git",
  1930 + "url": "https://github.com/sebastianbergmann/php-token-stream.git",
  1931 + "reference": "cab6c6fefee93d7b7c3a01292a0fe0884ea66644"
  1932 + },
  1933 + "dist": {
  1934 + "type": "zip",
  1935 + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/cab6c6fefee93d7b7c3a01292a0fe0884ea66644",
  1936 + "reference": "cab6c6fefee93d7b7c3a01292a0fe0884ea66644",
  1937 + "shasum": ""
  1938 + },
  1939 + "require": {
  1940 + "ext-tokenizer": "*",
  1941 + "php": ">=5.3.3"
  1942 + },
  1943 + "require-dev": {
  1944 + "phpunit/phpunit": "~4.2"
  1945 + },
  1946 + "type": "library",
  1947 + "extra": {
  1948 + "branch-alias": {
  1949 + "dev-master": "1.4-dev"
  1950 + }
  1951 + },
  1952 + "autoload": {
  1953 + "classmap": [
  1954 + "src/"
  1955 + ]
  1956 + },
  1957 + "notification-url": "https://packagist.org/downloads/",
  1958 + "license": [
  1959 + "BSD-3-Clause"
  1960 + ],
  1961 + "authors": [
  1962 + {
  1963 + "name": "Sebastian Bergmann",
  1964 + "email": "sebastian@phpunit.de"
  1965 + }
  1966 + ],
  1967 + "description": "Wrapper around PHP's tokenizer extension.",
  1968 + "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
  1969 + "keywords": [
  1970 + "tokenizer"
  1971 + ],
  1972 + "time": "2015-09-23 14:46:55"
  1973 + },
  1974 + {
  1975 + "name": "phpunit/phpunit",
  1976 + "version": "4.8.x-dev",
  1977 + "source": {
  1978 + "type": "git",
  1979 + "url": "https://github.com/sebastianbergmann/phpunit.git",
  1980 + "reference": "1a1b63266c046e1856fd03812a4e0ac2b51aa2d5"
  1981 + },
  1982 + "dist": {
  1983 + "type": "zip",
  1984 + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1a1b63266c046e1856fd03812a4e0ac2b51aa2d5",
  1985 + "reference": "1a1b63266c046e1856fd03812a4e0ac2b51aa2d5",
  1986 + "shasum": ""
  1987 + },
  1988 + "require": {
  1989 + "ext-dom": "*",
  1990 + "ext-json": "*",
  1991 + "ext-pcre": "*",
  1992 + "ext-reflection": "*",
  1993 + "ext-spl": "*",
  1994 + "php": ">=5.3.3",
  1995 + "phpspec/prophecy": "^1.3.1",
  1996 + "phpunit/php-code-coverage": "~2.1",
  1997 + "phpunit/php-file-iterator": "~1.4",
  1998 + "phpunit/php-text-template": "~1.2",
  1999 + "phpunit/php-timer": ">=1.0.6",
  2000 + "phpunit/phpunit-mock-objects": "~2.3",
  2001 + "sebastian/comparator": "~1.1",
  2002 + "sebastian/diff": "~1.2",
  2003 + "sebastian/environment": "~1.3",
  2004 + "sebastian/exporter": "~1.2",
  2005 + "sebastian/global-state": "~1.0",
  2006 + "sebastian/version": "~1.0",
  2007 + "symfony/yaml": "~2.1|~3.0"
  2008 + },
  2009 + "suggest": {
  2010 + "phpunit/php-invoker": "~1.1"
  2011 + },
  2012 + "bin": [
  2013 + "phpunit"
  2014 + ],
  2015 + "type": "library",
  2016 + "extra": {
  2017 + "branch-alias": {
  2018 + "dev-master": "4.8.x-dev"
  2019 + }
  2020 + },
  2021 + "autoload": {
  2022 + "classmap": [
  2023 + "src/"
  2024 + ]
  2025 + },
  2026 + "notification-url": "https://packagist.org/downloads/",
  2027 + "license": [
  2028 + "BSD-3-Clause"
  2029 + ],
  2030 + "authors": [
  2031 + {
  2032 + "name": "Sebastian Bergmann",
  2033 + "email": "sebastian@phpunit.de",
  2034 + "role": "lead"
  2035 + }
  2036 + ],
  2037 + "description": "The PHP Unit Testing framework.",
  2038 + "homepage": "https://phpunit.de/",
  2039 + "keywords": [
  2040 + "phpunit",
  2041 + "testing",
  2042 + "xunit"
  2043 + ],
  2044 + "time": "2016-03-14 15:10:21"
  2045 + },
  2046 + {
  2047 + "name": "phpunit/phpunit-mock-objects",
  2048 + "version": "2.3.x-dev",
  2049 + "source": {
  2050 + "type": "git",
  2051 + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
  2052 + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
  2053 + },
  2054 + "dist": {
  2055 + "type": "zip",
  2056 + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
  2057 + "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
  2058 + "shasum": ""
  2059 + },
  2060 + "require": {
  2061 + "doctrine/instantiator": "^1.0.2",
  2062 + "php": ">=5.3.3",
  2063 + "phpunit/php-text-template": "~1.2",
  2064 + "sebastian/exporter": "~1.2"
  2065 + },
  2066 + "require-dev": {
  2067 + "phpunit/phpunit": "~4.4"
  2068 + },
  2069 + "suggest": {
  2070 + "ext-soap": "*"
  2071 + },
  2072 + "type": "library",
  2073 + "extra": {
  2074 + "branch-alias": {
  2075 + "dev-master": "2.3.x-dev"
  2076 + }
  2077 + },
  2078 + "autoload": {
  2079 + "classmap": [
  2080 + "src/"
  2081 + ]
  2082 + },
  2083 + "notification-url": "https://packagist.org/downloads/",
  2084 + "license": [
  2085 + "BSD-3-Clause"
  2086 + ],
  2087 + "authors": [
  2088 + {
  2089 + "name": "Sebastian Bergmann",
  2090 + "email": "sb@sebastian-bergmann.de",
  2091 + "role": "lead"
  2092 + }
  2093 + ],
  2094 + "description": "Mock Object library for PHPUnit",
  2095 + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
  2096 + "keywords": [
  2097 + "mock",
  2098 + "xunit"
  2099 + ],
  2100 + "time": "2015-10-02 06:51:40"
  2101 + },
  2102 + {
  2103 + "name": "psr/http-message",
  2104 + "version": "dev-master",
  2105 + "source": {
  2106 + "type": "git",
  2107 + "url": "https://github.com/php-fig/http-message.git",
  2108 + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298"
  2109 + },
  2110 + "dist": {
  2111 + "type": "zip",
  2112 + "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298",
  2113 + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298",
  2114 + "shasum": ""
  2115 + },
  2116 + "require": {
  2117 + "php": ">=5.3.0"
  2118 + },
  2119 + "type": "library",
  2120 + "extra": {
  2121 + "branch-alias": {
  2122 + "dev-master": "1.0.x-dev"
  2123 + }
  2124 + },
  2125 + "autoload": {
  2126 + "psr-4": {
  2127 + "Psr\\Http\\Message\\": "src/"
  2128 + }
  2129 + },
  2130 + "notification-url": "https://packagist.org/downloads/",
  2131 + "license": [
  2132 + "MIT"
  2133 + ],
  2134 + "authors": [
  2135 + {
  2136 + "name": "PHP-FIG",
  2137 + "homepage": "http://www.php-fig.org/"
  2138 + }
  2139 + ],
  2140 + "description": "Common interface for HTTP messages",
  2141 + "keywords": [
  2142 + "http",
  2143 + "http-message",
  2144 + "psr",
  2145 + "psr-7",
  2146 + "request",
  2147 + "response"
  2148 + ],
  2149 + "time": "2015-05-04 20:22:00"
  2150 + },
  2151 + {
  2152 + "name": "rmrevin/yii2-comments",
  2153 + "version": "1.4.2",
  2154 + "source": {
  2155 + "type": "git",
  2156 + "url": "https://github.com/rmrevin/yii2-comments.git",
  2157 + "reference": "c68ddf276fe24ece0173781a8f7391a2cf7e6a12"
  2158 + },
  2159 + "dist": {
  2160 + "type": "zip",
  2161 + "url": "https://api.github.com/repos/rmrevin/yii2-comments/zipball/c68ddf276fe24ece0173781a8f7391a2cf7e6a12",
  2162 + "reference": "c68ddf276fe24ece0173781a8f7391a2cf7e6a12",
  2163 + "shasum": ""
  2164 + },
  2165 + "require": {
  2166 + "php": ">=5.4.0",
  2167 + "rmrevin/yii2-fontawesome": "~2.10",
  2168 + "yiisoft/yii2": "2.0.*"
  2169 + },
  2170 + "type": "yii2-extension",
  2171 + "extra": {
  2172 + "asset-installer-paths": {
  2173 + "npm-asset-library": "vendor/npm",
  2174 + "bower-asset-library": "vendor/bower"
  2175 + }
  2176 + },
  2177 + "autoload": {
  2178 + "psr-4": {
  2179 + "rmrevin\\yii\\module\\Comments\\": ""
  2180 + }
  2181 + },
  2182 + "notification-url": "https://packagist.org/downloads/",
  2183 + "license": [
  2184 + "MIT"
  2185 + ],
  2186 + "authors": [
  2187 + {
  2188 + "name": "Roman Revin",
  2189 + "email": "xgismox@gmail.com",
  2190 + "homepage": "http://rmrevin.ru/"
  2191 + }
  2192 + ],
  2193 + "description": "Comments module for Yii2",
  2194 + "keywords": [
  2195 + "comment",
  2196 + "module",
  2197 + "widget",
  2198 + "yii"
  2199 + ],
  2200 + "time": "2016-03-01 13:18:41"
  2201 + },
  2202 + {
  2203 + "name": "rmrevin/yii2-fontawesome",
  2204 + "version": "2.13.0",
  2205 + "source": {
  2206 + "type": "git",
  2207 + "url": "https://github.com/rmrevin/yii2-fontawesome.git",
  2208 + "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9"
  2209 + },
  2210 + "dist": {
  2211 + "type": "zip",
  2212 + "url": "https://api.github.com/repos/rmrevin/yii2-fontawesome/zipball/2efbfacb22be59f373d11a7e3dfa9213e2ba18a9",
  2213 + "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9",
  2214 + "shasum": ""
  2215 + },
  2216 + "require": {
  2217 + "bower-asset/fontawesome": "4.5.*",
  2218 + "php": ">=5.4.0",
  2219 + "yiisoft/yii2": "2.0.*"
  2220 + },
  2221 + "type": "yii2-extension",
  2222 + "extra": {
  2223 + "asset-installer-paths": {
  2224 + "npm-asset-library": "vendor/npm",
  2225 + "bower-asset-library": "vendor/bower"
  2226 + }
  2227 + },
  2228 + "autoload": {
  2229 + "psr-4": {
  2230 + "rmrevin\\yii\\fontawesome\\": ""
  2231 + }
  2232 + },
  2233 + "notification-url": "https://packagist.org/downloads/",
  2234 + "license": [
  2235 + "MIT"
  2236 + ],
  2237 + "authors": [
  2238 + {
  2239 + "name": "Revin Roman",
  2240 + "email": "roman@rmrevin.com",
  2241 + "homepage": "https://rmrevin.com/"
  2242 + }
  2243 + ],
  2244 + "description": "Asset Bundle for Yii2 with Font Awesome",
  2245 + "keywords": [
  2246 + "asset",
  2247 + "awesome",
  2248 + "bundle",
  2249 + "font",
  2250 + "yii"
  2251 + ],
  2252 + "time": "2015-11-26 15:24:53"
  2253 + },
  2254 + {
  2255 + "name": "sebastian/comparator",
  2256 + "version": "dev-master",
  2257 + "source": {
  2258 + "type": "git",
  2259 + "url": "https://github.com/sebastianbergmann/comparator.git",
  2260 + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22"
  2261 + },
  2262 + "dist": {
  2263 + "type": "zip",
  2264 + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22",
  2265 + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22",
  2266 + "shasum": ""
  2267 + },
  2268 + "require": {
  2269 + "php": ">=5.3.3",
  2270 + "sebastian/diff": "~1.2",
  2271 + "sebastian/exporter": "~1.2"
  2272 + },
  2273 + "require-dev": {
  2274 + "phpunit/phpunit": "~4.4"
  2275 + },
  2276 + "type": "library",
  2277 + "extra": {
  2278 + "branch-alias": {
  2279 + "dev-master": "1.2.x-dev"
  2280 + }
  2281 + },
  2282 + "autoload": {
  2283 + "classmap": [
  2284 + "src/"
  2285 + ]
  2286 + },
  2287 + "notification-url": "https://packagist.org/downloads/",
  2288 + "license": [
  2289 + "BSD-3-Clause"
  2290 + ],
  2291 + "authors": [
  2292 + {
  2293 + "name": "Jeff Welch",
  2294 + "email": "whatthejeff@gmail.com"
  2295 + },
  2296 + {
  2297 + "name": "Volker Dusch",
  2298 + "email": "github@wallbash.com"
  2299 + },
  2300 + {
  2301 + "name": "Bernhard Schussek",
  2302 + "email": "bschussek@2bepublished.at"
  2303 + },
  2304 + {
  2305 + "name": "Sebastian Bergmann",
  2306 + "email": "sebastian@phpunit.de"
  2307 + }
  2308 + ],
  2309 + "description": "Provides the functionality to compare PHP values for equality",
  2310 + "homepage": "http://www.github.com/sebastianbergmann/comparator",
  2311 + "keywords": [
  2312 + "comparator",
  2313 + "compare",
  2314 + "equality"
  2315 + ],
  2316 + "time": "2015-07-26 15:48:44"
  2317 + },
  2318 + {
  2319 + "name": "sebastian/diff",
  2320 + "version": "dev-master",
  2321 + "source": {
  2322 + "type": "git",
  2323 + "url": "https://github.com/sebastianbergmann/diff.git",
  2324 + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
  2325 + },
  2326 + "dist": {
  2327 + "type": "zip",
  2328 + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
  2329 + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
  2330 + "shasum": ""
  2331 + },
  2332 + "require": {
  2333 + "php": ">=5.3.3"
  2334 + },
  2335 + "require-dev": {
  2336 + "phpunit/phpunit": "~4.8"
  2337 + },
  2338 + "type": "library",
  2339 + "extra": {
  2340 + "branch-alias": {
  2341 + "dev-master": "1.4-dev"
  2342 + }
  2343 + },
  2344 + "autoload": {
  2345 + "classmap": [
  2346 + "src/"
  2347 + ]
  2348 + },
  2349 + "notification-url": "https://packagist.org/downloads/",
  2350 + "license": [
  2351 + "BSD-3-Clause"
  2352 + ],
  2353 + "authors": [
  2354 + {
  2355 + "name": "Kore Nordmann",
  2356 + "email": "mail@kore-nordmann.de"
  2357 + },
  2358 + {
  2359 + "name": "Sebastian Bergmann",
  2360 + "email": "sebastian@phpunit.de"
  2361 + }
  2362 + ],
  2363 + "description": "Diff implementation",
  2364 + "homepage": "https://github.com/sebastianbergmann/diff",
  2365 + "keywords": [
  2366 + "diff"
  2367 + ],
  2368 + "time": "2015-12-08 07:14:41"
  2369 + },
  2370 + {
  2371 + "name": "sebastian/environment",
  2372 + "version": "dev-master",
  2373 + "source": {
  2374 + "type": "git",
  2375 + "url": "https://github.com/sebastianbergmann/environment.git",
  2376 + "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf"
  2377 + },
  2378 + "dist": {
  2379 + "type": "zip",
  2380 + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf",
  2381 + "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf",
  2382 + "shasum": ""
  2383 + },
  2384 + "require": {
  2385 + "php": ">=5.3.3"
  2386 + },
  2387 + "require-dev": {
  2388 + "phpunit/phpunit": "~4.4"
  2389 + },
  2390 + "type": "library",
  2391 + "extra": {
  2392 + "branch-alias": {
  2393 + "dev-master": "1.3.x-dev"
  2394 + }
  2395 + },
  2396 + "autoload": {
  2397 + "classmap": [
  2398 + "src/"
  2399 + ]
  2400 + },
  2401 + "notification-url": "https://packagist.org/downloads/",
  2402 + "license": [
  2403 + "BSD-3-Clause"
  2404 + ],
  2405 + "authors": [
  2406 + {
  2407 + "name": "Sebastian Bergmann",
  2408 + "email": "sebastian@phpunit.de"
  2409 + }
  2410 + ],
  2411 + "description": "Provides functionality to handle HHVM/PHP environments",
  2412 + "homepage": "http://www.github.com/sebastianbergmann/environment",
  2413 + "keywords": [
  2414 + "Xdebug",
  2415 + "environment",
  2416 + "hhvm"
  2417 + ],
  2418 + "time": "2016-02-26 18:40:46"
  2419 + },
  2420 + {
  2421 + "name": "sebastian/exporter",
  2422 + "version": "dev-master",
  2423 + "source": {
  2424 + "type": "git",
  2425 + "url": "https://github.com/sebastianbergmann/exporter.git",
  2426 + "reference": "f88f8936517d54ae6d589166810877fb2015d0a2"
  2427 + },
  2428 + "dist": {
  2429 + "type": "zip",
  2430 + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f88f8936517d54ae6d589166810877fb2015d0a2",
  2431 + "reference": "f88f8936517d54ae6d589166810877fb2015d0a2",
  2432 + "shasum": ""
  2433 + },
  2434 + "require": {
  2435 + "php": ">=5.3.3",
  2436 + "sebastian/recursion-context": "~1.0"
  2437 + },
  2438 + "require-dev": {
  2439 + "ext-mbstring": "*",
  2440 + "phpunit/phpunit": "~4.4"
  2441 + },
  2442 + "type": "library",
  2443 + "extra": {
  2444 + "branch-alias": {
  2445 + "dev-master": "1.3.x-dev"
  2446 + }
  2447 + },
  2448 + "autoload": {
  2449 + "classmap": [
  2450 + "src/"
  2451 + ]
  2452 + },
  2453 + "notification-url": "https://packagist.org/downloads/",
  2454 + "license": [
  2455 + "BSD-3-Clause"
  2456 + ],
  2457 + "authors": [
  2458 + {
  2459 + "name": "Jeff Welch",
  2460 + "email": "whatthejeff@gmail.com"
  2461 + },
  2462 + {
  2463 + "name": "Volker Dusch",
  2464 + "email": "github@wallbash.com"
  2465 + },
  2466 + {
  2467 + "name": "Bernhard Schussek",
  2468 + "email": "bschussek@2bepublished.at"
  2469 + },
  2470 + {
  2471 + "name": "Sebastian Bergmann",
  2472 + "email": "sebastian@phpunit.de"
  2473 + },
  2474 + {
  2475 + "name": "Adam Harvey",
  2476 + "email": "aharvey@php.net"
  2477 + }
  2478 + ],
  2479 + "description": "Provides the functionality to export PHP variables for visualization",
  2480 + "homepage": "http://www.github.com/sebastianbergmann/exporter",
  2481 + "keywords": [
  2482 + "export",
  2483 + "exporter"
  2484 + ],
  2485 + "time": "2015-08-09 04:23:41"
  2486 + },
  2487 + {
  2488 + "name": "sebastian/global-state",
  2489 + "version": "1.1.1",
  2490 + "source": {
  2491 + "type": "git",
  2492 + "url": "https://github.com/sebastianbergmann/global-state.git",
  2493 + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
  2494 + },
  2495 + "dist": {
  2496 + "type": "zip",
  2497 + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
  2498 + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
  2499 + "shasum": ""
  2500 + },
  2501 + "require": {
  2502 + "php": ">=5.3.3"
  2503 + },
  2504 + "require-dev": {
  2505 + "phpunit/phpunit": "~4.2"
  2506 + },
  2507 + "suggest": {
  2508 + "ext-uopz": "*"
  2509 + },
  2510 + "type": "library",
  2511 + "extra": {
  2512 + "branch-alias": {
  2513 + "dev-master": "1.0-dev"
  2514 + }
  2515 + },
  2516 + "autoload": {
  2517 + "classmap": [
  2518 + "src/"
  2519 + ]
  2520 + },
  2521 + "notification-url": "https://packagist.org/downloads/",
  2522 + "license": [
  2523 + "BSD-3-Clause"
  2524 + ],
  2525 + "authors": [
  2526 + {
  2527 + "name": "Sebastian Bergmann",
  2528 + "email": "sebastian@phpunit.de"
  2529 + }
  2530 + ],
  2531 + "description": "Snapshotting of global state",
  2532 + "homepage": "http://www.github.com/sebastianbergmann/global-state",
  2533 + "keywords": [
  2534 + "global state"
  2535 + ],
  2536 + "time": "2015-10-12 03:26:01"
  2537 + },
  2538 + {
  2539 + "name": "sebastian/recursion-context",
  2540 + "version": "dev-master",
  2541 + "source": {
  2542 + "type": "git",
  2543 + "url": "https://github.com/sebastianbergmann/recursion-context.git",
  2544 + "reference": "7ff5b1b3dcc55b8ab8ae61ef99d4730940856ee7"
  2545 + },
  2546 + "dist": {
  2547 + "type": "zip",
  2548 + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/7ff5b1b3dcc55b8ab8ae61ef99d4730940856ee7",
  2549 + "reference": "7ff5b1b3dcc55b8ab8ae61ef99d4730940856ee7",
  2550 + "shasum": ""
  2551 + },
  2552 + "require": {
  2553 + "php": ">=5.3.3"
  2554 + },
  2555 + "require-dev": {
  2556 + "phpunit/phpunit": "~4.4"
  2557 + },
  2558 + "type": "library",
  2559 + "extra": {
  2560 + "branch-alias": {
  2561 + "dev-master": "1.0.x-dev"
  2562 + }
  2563 + },
  2564 + "autoload": {
  2565 + "classmap": [
  2566 + "src/"
  2567 + ]
  2568 + },
  2569 + "notification-url": "https://packagist.org/downloads/",
  2570 + "license": [
  2571 + "BSD-3-Clause"
  2572 + ],
  2573 + "authors": [
  2574 + {
  2575 + "name": "Jeff Welch",
  2576 + "email": "whatthejeff@gmail.com"
  2577 + },
  2578 + {
  2579 + "name": "Sebastian Bergmann",
  2580 + "email": "sebastian@phpunit.de"
  2581 + },
  2582 + {
  2583 + "name": "Adam Harvey",
  2584 + "email": "aharvey@php.net"
  2585 + }
  2586 + ],
  2587 + "description": "Provides functionality to recursively process PHP variables",
  2588 + "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
  2589 + "time": "2016-01-28 05:39:29"
  2590 + },
  2591 + {
  2592 + "name": "sebastian/version",
  2593 + "version": "1.0.6",
  2594 + "source": {
  2595 + "type": "git",
  2596 + "url": "https://github.com/sebastianbergmann/version.git",
  2597 + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"
  2598 + },
  2599 + "dist": {
  2600 + "type": "zip",
  2601 + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
  2602 + "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6",
  2603 + "shasum": ""
  2604 + },
  2605 + "type": "library",
  2606 + "autoload": {
  2607 + "classmap": [
  2608 + "src/"
  2609 + ]
  2610 + },
  2611 + "notification-url": "https://packagist.org/downloads/",
  2612 + "license": [
  2613 + "BSD-3-Clause"
  2614 + ],
  2615 + "authors": [
  2616 + {
  2617 + "name": "Sebastian Bergmann",
  2618 + "email": "sebastian@phpunit.de",
  2619 + "role": "lead"
  2620 + }
  2621 + ],
  2622 + "description": "Library that helps with managing the version number of Git-hosted PHP projects",
  2623 + "homepage": "https://github.com/sebastianbergmann/version",
  2624 + "time": "2015-06-21 13:59:46"
  2625 + },
  2626 + {
  2627 + "name": "swiftmailer/swiftmailer",
  2628 + "version": "5.x-dev",
  2629 + "source": {
  2630 + "type": "git",
  2631 + "url": "https://github.com/swiftmailer/swiftmailer.git",
  2632 + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9"
  2633 + },
  2634 + "dist": {
  2635 + "type": "zip",
  2636 + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
  2637 + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9",
  2638 + "shasum": ""
  2639 + },
  2640 + "require": {
  2641 + "php": ">=5.3.3"
  2642 + },
  2643 + "require-dev": {
  2644 + "mockery/mockery": "~0.9.1,<0.9.4"
  2645 + },
  2646 + "type": "library",
  2647 + "extra": {
  2648 + "branch-alias": {
  2649 + "dev-master": "5.4-dev"
  2650 + }
  2651 + },
  2652 + "autoload": {
  2653 + "files": [
  2654 + "lib/swift_required.php"
  2655 + ]
  2656 + },
  2657 + "notification-url": "https://packagist.org/downloads/",
  2658 + "license": [
  2659 + "MIT"
  2660 + ],
  2661 + "authors": [
  2662 + {
  2663 + "name": "Chris Corbyn"
  2664 + },
  2665 + {
  2666 + "name": "Fabien Potencier",
  2667 + "email": "fabien@symfony.com"
  2668 + }
  2669 + ],
  2670 + "description": "Swiftmailer, free feature-rich PHP mailer",
  2671 + "homepage": "http://swiftmailer.org",
  2672 + "keywords": [
  2673 + "email",
  2674 + "mail",
  2675 + "mailer"
  2676 + ],
  2677 + "time": "2016-01-03 15:42:47"
  2678 + },
  2679 + {
  2680 + "name": "symfony/browser-kit",
  2681 + "version": "3.0.x-dev",
  2682 + "source": {
  2683 + "type": "git",
  2684 + "url": "https://github.com/symfony/browser-kit.git",
  2685 + "reference": "e07127ac31230b30887c2dddf3708d883d239b14"
  2686 + },
  2687 + "dist": {
  2688 + "type": "zip",
  2689 + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/e07127ac31230b30887c2dddf3708d883d239b14",
  2690 + "reference": "e07127ac31230b30887c2dddf3708d883d239b14",
  2691 + "shasum": ""
  2692 + },
  2693 + "require": {
  2694 + "php": ">=5.5.9",
  2695 + "symfony/dom-crawler": "~2.8|~3.0"
  2696 + },
  2697 + "require-dev": {
  2698 + "symfony/css-selector": "~2.8|~3.0",
  2699 + "symfony/process": "~2.8|~3.0"
  2700 + },
  2701 + "suggest": {
  2702 + "symfony/process": ""
  2703 + },
  2704 + "type": "library",
  2705 + "extra": {
  2706 + "branch-alias": {
  2707 + "dev-master": "3.0-dev"
  2708 + }
  2709 + },
  2710 + "autoload": {
  2711 + "psr-4": {
  2712 + "Symfony\\Component\\BrowserKit\\": ""
  2713 + },
  2714 + "exclude-from-classmap": [
  2715 + "/Tests/"
  2716 + ]
  2717 + },
  2718 + "notification-url": "https://packagist.org/downloads/",
  2719 + "license": [
  2720 + "MIT"
  2721 + ],
  2722 + "authors": [
  2723 + {
  2724 + "name": "Fabien Potencier",
  2725 + "email": "fabien@symfony.com"
  2726 + },
  2727 + {
  2728 + "name": "Symfony Community",
  2729 + "homepage": "https://symfony.com/contributors"
  2730 + }
  2731 + ],
  2732 + "description": "Symfony BrowserKit Component",
  2733 + "homepage": "https://symfony.com",
  2734 + "time": "2016-03-04 07:55:57"
  2735 + },
  2736 + {
  2737 + "name": "symfony/console",
  2738 + "version": "3.0.x-dev",
  2739 + "source": {
  2740 + "type": "git",
  2741 + "url": "https://github.com/symfony/console.git",
  2742 + "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd"
  2743 + },
  2744 + "dist": {
  2745 + "type": "zip",
  2746 + "url": "https://api.github.com/repos/symfony/console/zipball/6b1175135bc2a74c08a28d89761272de8beed8cd",
  2747 + "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd",
  2748 + "shasum": ""
  2749 + },
  2750 + "require": {
  2751 + "php": ">=5.5.9",
  2752 + "symfony/polyfill-mbstring": "~1.0"
  2753 + },
  2754 + "require-dev": {
  2755 + "psr/log": "~1.0",
  2756 + "symfony/event-dispatcher": "~2.8|~3.0",
  2757 + "symfony/process": "~2.8|~3.0"
  2758 + },
  2759 + "suggest": {
  2760 + "psr/log": "For using the console logger",
  2761 + "symfony/event-dispatcher": "",
  2762 + "symfony/process": ""
  2763 + },
  2764 + "type": "library",
  2765 + "extra": {
  2766 + "branch-alias": {
  2767 + "dev-master": "3.0-dev"
  2768 + }
  2769 + },
  2770 + "autoload": {
  2771 + "psr-4": {
  2772 + "Symfony\\Component\\Console\\": ""
  2773 + },
  2774 + "exclude-from-classmap": [
  2775 + "/Tests/"
  2776 + ]
  2777 + },
  2778 + "notification-url": "https://packagist.org/downloads/",
  2779 + "license": [
  2780 + "MIT"
  2781 + ],
  2782 + "authors": [
  2783 + {
  2784 + "name": "Fabien Potencier",
  2785 + "email": "fabien@symfony.com"
  2786 + },
  2787 + {
  2788 + "name": "Symfony Community",
  2789 + "homepage": "https://symfony.com/contributors"
  2790 + }
  2791 + ],
  2792 + "description": "Symfony Console Component",
  2793 + "homepage": "https://symfony.com",
  2794 + "time": "2016-03-16 17:00:50"
  2795 + },
  2796 + {
  2797 + "name": "symfony/css-selector",
  2798 + "version": "3.0.x-dev",
  2799 + "source": {
  2800 + "type": "git",
  2801 + "url": "https://github.com/symfony/css-selector.git",
  2802 + "reference": "65e764f404685f2dc20c057e889b3ad04b2e2db0"
  2803 + },
  2804 + "dist": {
  2805 + "type": "zip",
  2806 + "url": "https://api.github.com/repos/symfony/css-selector/zipball/65e764f404685f2dc20c057e889b3ad04b2e2db0",
  2807 + "reference": "65e764f404685f2dc20c057e889b3ad04b2e2db0",
  2808 + "shasum": ""
  2809 + },
  2810 + "require": {
  2811 + "php": ">=5.5.9"
  2812 + },
  2813 + "type": "library",
  2814 + "extra": {
  2815 + "branch-alias": {
  2816 + "dev-master": "3.0-dev"
  2817 + }
  2818 + },
  2819 + "autoload": {
  2820 + "psr-4": {
  2821 + "Symfony\\Component\\CssSelector\\": ""
  2822 + },
  2823 + "exclude-from-classmap": [
  2824 + "/Tests/"
  2825 + ]
  2826 + },
  2827 + "notification-url": "https://packagist.org/downloads/",
  2828 + "license": [
  2829 + "MIT"
  2830 + ],
  2831 + "authors": [
  2832 + {
  2833 + "name": "Jean-François Simon",
  2834 + "email": "jeanfrancois.simon@sensiolabs.com"
  2835 + },
  2836 + {
  2837 + "name": "Fabien Potencier",
  2838 + "email": "fabien@symfony.com"
  2839 + },
  2840 + {
  2841 + "name": "Symfony Community",
  2842 + "homepage": "https://symfony.com/contributors"
  2843 + }
  2844 + ],
  2845 + "description": "Symfony CssSelector Component",
  2846 + "homepage": "https://symfony.com",
  2847 + "time": "2016-03-04 07:55:57"
  2848 + },
  2849 + {
  2850 + "name": "symfony/dom-crawler",
  2851 + "version": "3.0.x-dev",
  2852 + "source": {
  2853 + "type": "git",
  2854 + "url": "https://github.com/symfony/dom-crawler.git",
  2855 + "reference": "18a06d7a9af41718c20764a674a0ebba3bc40d1f"
  2856 + },
  2857 + "dist": {
  2858 + "type": "zip",
  2859 + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/18a06d7a9af41718c20764a674a0ebba3bc40d1f",
  2860 + "reference": "18a06d7a9af41718c20764a674a0ebba3bc40d1f",
  2861 + "shasum": ""
  2862 + },
  2863 + "require": {
  2864 + "php": ">=5.5.9",
  2865 + "symfony/polyfill-mbstring": "~1.0"
  2866 + },
  2867 + "require-dev": {
  2868 + "symfony/css-selector": "~2.8|~3.0"
  2869 + },
  2870 + "suggest": {
  2871 + "symfony/css-selector": ""
  2872 + },
  2873 + "type": "library",
  2874 + "extra": {
  2875 + "branch-alias": {
  2876 + "dev-master": "3.0-dev"
  2877 + }
  2878 + },
  2879 + "autoload": {
  2880 + "psr-4": {
  2881 + "Symfony\\Component\\DomCrawler\\": ""
  2882 + },
  2883 + "exclude-from-classmap": [
  2884 + "/Tests/"
  2885 + ]
  2886 + },
  2887 + "notification-url": "https://packagist.org/downloads/",
  2888 + "license": [
  2889 + "MIT"
  2890 + ],
  2891 + "authors": [
  2892 + {
  2893 + "name": "Fabien Potencier",
  2894 + "email": "fabien@symfony.com"
  2895 + },
  2896 + {
  2897 + "name": "Symfony Community",
  2898 + "homepage": "https://symfony.com/contributors"
  2899 + }
  2900 + ],
  2901 + "description": "Symfony DomCrawler Component",
  2902 + "homepage": "https://symfony.com",
  2903 + "time": "2016-03-23 13:23:25"
  2904 + },
  2905 + {
  2906 + "name": "symfony/event-dispatcher",
  2907 + "version": "3.0.x-dev",
  2908 + "source": {
  2909 + "type": "git",
  2910 + "url": "https://github.com/symfony/event-dispatcher.git",
  2911 + "reference": "9002dcf018d884d294b1ef20a6f968efc1128f39"
  2912 + },
  2913 + "dist": {
  2914 + "type": "zip",
  2915 + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9002dcf018d884d294b1ef20a6f968efc1128f39",
  2916 + "reference": "9002dcf018d884d294b1ef20a6f968efc1128f39",
  2917 + "shasum": ""
  2918 + },
  2919 + "require": {
  2920 + "php": ">=5.5.9"
  2921 + },
  2922 + "require-dev": {
  2923 + "psr/log": "~1.0",
  2924 + "symfony/config": "~2.8|~3.0",
  2925 + "symfony/dependency-injection": "~2.8|~3.0",
  2926 + "symfony/expression-language": "~2.8|~3.0",
  2927 + "symfony/stopwatch": "~2.8|~3.0"
  2928 + },
  2929 + "suggest": {
  2930 + "symfony/dependency-injection": "",
  2931 + "symfony/http-kernel": ""
  2932 + },
  2933 + "type": "library",
  2934 + "extra": {
  2935 + "branch-alias": {
  2936 + "dev-master": "3.0-dev"
  2937 + }
  2938 + },
  2939 + "autoload": {
  2940 + "psr-4": {
  2941 + "Symfony\\Component\\EventDispatcher\\": ""
  2942 + },
  2943 + "exclude-from-classmap": [
  2944 + "/Tests/"
  2945 + ]
  2946 + },
  2947 + "notification-url": "https://packagist.org/downloads/",
  2948 + "license": [
  2949 + "MIT"
  2950 + ],
  2951 + "authors": [
  2952 + {
  2953 + "name": "Fabien Potencier",
  2954 + "email": "fabien@symfony.com"
  2955 + },
  2956 + {
  2957 + "name": "Symfony Community",
  2958 + "homepage": "https://symfony.com/contributors"
  2959 + }
  2960 + ],
  2961 + "description": "Symfony EventDispatcher Component",
  2962 + "homepage": "https://symfony.com",
  2963 + "time": "2016-03-10 10:34:12"
  2964 + },
  2965 + {
  2966 + "name": "symfony/finder",
  2967 + "version": "3.0.x-dev",
  2968 + "source": {
  2969 + "type": "git",
  2970 + "url": "https://github.com/symfony/finder.git",
  2971 + "reference": "c54e407b35bc098916704e9fd090da21da4c4f52"
  2972 + },
  2973 + "dist": {
  2974 + "type": "zip",
  2975 + "url": "https://api.github.com/repos/symfony/finder/zipball/c54e407b35bc098916704e9fd090da21da4c4f52",
  2976 + "reference": "c54e407b35bc098916704e9fd090da21da4c4f52",
  2977 + "shasum": ""
  2978 + },
  2979 + "require": {
  2980 + "php": ">=5.5.9"
  2981 + },
  2982 + "type": "library",
  2983 + "extra": {
  2984 + "branch-alias": {
  2985 + "dev-master": "3.0-dev"
  2986 + }
  2987 + },
  2988 + "autoload": {
  2989 + "psr-4": {
  2990 + "Symfony\\Component\\Finder\\": ""
  2991 + },
  2992 + "exclude-from-classmap": [
  2993 + "/Tests/"
  2994 + ]
  2995 + },
  2996 + "notification-url": "https://packagist.org/downloads/",
  2997 + "license": [
  2998 + "MIT"
  2999 + ],
  3000 + "authors": [
  3001 + {
  3002 + "name": "Fabien Potencier",
  3003 + "email": "fabien@symfony.com"
  3004 + },
  3005 + {
  3006 + "name": "Symfony Community",
  3007 + "homepage": "https://symfony.com/contributors"
  3008 + }
  3009 + ],
  3010 + "description": "Symfony Finder Component",
  3011 + "homepage": "https://symfony.com",
  3012 + "time": "2016-03-10 11:13:05"
  3013 + },
  3014 + {
  3015 + "name": "symfony/polyfill-mbstring",
  3016 + "version": "dev-master",
  3017 + "source": {
  3018 + "type": "git",
  3019 + "url": "https://github.com/symfony/polyfill-mbstring.git",
  3020 + "reference": "1289d16209491b584839022f29257ad859b8532d"
  3021 + },
  3022 + "dist": {
  3023 + "type": "zip",
  3024 + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d",
  3025 + "reference": "1289d16209491b584839022f29257ad859b8532d",
  3026 + "shasum": ""
  3027 + },
  3028 + "require": {
  3029 + "php": ">=5.3.3"
  3030 + },
  3031 + "suggest": {
  3032 + "ext-mbstring": "For best performance"
  3033 + },
  3034 + "type": "library",
  3035 + "extra": {
  3036 + "branch-alias": {
  3037 + "dev-master": "1.1-dev"
  3038 + }
  3039 + },
  3040 + "autoload": {
  3041 + "psr-4": {
  3042 + "Symfony\\Polyfill\\Mbstring\\": ""
  3043 + },
  3044 + "files": [
  3045 + "bootstrap.php"
  3046 + ]
  3047 + },
  3048 + "notification-url": "https://packagist.org/downloads/",
  3049 + "license": [
  3050 + "MIT"
  3051 + ],
  3052 + "authors": [
  3053 + {
  3054 + "name": "Nicolas Grekas",
  3055 + "email": "p@tchwork.com"
  3056 + },
  3057 + {
  3058 + "name": "Symfony Community",
  3059 + "homepage": "https://symfony.com/contributors"
  3060 + }
  3061 + ],
  3062 + "description": "Symfony polyfill for the Mbstring extension",
  3063 + "homepage": "https://symfony.com",
  3064 + "keywords": [
  3065 + "compatibility",
  3066 + "mbstring",
  3067 + "polyfill",
  3068 + "portable",
  3069 + "shim"
  3070 + ],
  3071 + "time": "2016-01-20 09:13:37"
  3072 + },
  3073 + {
  3074 + "name": "symfony/yaml",
  3075 + "version": "3.0.x-dev",
  3076 + "source": {
  3077 + "type": "git",
  3078 + "url": "https://github.com/symfony/yaml.git",
  3079 + "reference": "0047c8366744a16de7516622c5b7355336afae96"
  3080 + },
  3081 + "dist": {
  3082 + "type": "zip",
  3083 + "url": "https://api.github.com/repos/symfony/yaml/zipball/0047c8366744a16de7516622c5b7355336afae96",
  3084 + "reference": "0047c8366744a16de7516622c5b7355336afae96",
  3085 + "shasum": ""
  3086 + },
  3087 + "require": {
  3088 + "php": ">=5.5.9"
  3089 + },
  3090 + "type": "library",
  3091 + "extra": {
  3092 + "branch-alias": {
  3093 + "dev-master": "3.0-dev"
  3094 + }
  3095 + },
  3096 + "autoload": {
  3097 + "psr-4": {
  3098 + "Symfony\\Component\\Yaml\\": ""
  3099 + },
  3100 + "exclude-from-classmap": [
  3101 + "/Tests/"
  3102 + ]
  3103 + },
  3104 + "notification-url": "https://packagist.org/downloads/",
  3105 + "license": [
  3106 + "MIT"
  3107 + ],
  3108 + "authors": [
  3109 + {
  3110 + "name": "Fabien Potencier",
  3111 + "email": "fabien@symfony.com"
  3112 + },
  3113 + {
  3114 + "name": "Symfony Community",
  3115 + "homepage": "https://symfony.com/contributors"
  3116 + }
  3117 + ],
  3118 + "description": "Symfony Yaml Component",
  3119 + "homepage": "https://symfony.com",
  3120 + "time": "2016-03-04 07:55:57"
  3121 + },
  3122 + {
  3123 + "name": "unclead/yii2-multiple-input",
  3124 + "version": "1.2.12",
  3125 + "source": {
  3126 + "type": "git",
  3127 + "url": "https://github.com/unclead/yii2-multiple-input.git",
  3128 + "reference": "3fd9a3ab9b7d11951f6aa708ba13406868e537fd"
  3129 + },
  3130 + "dist": {
  3131 + "type": "zip",
  3132 + "url": "https://api.github.com/repos/unclead/yii2-multiple-input/zipball/3fd9a3ab9b7d11951f6aa708ba13406868e537fd",
  3133 + "reference": "3fd9a3ab9b7d11951f6aa708ba13406868e537fd",
  3134 + "shasum": ""
  3135 + },
  3136 + "require": {
  3137 + "php": ">=5.4.0",
  3138 + "yiisoft/yii2": "*"
  3139 + },
  3140 + "type": "yii2-extension",
  3141 + "autoload": {
  3142 + "psr-4": {
  3143 + "unclead\\widgets\\examples\\": "examples/",
  3144 + "unclead\\widgets\\": "src/"
  3145 + }
  3146 + },
  3147 + "notification-url": "https://packagist.org/downloads/",
  3148 + "license": [
  3149 + "BSD-3-Clause"
  3150 + ],
  3151 + "authors": [
  3152 + {
  3153 + "name": "Eugene Tupikov",
  3154 + "email": "unclead.nsk@gmail.com"
  3155 + }
  3156 + ],
  3157 + "description": "Widget for handle multiple inputs for an attribute of Yii2 framework model",
  3158 + "keywords": [
  3159 + "yii2",
  3160 + "yii2 array input",
  3161 + "yii2 multiple field",
  3162 + "yii2 multiple input",
  3163 + "yii2 tabular input"
  3164 + ],
  3165 + "time": "2016-03-09 09:01:35"
1312 3166 },
1313 3167 {
1314 3168 "name": "yiisoft/yii2",
... ... @@ -1316,12 +3170,12 @@
1316 3170 "source": {
1317 3171 "type": "git",
1318 3172 "url": "https://github.com/yiisoft/yii2-framework.git",
1319   - "reference": "88ceadba3fc19ec90f72b6ba895347b7fecd3dfb"
  3173 + "reference": "bcc317666439a8ec1dc28874e0577b860b6dd6b3"
1320 3174 },
1321 3175 "dist": {
1322 3176 "type": "zip",
1323   - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/88ceadba3fc19ec90f72b6ba895347b7fecd3dfb",
1324   - "reference": "88ceadba3fc19ec90f72b6ba895347b7fecd3dfb",
  3177 + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/bcc317666439a8ec1dc28874e0577b860b6dd6b3",
  3178 + "reference": "bcc317666439a8ec1dc28874e0577b860b6dd6b3",
1325 3179 "shasum": ""
1326 3180 },
1327 3181 "require": {
... ... @@ -1402,7 +3256,7 @@
1402 3256 "framework",
1403 3257 "yii2"
1404 3258 ],
1405   - "time": "2016-03-14 12:11:50"
  3259 + "time": "2016-03-30 14:53:41"
1406 3260 },
1407 3261 {
1408 3262 "name": "yiisoft/yii2-bootstrap",
... ... @@ -1410,12 +3264,12 @@
1410 3264 "source": {
1411 3265 "type": "git",
1412 3266 "url": "https://github.com/yiisoft/yii2-bootstrap.git",
1413   - "reference": "4133d6b26f48615de38ea1ec04eb00c4b7057bc9"
  3267 + "reference": "4dd9f52e2a376a875d998de6ab4c381291b0c69e"
1414 3268 },
1415 3269 "dist": {
1416 3270 "type": "zip",
1417   - "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/4133d6b26f48615de38ea1ec04eb00c4b7057bc9",
1418   - "reference": "4133d6b26f48615de38ea1ec04eb00c4b7057bc9",
  3271 + "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/4dd9f52e2a376a875d998de6ab4c381291b0c69e",
  3272 + "reference": "4dd9f52e2a376a875d998de6ab4c381291b0c69e",
1419 3273 "shasum": ""
1420 3274 },
1421 3275 "require": {
... ... @@ -1452,7 +3306,7 @@
1452 3306 "bootstrap",
1453 3307 "yii2"
1454 3308 ],
1455   - "time": "2016-03-04 00:48:53"
  3309 + "time": "2016-03-30 22:44:25"
1456 3310 },
1457 3311 {
1458 3312 "name": "yiisoft/yii2-composer",
... ... @@ -1460,12 +3314,12 @@
1460 3314 "source": {
1461 3315 "type": "git",
1462 3316 "url": "https://github.com/yiisoft/yii2-composer.git",
1463   - "reference": "d33d1046a5951f2f7823fe343f28ddc58b3421a4"
  3317 + "reference": "348122de0b2c2e343b579f93fcda1da78cab4912"
1464 3318 },
1465 3319 "dist": {
1466 3320 "type": "zip",
1467   - "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/d33d1046a5951f2f7823fe343f28ddc58b3421a4",
1468   - "reference": "d33d1046a5951f2f7823fe343f28ddc58b3421a4",
  3321 + "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/348122de0b2c2e343b579f93fcda1da78cab4912",
  3322 + "reference": "348122de0b2c2e343b579f93fcda1da78cab4912",
1469 3323 "shasum": ""
1470 3324 },
1471 3325 "require": {
... ... @@ -1499,7 +3353,7 @@
1499 3353 "extension installer",
1500 3354 "yii2"
1501 3355 ],
1502   - "time": "2016-02-06 01:03:32"
  3356 + "time": "2016-03-21 19:11:44"
1503 3357 },
1504 3358 {
1505 3359 "name": "yiisoft/yii2-imagine",
... ... @@ -1507,12 +3361,12 @@
1507 3361 "source": {
1508 3362 "type": "git",
1509 3363 "url": "https://github.com/yiisoft/yii2-imagine.git",
1510   - "reference": "d87e6a0d1adfd6fa5ef49c18228b2fc9bca04299"
  3364 + "reference": "a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99"
1511 3365 },
1512 3366 "dist": {
1513 3367 "type": "zip",
1514   - "url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/d87e6a0d1adfd6fa5ef49c18228b2fc9bca04299",
1515   - "reference": "d87e6a0d1adfd6fa5ef49c18228b2fc9bca04299",
  3368 + "url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99",
  3369 + "reference": "a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99",
1516 3370 "shasum": ""
1517 3371 },
1518 3372 "require": {
... ... @@ -1547,7 +3401,7 @@
1547 3401 "imagine",
1548 3402 "yii2"
1549 3403 ],
1550   - "time": "2016-02-21 23:09:41"
  3404 + "time": "2016-03-21 19:13:31"
1551 3405 },
1552 3406 {
1553 3407 "name": "yiisoft/yii2-jui",
... ... @@ -1555,12 +3409,12 @@
1555 3409 "source": {
1556 3410 "type": "git",
1557 3411 "url": "https://github.com/yiisoft/yii2-jui.git",
1558   - "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83"
  3412 + "reference": "69cd9763b4807dbbce367d599dc615c5b8a8ef4f"
1559 3413 },
1560 3414 "dist": {
1561 3415 "type": "zip",
1562   - "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/1425ab29929dd195f468d3c4eb340ab509f28b83",
1563   - "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83",
  3416 + "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/69cd9763b4807dbbce367d599dc615c5b8a8ef4f",
  3417 + "reference": "69cd9763b4807dbbce367d599dc615c5b8a8ef4f",
1564 3418 "shasum": ""
1565 3419 },
1566 3420 "require": {
... ... @@ -1597,7 +3451,7 @@
1597 3451 "jQuery UI",
1598 3452 "yii2"
1599 3453 ],
1600   - "time": "2015-12-24 06:23:53"
  3454 + "time": "2016-03-29 21:32:13"
1601 3455 },
1602 3456 {
1603 3457 "name": "yiisoft/yii2-swiftmailer",
... ... @@ -1605,12 +3459,12 @@
1605 3459 "source": {
1606 3460 "type": "git",
1607 3461 "url": "https://github.com/yiisoft/yii2-swiftmailer.git",
1608   - "reference": "2cca1bb86444a6438b0720f8c60120a400982366"
  3462 + "reference": "20775fef1047cd927908270a8d7983580304eb57"
1609 3463 },
1610 3464 "dist": {
1611 3465 "type": "zip",
1612   - "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/2cca1bb86444a6438b0720f8c60120a400982366",
1613   - "reference": "2cca1bb86444a6438b0720f8c60120a400982366",
  3466 + "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/20775fef1047cd927908270a8d7983580304eb57",
  3467 + "reference": "20775fef1047cd927908270a8d7983580304eb57",
1614 3468 "shasum": ""
1615 3469 },
1616 3470 "require": {
... ... @@ -1647,7 +3501,7 @@
1647 3501 "swiftmailer",
1648 3502 "yii2"
1649 3503 ],
1650   - "time": "2015-12-07 11:40:31"
  3504 + "time": "2016-03-21 19:16:09"
1651 3505 }
1652 3506 ],
1653 3507 "packages-dev": [
... ... @@ -1684,12 +3538,12 @@
1684 3538 "source": {
1685 3539 "type": "git",
1686 3540 "url": "https://github.com/fzaninotto/Faker.git",
1687   - "reference": "588da2fff1b9da3acb9b6e1d7395e820102bde01"
  3541 + "reference": "8deb6343c80c4edf546a6fff01a2b05c7dc59ac4"
1688 3542 },
1689 3543 "dist": {
1690 3544 "type": "zip",
1691   - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/588da2fff1b9da3acb9b6e1d7395e820102bde01",
1692   - "reference": "588da2fff1b9da3acb9b6e1d7395e820102bde01",
  3545 + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/8deb6343c80c4edf546a6fff01a2b05c7dc59ac4",
  3546 + "reference": "8deb6343c80c4edf546a6fff01a2b05c7dc59ac4",
1693 3547 "shasum": ""
1694 3548 },
1695 3549 "require": {
... ... @@ -1726,7 +3580,7 @@
1726 3580 "faker",
1727 3581 "fixtures"
1728 3582 ],
1729   - "time": "2016-03-10 07:12:46"
  3583 + "time": "2016-03-29 16:49:43"
1730 3584 },
1731 3585 {
1732 3586 "name": "phpspec/php-diff",
... ... @@ -1768,12 +3622,12 @@
1768 3622 "source": {
1769 3623 "type": "git",
1770 3624 "url": "https://github.com/yiisoft/yii2-codeception.git",
1771   - "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841"
  3625 + "reference": "e01b3c46917b3f00c42f6a4aabf612cc36d792e6"
1772 3626 },
1773 3627 "dist": {
1774 3628 "type": "zip",
1775   - "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/ee239c244fd011f11c8827f97ebe7600d03f1841",
1776   - "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841",
  3629 + "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/e01b3c46917b3f00c42f6a4aabf612cc36d792e6",
  3630 + "reference": "e01b3c46917b3f00c42f6a4aabf612cc36d792e6",
1777 3631 "shasum": ""
1778 3632 },
1779 3633 "require": {
... ... @@ -1805,7 +3659,7 @@
1805 3659 "codeception",
1806 3660 "yii2"
1807 3661 ],
1808   - "time": "2015-11-20 08:52:21"
  3662 + "time": "2016-03-21 19:11:26"
1809 3663 },
1810 3664 {
1811 3665 "name": "yiisoft/yii2-debug",
... ... @@ -1813,12 +3667,12 @@
1813 3667 "source": {
1814 3668 "type": "git",
1815 3669 "url": "https://github.com/yiisoft/yii2-debug.git",
1816   - "reference": "b258732b10a706d3fa41829f13be727e49dabd09"
  3670 + "reference": "081795536b31d29106b0d1de0cb3aefa3e05e995"
1817 3671 },
1818 3672 "dist": {
1819 3673 "type": "zip",
1820   - "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/b258732b10a706d3fa41829f13be727e49dabd09",
1821   - "reference": "b258732b10a706d3fa41829f13be727e49dabd09",
  3674 + "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/081795536b31d29106b0d1de0cb3aefa3e05e995",
  3675 + "reference": "081795536b31d29106b0d1de0cb3aefa3e05e995",
1822 3676 "shasum": ""
1823 3677 },
1824 3678 "require": {
... ... @@ -1852,7 +3706,7 @@
1852 3706 "debugger",
1853 3707 "yii2"
1854 3708 ],
1855   - "time": "2016-03-14 21:47:38"
  3709 + "time": "2016-03-21 19:12:39"
1856 3710 },
1857 3711 {
1858 3712 "name": "yiisoft/yii2-faker",
... ... @@ -1860,12 +3714,12 @@
1860 3714 "source": {
1861 3715 "type": "git",
1862 3716 "url": "https://github.com/yiisoft/yii2-faker.git",
1863   - "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7"
  3717 + "reference": "a8daa97749e7154d91676405a1c59ed81e1ca999"
1864 3718 },
1865 3719 "dist": {
1866 3720 "type": "zip",
1867   - "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/186c77214e0a4b75f10380b4e6e5f82788922cb7",
1868   - "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7",
  3721 + "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/a8daa97749e7154d91676405a1c59ed81e1ca999",
  3722 + "reference": "a8daa97749e7154d91676405a1c59ed81e1ca999",
1869 3723 "shasum": ""
1870 3724 },
1871 3725 "require": {
... ... @@ -1899,7 +3753,7 @@
1899 3753 "faker",
1900 3754 "yii2"
1901 3755 ],
1902   - "time": "2015-12-18 01:52:12"
  3756 + "time": "2016-03-21 19:13:03"
1903 3757 },
1904 3758 {
1905 3759 "name": "yiisoft/yii2-gii",
... ... @@ -1907,12 +3761,12 @@
1907 3761 "source": {
1908 3762 "type": "git",
1909 3763 "url": "https://github.com/yiisoft/yii2-gii.git",
1910   - "reference": "ce42838abcbef076ebaf46147671d518ae69d028"
  3764 + "reference": "989d6c52c92e51f0d562729c329ee1012191cba2"
1911 3765 },
1912 3766 "dist": {
1913 3767 "type": "zip",
1914   - "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/ce42838abcbef076ebaf46147671d518ae69d028",
1915   - "reference": "ce42838abcbef076ebaf46147671d518ae69d028",
  3768 + "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/989d6c52c92e51f0d562729c329ee1012191cba2",
  3769 + "reference": "989d6c52c92e51f0d562729c329ee1012191cba2",
1916 3770 "shasum": ""
1917 3771 },
1918 3772 "require": {
... ... @@ -1952,7 +3806,7 @@
1952 3806 "gii",
1953 3807 "yii2"
1954 3808 ],
1955   - "time": "2016-02-21 20:39:29"
  3809 + "time": "2016-03-21 19:13:26"
1956 3810 }
1957 3811 ],
1958 3812 "aliases": [],
... ...
frontend/controllers/CabinetController.php 0 → 100644
  1 +<?php
  2 +namespace frontend\controllers;
  3 +
  4 +use common\models\Customers;
  5 +use common\models\User;
  6 +use Yii;
  7 +use common\models\LoginForm;
  8 +use frontend\models\PasswordResetRequestForm;
  9 +use frontend\models\ResetPasswordForm;
  10 +use frontend\models\SignupForm;
  11 +use frontend\models\ContactForm;
  12 +use yii\base\InvalidParamException;
  13 +use yii\helpers\ArrayHelper;
  14 +use yii\web\BadRequestHttpException;
  15 +use yii\web\Controller;
  16 +use yii\filters\VerbFilter;
  17 +use yii\filters\AccessControl;
  18 +use yii\web\Response;
  19 +use yii\widgets\ActiveForm;
  20 +
  21 +/**
  22 + * Site controller
  23 + */
  24 +class CabinetController extends Controller
  25 +{
  26 +
  27 + public $layout = 'cabinet';
  28 +
  29 + /**
  30 + * @inheritdoc
  31 + */
  32 + public function behaviors()
  33 + {
  34 + return [
  35 + 'access' => [
  36 + 'class' => AccessControl::className(),
  37 + 'rules' => [
  38 + [
  39 + 'actions' => ['login', 'error'],
  40 + 'allow' => true,
  41 + ],
  42 + [
  43 + 'actions' => ['logout', 'index', 'create', 'update', 'view', 'delete','my-orders','bookmarks'],
  44 + 'allow' => true,
  45 + 'roles' => ['@'],
  46 + ],
  47 + ],
  48 + ],
  49 + 'verbs' => [
  50 + 'class' => VerbFilter::className(),
  51 + 'actions' => [
  52 + 'logout' => ['post'],
  53 + ],
  54 + ],
  55 + ];
  56 + }
  57 +
  58 + public function actionIndex(){
  59 + return $this->render('index');
  60 + }
  61 +
  62 + public function actionUpdate(){
  63 +
  64 +
  65 +
  66 + $model = Yii::$app->user->identity;
  67 +
  68 +
  69 + if(Yii::$app->request->post()){
  70 +
  71 + $model->load(Yii::$app->request->post());
  72 + $model->validate();
  73 +
  74 + if($model->validate()){
  75 + $model->save();
  76 +
  77 + }
  78 +
  79 + }
  80 +
  81 +
  82 + return $this->render('update',[
  83 + 'model' =>$model
  84 + ]);
  85 + }
  86 +
  87 +
  88 + public function actionBookmarks(){
  89 + return $this->render('bookmarks',[
  90 +
  91 + ]);
  92 + }
  93 +
  94 + public function actionMyOrders(){
  95 + return $this->render('my-orders',[
  96 +
  97 + ]);
  98 + }
  99 +
  100 +}
0 101 \ No newline at end of file
... ...
frontend/controllers/OrderController.php deleted
1   -<?php
2   -
3   -namespace frontend\controllers;
4   -
5   -use Yii;
6   -
7   -use yii\web\Controller;
8   -use yii\web\NotFoundHttpException;
9   -use yii\data\ArrayDataProvider;
10   -/**
11   - * OrderController implements the CRUD actions for Order model.
12   - */
13   -class OrderController extends Controller
14   -{
15   -
16   - public $layout='/column2';
17   -
18   - /**
19   - * Lists all Order models.
20   - * @return mixed
21   - */
22   - public function actionIndex()
23   - {
24   -
25   - if (Yii::$app->request->post()) {
26   - $item = $items_id = array();
27   -
28   - $i = 0;
29   - $order = Yii::$app->request->post();
30   -
31   - $orderData['Order'] = $order['OrderForm'];
32   -
33   - foreach($order['OrderForm']['one_item'] as $k => $v ){
34   - $item[$k]['num'] = $v['num'];
35   - $items_id[] = $k;
36   - $i++;
37   - }
38   -
39   - $items = Items::find()->where(['id'=>$items_id])->all();
40   -
41   -
42   - $orderModel = new Order();
43   - $orderModel->load($orderData);
44   - $orderModel->save();
45   -
46   -
47   - foreach($items as $one_item){
48   - $ItemOrderModel = new ItemOrder();
49   - $ItemOrderModel->order_id = $orderModel->id;
50   - $ItemOrderModel->num = $item[$one_item->id]['num'];
51   - $ItemOrderModel->item_id = $one_item->id;
52   - $ItemOrderModel->price = $one_item->price * $item[$one_item->id]['num'];
53   - $ItemOrderModel->item_name = $one_item->name;
54   - $ItemOrderModel->save();
55   - }
56   - Yii::$app->session->set('order', [] );
57   - return $this->redirect(['order/complete']);
58   - }
59   - $total_price = 0;
60   -
61   - $items_id = [];
62   -
63   - $orders = Yii::$app->session->get('order');
64   -
65   - if(!empty($orders)){
66   - foreach($orders as $k => $v) {
67   - $items_id[] = $k;
68   - }
69   - }
70   -
71   -
72   - $items = Items::find()->where(['id'=>$items_id])->all();
73   -
74   - foreach($items as $item) {
75   - $total_price += $orders[$item['id']]['num'] * $item['price'];
76   - }
77   -
78   -
79   - $dataProvider = new ArrayDataProvider([
80   - 'allModels' => $items
81   - ]);
82   -
83   - return $this->render('index', [
84   - 'dataProvider' => $dataProvider,
85   - 'total_price'=> $total_price,
86   - 'model' => new OrderForm()
87   - ]);
88   - }
89   -
90   -
91   - public function actionComplete()
92   - {
93   - return $this->render('complete', [
94   - ]);
95   - }
96   -
97   - public function actionBuyItems(){
98   - $data = Yii::$app->request->post();
99   - $sessionData = Yii::$app->session->get('order');
100   - if(isset($sessionData) && !array_search($data['id'],Yii::$app->session->get('order')) ){
101   - $array = Yii::$app->session->get('order');
102   - $array[$data['id']] = $data;
103   - Yii::$app->session->set('order', $array );
104   - } else {
105   - $array[$data['id']] = $data;
106   - Yii::$app->session->set('order', $array );
107   - }
108   - echo count(Yii::$app->session->get('order'));
109   -
110   - }
111   - /**
112   - * Displays a single Order model.
113   - * @param integer $id
114   - * @return mixed
115   - */
116   - public function actionView($id)
117   - {
118   - return $this->render('view', [
119   - 'model' => $this->findModel($id),
120   - ]);
121   - }
122   -
123   - /**
124   - * Creates a new Order model.
125   - * If creation is successful, the browser will be redirected to the 'view' page.
126   - * @return mixed
127   - */
128   - public function actionCreate()
129   - {
130   - $model = new Order();
131   -
132   - if ($model->load(Yii::$app->request->post()) && $model->save()) {
133   - return $this->redirect(['view', 'id' => $model->id]);
134   - } else {
135   - return $this->render('create', [
136   - 'model' => $model,
137   - ]);
138   - }
139   - }
140   -
141   - /**
142   - * Updates an existing Order model.
143   - * If update is successful, the browser will be redirected to the 'view' page.
144   - * @param integer $id
145   - * @return mixed
146   - */
147   - public function actionUpdate($id)
148   - {
149   - $model = $this->findModel($id);
150   -
151   - if ($model->load(Yii::$app->request->post()) && $model->save()) {
152   - return $this->redirect(['view', 'id' => $model->id]);
153   - } else {
154   - return $this->render('update', [
155   - 'model' => $model,
156   - ]);
157   - }
158   - }
159   -
160   - /**
161   - * Deletes an existing Order model.
162   - * If deletion is successful, the browser will be redirected to the 'index' page.
163   - * @param integer $id
164   - * @return mixed
165   - */
166   - public function actionDelete()
167   - {
168   - $data = Yii::$app->request->post();
169   - $sessionData = Yii::$app->session->get('order');
170   - unset($sessionData[$data['id']]);
171   - Yii::$app->session->set('order', $sessionData);
172   - return count(Yii::$app->session->get('order'));
173   - }
174   -
175   - /**
176   - * Finds the Order model based on its primary key value.
177   - * If the model is not found, a 404 HTTP exception will be thrown.
178   - * @param integer $id
179   - * @return Order the loaded model
180   - * @throws NotFoundHttpException if the model cannot be found
181   - */
182   - protected function findModel($id)
183   - {
184   - if (($model = Order::findOne($id)) !== null) {
185   - return $model;
186   - } else {
187   - throw new NotFoundHttpException('The requested page does not exist.');
188   - }
189   - }
190   -}
frontend/controllers/SiteController.php
... ... @@ -236,7 +236,5 @@ class SiteController extends Controller
236 236 }
237 237  
238 238  
239   - public function actionCabinet(){
240   - return $this->render('cabinet');
241   - }
  239 +
242 240 }
... ...
frontend/views/cabinet/bookmarks.php 0 → 100644
  1 +<?php
  2 +
  3 +/**
  4 + *
  5 + * var $model SignupForm
  6 + *
  7 + */
  8 +$this->title = 'Закладки';
  9 +$this->params['breadcrumbs'][] = $this->title;
  10 +use yii\helpers\Html;
  11 +use yii\helpers\Url;
  12 +use yii\widgets\ActiveForm;
  13 +?>
  14 +
  15 +<?php $form = ActiveForm::begin([
  16 + 'action'=>''
  17 +]); ?>
  18 +
  19 +
  20 +
  21 +
  22 +
  23 +
  24 +<?php ActiveForm::end(); ?>
0 25 \ No newline at end of file
... ...
frontend/views/site/cabinet.php renamed to frontend/views/cabinet/index.php
1 1 <?php
2   -
3   -use yii\helpers\Html;
4   -use yii\helpers\Url;
5   -
6 2 $this->title = 'Moй кабинет';
7 3 $this->params['breadcrumbs'][] = $this->title;
8 4  
9 5 ?>
10 6  
  7 +<div class="block_02">
  8 + <div class="cab_01">Имя</div>
  9 + <div class="cab_01">e-mail</div>
  10 + <div class="cab_01">Телефон</div>
  11 +</div>
11 12  
12   -<h1 class="cabinet_main_title">Личные данные</h1>
13   -
14   -<div class="cabinet_wrap">
15   - <div class="block_01">
16   - <div class="cab_01">Личные данные</div>
17   - <div class="cab_01">Мои заказы</div>
18   - <div class="cab_01">Закладки</div>
19   - </div>
20   -
21   - <div class="block_02">
22   - <div class="cab_01">Имя</div>
23   - <div class="cab_01">e-mail</div>
24   - <div class="cab_01">Телефон</div>
25   - </div>
26   -
27   - <div class="block_03">
28   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->name ?></span></div>
29   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->email ?></span></div>
30   - <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->phone ?></span></div>
31   - </div>
  13 +<div class="block_03">
32 14  
33   - <div class="block_04">
34   - <div class="link"><span class="dotted"><a href="#">Редактировать личные данные</a></span></div>
35   - <div class="link"><?= Html::a(Yii::t('app','exit'), Url::toRoute('site/logout'))?></div>
36   - </div>
  15 + <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->name ?></span></div>
  16 + <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->email ?></span></div>
  17 + <div class="cab_01"><span class="grey"><?= Yii::$app->user->identity->phone ?></span></div>
37 18 </div>
38 19 \ No newline at end of file
... ...
frontend/views/cabinet/my-orders.php 0 → 100644
  1 +<?php
  2 +
  3 +/**
  4 + *
  5 + * var $model SignupForm
  6 + *
  7 + */
  8 +$this->title = 'Мои заказы';
  9 +$this->params['breadcrumbs'][] = $this->title;
  10 +use yii\helpers\Html;
  11 +use yii\helpers\Url;
  12 +use yii\widgets\ActiveForm;
  13 +?>
  14 +
  15 +<?php $form = ActiveForm::begin([
  16 + 'action'=>''
  17 +]); ?>
  18 +
  19 +
  20 +
  21 +
  22 +
  23 +
  24 +<?php ActiveForm::end(); ?>
0 25 \ No newline at end of file
... ...
frontend/views/cabinet/update.php 0 → 100644
  1 +<?php
  2 +
  3 +/**
  4 + *
  5 + * var $model SignupForm
  6 + *
  7 + */
  8 + $this->title = 'Редактировать личные данные';
  9 + $this->params['breadcrumbs'][] = $this->title;
  10 + use yii\helpers\Html;
  11 + use yii\helpers\Url;
  12 + use yii\widgets\ActiveForm;
  13 +?>
  14 +
  15 +<?php $form = ActiveForm::begin([
  16 + 'action'=>''
  17 +]); ?>
  18 +
  19 +<div class="modal_wrapper_cabinet">
  20 + <div class="cabinet_window">
  21 +
  22 +
  23 + <?= $form->field($model, 'email', [
  24 + 'template' => '<label>'.Yii::t('app', 'email').'{input}{error}{hint}</label>',
  25 + ]) ?>
  26 +
  27 +
  28 +
  29 + <?= $form->field($model, 'username',[
  30 + 'template' => '<label>'.Yii::t('app', 'username').'{input}{error}{hint}</label>',
  31 + ])->textInput() ?>
  32 +
  33 +
  34 +
  35 + <?= $form->field($model, 'surname',[
  36 + 'template' => '<label>'.Yii::t('app', 'surname').'{input}{error}{hint}</label>',
  37 + ])->textInput() ?>
  38 +
  39 +
  40 +
  41 + <?= $form->field($model, 'phone', [
  42 + 'template' => '<label>'.Yii::t('app', 'phone').'{input}{error}{hint}</label>',
  43 + ])->textInput() ?>
  44 +
  45 +
  46 +
  47 +
  48 + <?= Html::submitButton(Yii::t('app', 'registration'), ['class' => 'my_cust_cabinet_btn']) ?>
  49 +
  50 + </div>
  51 +</div>
  52 +
  53 +
  54 +
  55 +
  56 +<?php ActiveForm::end(); ?>
0 57 \ No newline at end of file
... ...
frontend/views/catalog/product.php
... ... @@ -11,7 +11,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $product-&gt;name .&#39; #&#39;. $product-&gt;variant-&gt;sku;
11 11 ?>
12 12 <h1 class="open_card_item_title"><?= $product->name .' '. $product->variant->name?></h1>
13 13  
14   -<div class="item_3_blocks_wrap"> <!-- flex container -->
  14 +<div class="item_3_blocks_wrap" id="one_item_block" data-id="<?= $product->variant->product_variant_id?>"> <!-- flex container -->
15 15 <div class="item_img_block"> <!-- блок с фотографиями -->
16 16 <div class="main_img">
17 17 <?php if (empty($product->image)) :?>
... ... @@ -19,9 +19,18 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $product-&gt;name .&#39; #&#39;. $product-&gt;variant-&gt;sku;
19 19 <?php else :?>
20 20 <img src="/images/<?= $product->image->image?>" alt="<?= $product->image->alt ? $product->image->alt : $product->name?>">
21 21 <?php endif?>
  22 +
22 23 <!--<span class="new">НОВИНКА</span>
23 24 <span class="top">ТОП</span>-->
24 25 </div>
  26 + <div class="product_service">
  27 + <ul>
  28 + <li class="item1"><a id="add_to_bookmarks" href="#">Добавить в закладки</a>
  29 + </li>
  30 + <li class="item3"><a id="add_to_compare" href="#">Добавить в
  31 + сравнение</a></li>
  32 + </ul>
  33 + </div>
25 34 <?php if (!empty($product->images)) :?>
26 35 <div class="main_img_slide">
27 36 <?php foreach($product->images as $image) :?>
... ...
frontend/views/layouts/cabinet.php 0 → 100644
  1 +<?php
  2 +/* @var $content string */
  3 +use yii\helpers\Html;
  4 +use yii\helpers\Url;
  5 +
  6 +$this->beginContent('@app/views/layouts/site_content.php');
  7 +?>
  8 +<h1 class="cabinet_main_title"><?= Yii::t('app', 'personal_data'); ?></h1>
  9 +
  10 +<div class="cabinet_wrap">
  11 + <div class="block_01">
  12 + <div class="cab_01"><?= Html::a(Yii::t('app','personal_data'), Url::toRoute('cabinet/index'))?></div>
  13 + <div class="cab_01"><?= Html::a(Yii::t('app','my_orders'), Url::toRoute('cabinet/my-orders'))?></div>
  14 + <div class="cab_01"><?= Html::a(Yii::t('app','bookmarks'), Url::toRoute('cabinet/bookmarks'))?></div>
  15 + </div>
  16 + <div class="customer_content">
  17 + <?= $content ?>
  18 + </div>
  19 + <div class="block_04">
  20 + <div class="link">
  21 + <span class="dotted">
  22 + <?= Html::a(Yii::t('app','edit_personal_data'), Url::toRoute('cabinet/update'))?>
  23 + </span>
  24 + </div>
  25 + <div class="link"><?= Html::a(Yii::t('app','exit'), Url::toRoute('site/logout'))?></div>
  26 + </div>
  27 +</div>
  28 +<?php $this->endContent() ?>
0 29 \ No newline at end of file
... ...
frontend/views/layouts/main.php
... ... @@ -43,7 +43,7 @@ AppAsset::register($this);
43 43 <li class="login_button_lu"><a href="#">Вход</a></li>
44 44 <li class="reg_button_lu"><a href="#">Регистрация</a></li>
45 45 <?php } else { ?>
46   - <li class="user_button_lu"><?= Html::a( Yii::$app->user->identity->username , Url::toRoute(['site/cabinet'])); ?></li>
  46 + <li class="user_button_lu"><?= Html::a( Yii::$app->user->identity->username , Url::toRoute(['cabinet/index'])); ?></li>
47 47 <?php } ?>
48 48 </ul>
49 49 </div>
... ...
frontend/web/css/concat_all.css
... ... @@ -1633,6 +1633,7 @@ span.red {
1633 1633  
1634 1634 .cabinet_wrap .block_01 {
1635 1635 display: inline-block;
  1636 + vertical-align: top;
1636 1637 width: 233px;
1637 1638 }
1638 1639  
... ... @@ -3160,4 +3161,70 @@ span.red {
3160 3161 width: 265px;
3161 3162 text-align: left;
3162 3163 color: #D75C5C;
  3164 +}
  3165 +
  3166 +.customer_content{
  3167 + display: inline-block;
  3168 + width: 420px;
  3169 +}
  3170 +.modal_wrapper_cabinet .cabinet_window label {
  3171 + display: block;
  3172 + font-size: 13px;
  3173 + width: 500px;
  3174 + margin: auto;
  3175 + margin-bottom: 8px;
  3176 +}
  3177 +
  3178 +.modal_wrapper_cabinet .cabinet_window input {
  3179 + padding: 8px;
  3180 + width: 251px;
  3181 + margin-right: 56px;
  3182 + margin-left: 11px;
  3183 + border: 1px solid #C6C7C9;
  3184 + -webkit-border-radius: 3px;
  3185 + border-radius: 3px;
  3186 +}
  3187 +
  3188 +.modal_wrapper_cabinet .cabinet_window{
  3189 +
  3190 + text-align: right;
  3191 +}
  3192 +
  3193 +
  3194 +.modal_wrapper_cabinet{
  3195 + margin-left: -60px;
  3196 +}
  3197 +
  3198 +.my_cust_cabinet_btn{
  3199 + font-family: 'Ubuntu', sans-serif;
  3200 + background-color: #6aa033;
  3201 + border: 0;
  3202 + color: #ffffff;
  3203 + padding-top: 8px;
  3204 + padding-bottom: 8px;
  3205 + font-size: 13px;
  3206 + border-top: 1px solid #6aa033;
  3207 + border-bottom: 2px solid #588c23;
  3208 + border-radius: 0px 2px 2px 0px;
  3209 + cursor: pointer;
  3210 + padding-right: 10px;
  3211 + padding-left: 10px;
  3212 + z-index: 2;
  3213 + height: 38px;
  3214 +}
  3215 +
  3216 +.product_service{
  3217 + margin-top: 10px;
  3218 +}
  3219 +.product_service ul li{
  3220 + font-size: 13px;
  3221 +}
  3222 +.product_service ul li.item1 {
  3223 + background: url('/images/li1.png') left no-repeat;
  3224 + padding: 3px 23px;
  3225 +}
  3226 +
  3227 +.product_service ul li.item3 {
  3228 + background: url('/images/li3.png') left no-repeat;
  3229 + padding: 3px 23px;
3163 3230 }
3164 3231 \ No newline at end of file
... ...
frontend/web/js/basket.js
... ... @@ -143,5 +143,25 @@ $(document).ready(function(){
143 143 input.val(number);
144 144 });
145 145  
  146 + /****************************compare and bookmarks********************************************/
  147 +
  148 + function addItemToCompare(id){
  149 + $.post( "/orders/compare", {id: id}, function( data ) {
  150 + });
  151 + }
  152 +
  153 + $('#add_to_compare').click(function (event) {
  154 + event.preventDefault();
  155 + var id = $('#one_item_block').data('id');
  156 + addItemToCompare(id);
  157 + });
  158 +
  159 + $('#add_to_bookmarks').click(function(event){
  160 + event.preventDefault();
  161 + var id = $('#one_item_block').data('id');
  162 + $.post( "/orders/bookmarks", {id: id}, function( data ) {
  163 + });
  164 + });
  165 +
146 166  
147 167 });
148 168 \ No newline at end of file
... ...