diff --git a/.travis/my.cnf b/.travis/my.cnf index ca3f29de..d7bf9c30 100644 --- a/.travis/my.cnf +++ b/.travis/my.cnf @@ -4,6 +4,7 @@ password=root host=localhost [mysqld] +user=nshahzad sql_mode="NO_ENGINE_SUBSTITUTION" innodb_file_per_table = OFF show_compatibility_56=ON diff --git a/Procfile b/Procfile index 38128ec6..e37f7486 100644 --- a/Procfile +++ b/Procfile @@ -1,5 +1,5 @@ dnsmasq: /usr/local/sbin/dnsmasq --keep-in-foreground php-fpm: /usr/local/sbin/php-fpm --nodaemonize -nginx: /usr/local/bin/nginx +nginx: /usr/local/bin/nginx -g 'daemon off;' #mysql: /usr/local/bin/mysqld #mailhog: /usr/local/bin/mailhog diff --git a/composer.json b/composer.json index 3bea806f..98b74503 100755 --- a/composer.json +++ b/composer.json @@ -46,7 +46,10 @@ "laracasts/flash": "3.0.2", "arrilot/laravel-widgets": "3.9.0", "nabeel/vacentral": "dev-master", - "league/iso3166": "^2.1" + "league/iso3166": "^2.1", + "google/apiclient": "^2.0", + "theiconic/php-ga-measurement-protocol": "^2.0", + "irazasyed/laravel-gamp": "^1.3" }, "require-dev": { "phpunit/phpunit": "6.4.0", diff --git a/composer.lock b/composer.lock index c3620a0e..e62be230 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "de8ae040d894b5ff07a2c82ca3f7f1ac", + "content-hash": "6778fdaa04275c7824a22188522f844c", "packages": [ { "name": "arrilot/laravel-widgets", @@ -876,6 +876,195 @@ ], "time": "2017-11-14T20:44:03+00:00" }, + { + "name": "firebase/php-jwt", + "version": "v5.0.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", + "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": " 4.8.35" + }, + "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": "2017-06-27T22:17:23+00:00" + }, + { + "name": "google/apiclient", + "version": "v2.2.1", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client.git", + "reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client/zipball/b69b8ac4bf6501793c389d4e013a79d09c85c5f2", + "reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0", + "google/apiclient-services": "~0.13", + "google/auth": "^1.0", + "guzzlehttp/guzzle": "~5.3.1|~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-11-03T01:19:53+00:00" + }, + { + "name": "google/apiclient-services", + "version": "v0.42", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client-services.git", + "reference": "873421bf7cd0cab613da792124db04e203ff196b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/873421bf7cd0cab613da792124db04e203ff196b", + "reference": "873421bf7cd0cab613da792124db04e203ff196b", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "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": "2018-01-13T00:23:28+00:00" + }, + { + "name": "google/auth", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/google/google-auth-library-php.git", + "reference": "f3fc99fd621f339ee3d4de01bd6a709ed1396116" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/f3fc99fd621f339ee3d4de01bd6a709ed1396116", + "reference": "f3fc99fd621f339ee3d4de01bd6a709ed1396116", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0", + "guzzlehttp/guzzle": "~5.3.1|~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", + "guzzlehttp/promises": "0.1.1|^1.3", + "phpunit/phpunit": "^4.8.36", + "sebastian/comparator": ">=1.2.3" + }, + "type": "library", + "autoload": { + "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": "2017-12-06T21:27:53+00:00" + }, { "name": "guzzlehttp/guzzle", "version": "6.3.0", @@ -1168,6 +1357,70 @@ ], "time": "2014-12-15T23:03:51+00:00" }, + { + "name": "irazasyed/laravel-gamp", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/irazasyed/laravel-gamp.git", + "reference": "4596c2fe40cc5624c7058a744898bf5c5d76e861" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/irazasyed/laravel-gamp/zipball/4596c2fe40cc5624c7058a744898bf5c5d76e861", + "reference": "4596c2fe40cc5624c7058a744898bf5c5d76e861", + "shasum": "" + }, + "require": { + "illuminate/support": "~5.0", + "php": ">=5.6.4", + "theiconic/php-ga-measurement-protocol": "^2.0" + }, + "suggest": { + "irazasyed/larasupport": "Adds Package Support in Lumen, Lets you install any Laravel Package." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "laravel": { + "providers": [ + "Irazasyed\\LaravelGAMP\\LaravelGAMPServiceProvider" + ], + "aliases": { + "GAMP": "Irazasyed\\LaravelGAMP\\Facades\\GAMP" + } + } + }, + "autoload": { + "psr-4": { + "Irazasyed\\LaravelGAMP\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Syed Irfaq R.", + "email": "syed+gh@lukonet.com", + "homepage": "https://github.com/irazasyed" + } + ], + "description": "Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API", + "keywords": [ + "analytics", + "ga measurement protocol", + "google analytics", + "laravel google analytics", + "lumen google analytics", + "measurement protocol", + "tracking" + ], + "time": "2017-10-18T14:29:48+00:00" + }, { "name": "jackiedo/timezonelist", "version": "5.0.1", @@ -2366,6 +2619,98 @@ ], "time": "2016-01-26T13:27:02+00:00" }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.9", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "c9a3fe35e20eb6eeaca716d6a23cde03f52d1558" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/c9a3fe35e20eb6eeaca716d6a23cde03f52d1558", + "reference": "c9a3fe35e20eb6eeaca716d6a23cde03f52d1558", + "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": "2017-11-29T06:38:08+00:00" + }, { "name": "pragmarx/version", "version": "v0.2.3", @@ -2592,6 +2937,52 @@ ], "time": "2017-08-28T23:28:32+00:00" }, + { + "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-06T20:24:11+00:00" + }, { "name": "psr/container", "version": "1.0.0", @@ -4541,6 +4932,47 @@ "homepage": "https://symfony.com", "time": "2018-01-03T07:37:34+00:00" }, + { + "name": "theiconic/php-ga-measurement-protocol", + "version": "v2.7.1", + "source": { + "type": "git", + "url": "https://github.com/theiconic/php-ga-measurement-protocol.git", + "reference": "26c09a43a25235da85131c0fa060ec1fe2b2f16f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theiconic/php-ga-measurement-protocol/zipball/26c09a43a25235da85131c0fa060ec1fe2b2f16f", + "reference": "26c09a43a25235da85131c0fa060ec1fe2b2f16f", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^6.0", + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "4.7.*", + "satooshi/php-coveralls": "1.0.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "TheIconic\\Tracking\\GoogleAnalytics\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "THE ICONIC ENGINEERING TEAM", + "email": "engineering@theiconic.com.au" + } + ], + "description": "Send data to Google Analytics from the server using PHP. This library fully implements GA measurement protocol.", + "time": "2017-06-30T02:41:52+00:00" + }, { "name": "tijsverkoyen/css-to-inline-styles", "version": "2.2.1",