From 0bdfedeaee91855b575684f6ddff6588194c7765 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 22 Mar 2017 19:03:27 +0200 Subject: [PATCH] -Analytics started --- backend/controllers/SiteController.php | 15 ++++++++++++--- common/config/Artbox-85b8559147bc.json | 12 ++++++++++++ composer.json | 3 ++- composer.lock | 931 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4 files changed, 748 insertions(+), 213 deletions(-) create mode 100644 common/config/Artbox-85b8559147bc.json diff --git a/backend/controllers/SiteController.php b/backend/controllers/SiteController.php index 6e978c8..27e3b58 100755 --- a/backend/controllers/SiteController.php +++ b/backend/controllers/SiteController.php @@ -26,9 +26,13 @@ class SiteController extends Controller 'allow' => true, ], [ - 'actions' => ['logout', 'index'], - 'allow' => true, - 'roles' => ['@'], + 'actions' => [ + 'logout', + 'index', + 'analytic', + ], + 'allow' => true, + 'roles' => ['@'], ], ], ], @@ -95,4 +99,9 @@ class SiteController extends Controller return $this->goHome(); } + + public function actionAnalytic() + { + return $this->renderPartial('analytic'); + } } diff --git a/common/config/Artbox-85b8559147bc.json b/common/config/Artbox-85b8559147bc.json new file mode 100644 index 0000000..91a06bb --- /dev/null +++ b/common/config/Artbox-85b8559147bc.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "artbox-162314", + "private_key_id": "85b8559147bc8f40112c57500f6c7fdbac864cc4", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC+oKDeNHMbBLSr\n/t9Uzt1Xrx9biqn7IXCtaoeky/O6wGJwzAAByT6RGgm8qsidas03qpzFuCefK416\n1N+vXNn3PTw4Rr9inpIF8Jd40Xa3hEHBokQWvgUByHax9puH7pXH5jfkUAc4NfEY\nzOBIii5i3g0CFmaQiIsMI2gKXqhbCs4c3zIaJSU8ZqKdxC5WdVnqXj9YoJPDQ+63\nMeJLl8gF8yDfokv5pvqwZs2QJTZXufPEsR7VQzFY04r8ORmNUzGfli4LHyyZxSGA\nYT63VI/c6MoQVPIownv4G3azb9K7xay6Yhm+956Trxj1iGv0g6mSJ4eSIy1F3P/U\n6xRiJW35AgMBAAECggEBAJa22tkz8Lmw28OMjDg6IagczhcLJ99kjfid3Ea/9aB2\nUJ5Lu8mtuajxRDeFc316HmxfmPl94t2mioJN4dh8+dvO71izHsezBVJq6Odd/JWV\nnIOibmDotX62ZpnHlyo+yO82JoR9fWfExizMdpsDnS8PzosS+N5XBlB/gdeJBWSM\nZPSLzEySPSSk9qAYbvxg1hax61SEcrwwQtWPji5x9szqsdPFNtXvufAPPZouijku\nIdYot79aa6WTJbEei/eaVNSMhZXlT1arRsA3X9QW3IG+92UIdm7Ak18x2LeurkeQ\nY8KkFv34f+NEZMHtgi6CUufBdPwUUlNZ3nX49sgGJf0CgYEA77EQEUP0eN1FU2Tf\n07m15KpNt9wpkgrVQSmz42j8HD9uRgZDo98EAt6+p8cGCVKnqibdk1cYHtCqEMMT\nw7oToZf2nACnT4NWnGi0IuBCmDl5yg6vd1BJvI/LE+UqpAMaZq/6VLe8uOoAOk3Y\nAI6yNsEtUkhwnWr6VRYTU43gu+MCgYEAy5j3x95VqRTqgF8fXBr1MLS344sSDtrA\nCRvdddJRaqxNKP+BpzvXB0Evr61dTrnxLNsDfAnCuxAEJkPvX30Fw8OS7n5IWSM+\npxtAq8nqLWPFW2YOV8un05nfZMT+opVcHOKFKxjPuaNHUsnY9kUBOPsKUidKDiKD\nmY7HKy6HjXMCgYEArui2oOLF860EeeaSrx5F7aeZLyIp87iUBgk4jCqATty6y76m\nfV6wvqds2WIStZrrXu8dofdcUqBSegjg02NmD/WksBKKBSwCeACv8wNTlWHbzecJ\nhDfClycXOl1w0F6zVVv1gPzTatzXbbSAe2emBO7S88iI5Va7dnu1frN526ECgYBh\nOjax8wJTUZK/JS3zrUgEL3lVp7dC8sIcV3tF5d9NouTiPEptU41XgJDGQ3M4wmFj\nO2AJnxuoe3iP0YeBwVG8cCw9yn7AWq1z3fbfUviLHodEI5Ob57zIt0XQeKble5BW\nlvJjZ2Dj1Q6dgZkj2kZAMNp36x1ZbLAN5/pDK+A98wKBgQCek7vW3LY6aUtLdkr4\n2UsU8jhdOVecxqqdL0dehPSacJLA+n1uznrlQ3rSDCEDgTrbBwN+lBvEiuWVbSwE\nY8NLLzZLUPKZHcY2V8v5BNfT5gcJe/ehVwE1i7duQeyfw8CY/PSdiv0mSIVETp4S\nBeaQBdluW7V+HMr0rNdopwnptA==\n-----END PRIVATE KEY-----\n", + "client_email": "artbox@artbox-162314.iam.gserviceaccount.com", + "client_id": "103445887473700242649", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://accounts.google.com/o/oauth2/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/artbox%40artbox-162314.iam.gserviceaccount.com" +} diff --git a/composer.json b/composer.json index 8407bf0..14ee942 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,8 @@ "yii2tech/filedb": "^1.0", "hiqdev/yii2-asset-pnotify": "^2.1", "yiisoft/yii2-imagine": "*", - "2amigos/yii2-tinymce-widget": "*" + "2amigos/yii2-tinymce-widget": "*", + "google/apiclient": "^2.0" }, "require-dev": { "yiisoft/yii2-debug": "~2.0.0", diff --git a/composer.lock b/composer.lock index 3b9fa56..72b28b7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "7fc63af882893c8dd17780d0c1c57ea1", - "content-hash": "a4388a61af3f169567e804b653d72990", + "hash": "7024a3493d0dd61f5018018e8987f846", + "content-hash": "f3f1ac35100ae05210344f07161221a4", "packages": [ { "name": "2amigos/yii2-tinymce-widget", @@ -576,6 +576,49 @@ "time": "2017-03-13 06:30:53" }, { + "name": "firebase/php-jwt", + "version": "v4.0.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35", + "reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "time": "2016-07-18 04:51:16" + }, + { "name": "fortawesome/font-awesome", "version": "v4.7.0", "source": { @@ -624,6 +667,325 @@ "time": "2016-10-24 15:52:54" }, { + "name": "google/apiclient", + "version": "v2.1.2", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client.git", + "reference": "360e656f48c3262a6f7fefc0207521efa66caedf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client/zipball/360e656f48c3262a6f7fefc0207521efa66caedf", + "reference": "360e656f48c3262a6f7fefc0207521efa66caedf", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "google/apiclient-services": "^0.9", + "google/auth": "^0.11", + "guzzlehttp/guzzle": "~5.2|~6.0", + "guzzlehttp/psr7": "^1.2", + "monolog/monolog": "^1.17", + "php": ">=5.4", + "phpseclib/phpseclib": "~0.3.10|~2.0" + }, + "require-dev": { + "cache/filesystem-adapter": "^0.3.2", + "phpunit/phpunit": "~4", + "squizlabs/php_codesniffer": "~2.3", + "symfony/css-selector": "~2.1", + "symfony/dom-crawler": "~2.1" + }, + "suggest": { + "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-0": { + "Google_": "src/" + }, + "classmap": [ + "src/Google/Service/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ], + "time": "2017-01-11 19:44:46" + }, + { + "name": "google/apiclient-services", + "version": "v0.9", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client-services.git", + "reference": "c400c655d1b7ca412ad4dd344e569c6865e74a83" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/c400c655d1b7ca412ad4dd344e569c6865e74a83", + "reference": "c400c655d1b7ca412ad4dd344e569c6865e74a83", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "type": "library", + "autoload": { + "psr-0": { + "Google_Service_": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ], + "time": "2017-01-11 18:53:21" + }, + { + "name": "google/auth", + "version": "v0.11.1", + "source": { + "type": "git", + "url": "https://github.com/google/google-auth-library-php.git", + "reference": "a240674b08a09949fd5597f7590b3ed83663a12d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d", + "reference": "a240674b08a09949fd5597f7590b3ed83663a12d", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0", + "guzzlehttp/guzzle": "~5.3|~6.0", + "guzzlehttp/psr7": "~1.2", + "php": ">=5.4", + "psr/cache": "^1.0", + "psr/http-message": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^1.11", + "phpunit/phpunit": "3.7.*" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ], + "psr-4": { + "Google\\Auth\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google Auth Library for PHP", + "homepage": "http://github.com/google/google-auth-library-php", + "keywords": [ + "Authentication", + "google", + "oauth2" + ], + "time": "2016-11-02 14:59:14" + }, + { + "name": "guzzlehttp/guzzle", + "version": "6.2.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006", + "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006", + "shasum": "" + }, + "require": { + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.4", + "php": ">=5.5" + }, + "require-dev": { + "ext-curl": "*", + "phpunit/phpunit": "^4.0", + "psr/log": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ], + "time": "2017-02-28 22:50:30" + }, + { + "name": "guzzlehttp/promises", + "version": "v1.3.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "shasum": "" + }, + "require": { + "php": ">=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "time": "2016-12-20 10:07:11" + }, + { + "name": "guzzlehttp/psr7", + "version": "1.4.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "request", + "response", + "stream", + "uri", + "url" + ], + "time": "2017-03-20 17:10:46" + }, + { "name": "hiqdev/yii2-asset-icheck", "version": "1.0.2.5", "source": { @@ -1020,99 +1382,412 @@ "time": "2016-06-16 06:53:01" }, { + "name": "monolog/monolog", + "version": "1.22.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1e044bc4b34e91743943479f1be7a1d5eb93add0", + "reference": "1e044bc4b34e91743943479f1be7a1d5eb93add0", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "2.3.0", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "~5.3" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "time": "2017-03-13 07:08:03" + }, + { "name": "noam148/yii2-image-manager", "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/noam148/yii2-image-manager.git", - "reference": "fa1b8d9c405dec2404065d472105b77e783880ed" + "url": "https://github.com/noam148/yii2-image-manager.git", + "reference": "fa1b8d9c405dec2404065d472105b77e783880ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/noam148/yii2-image-manager/zipball/fa1b8d9c405dec2404065d472105b77e783880ed", + "reference": "fa1b8d9c405dec2404065d472105b77e783880ed", + "shasum": "" + }, + "require": { + "kartik-v/yii2-widget-fileinput": "@dev", + "noam148/yii2-image-resize": "*", + "yiisoft/yii2": "*" + }, + "type": "yii2-extension", + "autoload": { + "psr-4": { + "noam148\\imagemanager\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Noam148", + "homepage": "https://github.com/noam148/" + } + ], + "description": "A Yii2 module/widget for upload and cropping images", + "homepage": "https://github.com/noam148/yii2-image-manager", + "keywords": [ + "crop", + "extension", + "image", + "manager", + "module", + "upload", + "widget", + "yii2" + ], + "time": "2017-02-23 14:49:07" + }, + { + "name": "noam148/yii2-image-resize", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/noam148/yii2-image-resize.git", + "reference": "75796bdbe9bd66e23f8aff9d44ab431936a5a15e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/noam148/yii2-image-resize/zipball/75796bdbe9bd66e23f8aff9d44ab431936a5a15e", + "reference": "75796bdbe9bd66e23f8aff9d44ab431936a5a15e", + "shasum": "" + }, + "require": { + "yiisoft/yii2": "*", + "yiisoft/yii2-imagine": "*" + }, + "type": "yii2-extension", + "autoload": { + "psr-4": { + "noam148\\imageresize\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Noam148", + "homepage": "https://github.com/noam148/" + } + ], + "description": "A Yii2 component for resizing images (on the fly)", + "homepage": "https://github.com/noam148/yii2-image-resize", + "keywords": [ + "component", + "extension", + "image", + "on-the-fly", + "resize", + "yii2" + ], + "time": "2016-11-29 18:17:37" + }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/ab8028c93c03cc8d9c824efa75dc94f1db2369bf", + "reference": "ab8028c93c03cc8d9c824efa75dc94f1db2369bf", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "~4.0", + "sami/sami": "~2.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." + }, + "type": "library", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ], + "time": "2016-10-04 00:57:04" + }, + { + "name": "psr/cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "time": "2016-08-06 20:24:11" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/noam148/yii2-image-manager/zipball/fa1b8d9c405dec2404065d472105b77e783880ed", - "reference": "fa1b8d9c405dec2404065d472105b77e783880ed", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, "require": { - "kartik-v/yii2-widget-fileinput": "@dev", - "noam148/yii2-image-resize": "*", - "yiisoft/yii2": "*" + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } }, - "type": "yii2-extension", "autoload": { "psr-4": { - "noam148\\imagemanager\\": "" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Noam148", - "homepage": "https://github.com/noam148/" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A Yii2 module/widget for upload and cropping images", - "homepage": "https://github.com/noam148/yii2-image-manager", + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ - "crop", - "extension", - "image", - "manager", - "module", - "upload", - "widget", - "yii2" + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" ], - "time": "2017-02-23 14:49:07" + "time": "2016-08-06 14:39:51" }, { - "name": "noam148/yii2-image-resize", - "version": "1.0.1", + "name": "psr/log", + "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/noam148/yii2-image-resize.git", - "reference": "75796bdbe9bd66e23f8aff9d44ab431936a5a15e" + "url": "https://github.com/php-fig/log.git", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/noam148/yii2-image-resize/zipball/75796bdbe9bd66e23f8aff9d44ab431936a5a15e", - "reference": "75796bdbe9bd66e23f8aff9d44ab431936a5a15e", + "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", "shasum": "" }, "require": { - "yiisoft/yii2": "*", - "yiisoft/yii2-imagine": "*" + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } }, - "type": "yii2-extension", "autoload": { "psr-4": { - "noam148\\imageresize\\": "" + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Noam148", - "homepage": "https://github.com/noam148/" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A Yii2 component for resizing images (on the fly)", - "homepage": "https://github.com/noam148/yii2-image-resize", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "component", - "extension", - "image", - "on-the-fly", - "resize", - "yii2" + "log", + "psr", + "psr-3" ], - "time": "2016-11-29 18:17:37" + "time": "2016-10-10 12:19:37" }, { "name": "rmrevin/yii2-fontawesome", @@ -1987,71 +2662,6 @@ "time": "2016-04-29 12:21:54" }, { - "name": "guzzlehttp/psr7", - "version": "1.4.2", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0" - }, - "provide": { - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "request", - "response", - "stream", - "uri", - "url" - ], - "time": "2017-03-20 17:10:46" - }, - { "name": "myclabs/deep-copy", "version": "1.6.0", "source": { @@ -2731,103 +3341,6 @@ "time": "2016-12-08 20:27:08" }, { - "name": "psr/http-message", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "time": "2016-08-06 14:39:51" - }, - { - "name": "psr/log", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2016-10-10 12:19:37" - }, - { "name": "sebastian/code-unit-reverse-lookup", "version": "1.0.1", "source": { -- libgit2 0.21.4