A free open source IT asset/license management system
First stab at a recrypter for legacy mcrypt conversion
snipe6a73ec6537dc
diff --git a/app/Console/Commands/RecryptFromMcrypt.php b/app/Console/Commands/RecryptFromMcrypt.phpnew file mode 100644index 0000000000..7d06535e81--- /dev/null+++ b/app/Console/Commands/RecryptFromMcrypt.php@@ -0,0 +1,150 @@+<?php++namespace App\Console\Commands;++use App\Models\CustomField;+use Illuminate\Console\Command;+use App\LegacyEncrypter\McryptEncrypter;+use App\Models\Setting;+use App\Models\Asset;+use Illuminate\Support\Facades\Storage;++class RecryptFromMcrypt extends Command+{+ /**+ * The name and signature of the console command.+ *+ * @var string+ */+ protected $signature = 'snipeit:legacy-recrypt';++ /**+ * The console command description.+ *+ * @var string+ */+ protected $description = 'This command allows upgrading users to de-encrypt their deprecated mcrypt encrypted fields and re-encrypt them using the current OpenSSL encryption.';++ /**+ * Create a new command instance.+ *+ * @return void+ */+ public function __construct()+ {+ parent::__construct();+ }++ /**+ * Execute the console command.+ *+ * @return mixed+ */+ public function handle()+ {+++ // Check and see if they have a legacy app key listed in their .env+ // If not, we can try to use the current APP_KEY if looks like it's old+ $legacy_key = env('LEGACY_APP_KEY');++ if (!$legacy_key) {+ $this->error('ERROR: You do not have a LEGACY_APP_KEY set in your .env file. Please locate your old APP_KEY and ADD a line to your .env file like: LEGACY_APP_KEY=YOUR_OLD_APP_KEY');+ return false;+ }++ // Check that the app key is 32 characters+ if (strlen($legacy_key) == 32) {+ $this->comment('INFO: Your LEGACY_APP_KEY is 32 characters. Okay to continue.');+ } else {+ $this->error('ERROR: Your LEGACY_APP_KEY is not the correct length (32 characters). Please locate your old APP_KEY and use that as your LEGACY_APP_KEY in your .env file to continue.');+ return false;+ }++ $this->error('================================!!!! WARNING !!!!================================');+ $this->error('================================!!!! WARNING !!!!================================');+ $this->comment("This tool will attempt to decrypt your old Snipe-IT (mcrypt, now deprecated) encrypted data and re-encrypt it using OpenSSL. \n\nYou should only continue if you have backed up any and all old APP_KEYs and have backed up your data.");++ if ($this->confirm("Are you SURE you wish to continue?")) {++ $backup_file = 'backups/env-backups/'.'app_key-'.date('Y-m-d-gis');++ try {+ Storage::disk('local')->put($backup_file, 'APP_KEY: '.config('app.key'));+ Storage::disk('local')->append($backup_file, 'LEGACY_APP_KEY: '.$legacy_key);+ } catch (\Exception $e) {+ $this->info('WARNING: Could not backup app keys');+ }+++ $mcrypter = new McryptEncrypter($legacy_key);+ $settings = Setting::getSettings();++ if ($settings->ldap_password=='') {+ $this->comment('INFO: No LDAP password found. Skipping... ');+ }++ $custom_fields = CustomField::where('field_encrypted','=', 1)->get();+ $this->comment('INFO: Retrieving encrypted custom fields...');++ $query = Asset::withTrashed();++ foreach ($custom_fields as $custom_field) {+ $this->comment('FIELD TO RECRYPT: '.$custom_field->name .' ('.$custom_field->db_column.')');+ $query->orWhereNotNull($custom_field->db_column);+ }+++ // Get all assets with a value in any of the fields that were encrypted+ $assets = $query->get();++ $bar = $this->output->createProgressBar(count($assets));++ foreach ($custom_fields as $encrypted_field) {++ // Try to decrypt the payload using the legacy app key+ try {+ $decrypted_field = $mcrypter->decrypt($encrypted_field);+ $this->comment($decrypted_field);+ } catch (\Exception $e) {+ $errors[] = ' - ERROR: Could not decrypt field ['.$encrypted_field->name.']: '.$e->getMessage();+ }+ $bar->advance();+ }+++ foreach ($assets as $asset) {+ foreach ($custom_fields as $encrypted_field) {++ // Make sure the value isn't null+ if ($asset->{$encrypted_field}!='') {+ // Try to decrypt the payload using the legacy app key+ try {+ $decrypted_field = $mcrypter->decrypt($asset->{$encrypted_field});+ $asset->{$encrypted_field} = \Crypt::encrypt($decrypted_field);+ $this->comment($decrypted_field);+ } catch (\Exception $e) {+ $errors[] = ' - ERROR: Could not decrypt field ['.$encrypted_field->name.']: '.$e->getMessage();+ }+ }++ }+ $asset->save();+ $bar->advance();+ }++++ $bar->finish();++ if (count($errors) > 0) {+ $this->comment("\n\n");+ $this->error("The decrypter encountered some errors: \n");+ foreach ($errors as $error) {+ $this->error($error);+ }+ }+ }++ }+}diff --git a/app/Console/Kernel.php b/app/Console/Kernel.phpindex 35385ce128..ca86a418eb 100644--- a/app/Console/Kernel.php+++ b/app/Console/Kernel.php@@ -23,7 +23,8 @@ class Kernel extends ConsoleKernelCommands\DisableLDAP::class,Commands\Purge::class,Commands\LdapSync::class,- Commands\FixDoubleEscape::class+ Commands\FixDoubleEscape::class,+ Commands\RecryptFromMcrypt::class];/**diff --git a/app/LegacyEncrypter/BaseEncrypter.php b/app/LegacyEncrypter/BaseEncrypter.phpnew file mode 100644index 0000000000..adc1e451d4--- /dev/null+++ b/app/LegacyEncrypter/BaseEncrypter.php@@ -0,0 +1,81 @@+<?php++namespace App\LegacyEncrypter;++use Illuminate\Contracts\Encryption\DecryptException;++abstract class BaseEncrypter+{+ /**+ * The encryption key.+ *+ * @var string+ */+ protected $key;++ /**+ * Create a MAC for the given value.+ *+ * @param string $iv+ * @param string $value+ * @return string+ */+ protected function hash($iv, $value)+ {+ return hash_hmac('sha256', $iv.$value, $this->key);+ }++ /**+ * Get the JSON array from the given payload.+ *+ * @param string $payload+ * @return array+ *+ * @throws \Illuminate\Contracts\Encryption\DecryptException+ */+ protected function getJsonPayload($payload)+ {+ $payload = json_decode(base64_decode($payload), true);++ // If the payload is not valid JSON or does not have the proper keys set we will+ // assume it is invalid and bail out of the routine since we will not be able+ // to decrypt the given value. We'll also check the MAC for this encryption.+ if (! $payload || $this->invalidPayload($payload)) {+ throw new DecryptException('The payload is invalid.');+ }++ if (! $this->validMac($payload)) {+ throw new DecryptException('The MAC is invalid.');+ }++ return $payload;+ }++ /**+ * Verify that the encryption payload is valid.+ *+ * @param array|mixed $data+ * @return bool+ */+ protected function invalidPayload($data)+ {+ return ! is_array($data) || ! isset($data['iv']) || ! isset($data['value']) || ! isset($data['mac']);+ }++ /**+ * Determine if the MAC for the given payload is valid.+ *+ * @param array $payload+ * @return bool+ *+ * @throws \RuntimeException+ */+ protected function validMac(array $payload)+ {+ $bytes = random_bytes(16);++ $calcMac = hash_hmac('sha256', $this->hash($payload['iv'], $payload['value']), $bytes, true);++ return hash_equals(hash_hmac('sha256', $payload['mac'], $bytes, true), $calcMac);+ }+}diff --git a/app/LegacyEncrypter/McryptEncrypter.php b/app/LegacyEncrypter/McryptEncrypter.phpnew file mode 100644index 0000000000..90e92bf4ef--- /dev/null+++ b/app/LegacyEncrypter/McryptEncrypter.php@@ -0,0 +1,214 @@+<?php++namespace App\LegacyEncrypter;++use Exception;+use RuntimeException;+use Illuminate\Contracts\Encryption\DecryptException;+use Illuminate\Contracts\Encryption\EncryptException;+use Illuminate\Contracts\Encryption\Encrypter as EncrypterContract;++/**+ * @deprecated since version 5.1. Use Illuminate\Encryption\Encrypter.+ */+class McryptEncrypter extends BaseEncrypter implements EncrypterContract+{+ /**+ * The algorithm used for encryption.+ *+ * @var string+ */+ protected $cipher;++ /**+ * The block size of the cipher.+ *+ * @var int+ */+ protected $block;++ /**+ * Create a new encrypter instance.+ *+ * @param string $key+ * @param string $cipher+ * @return void+ *+ * @throws \RuntimeException+ */+ public function __construct($key, $cipher = MCRYPT_RIJNDAEL_128)+ {+ $key = (string) $key;++ if (static::supported($key, $cipher)) {+ $this->key = $key;+ $this->cipher = $cipher;+ $this->block = mcrypt_get_iv_size($this->cipher, MCRYPT_MODE_CBC);+ } else {+ throw new RuntimeException('The only supported ciphers are MCRYPT_RIJNDAEL_128 and MCRYPT_RIJNDAEL_256.');+ }+ }++ /**+ * Determine if the given key and cipher combination is valid.+ *+ * @param string $key+ * @param string $cipher+ * @return bool+ */+ public static function supported($key, $cipher)+ {+ return defined('MCRYPT_RIJNDAEL_128') &&+ ($cipher === MCRYPT_RIJNDAEL_128 || $cipher === MCRYPT_RIJNDAEL_256);+ }++ /**+ * Encrypt the given value.+ *+ * @param string $value+ * @return string+ *+ * @throws \Illuminate\Contracts\Encryption\EncryptException+ */+ public function encrypt($value, $serialize = true)+ {+ $iv = mcrypt_create_iv($this->getIvSize(), $this->getRandomizer());++ $value = base64_encode($this->padAndMcrypt($value, $iv));++ // Once we have the encrypted value we will go ahead base64_encode the input+ // vector and create the MAC for the encrypted value so we can verify its+ // authenticity. Then, we'll JSON encode the data in a "payload" array.+ $mac = $this->hash($iv = base64_encode($iv), $value);++ $json = json_encode(compact('iv', 'value', 'mac'));++ if (! is_string($json)) {+ throw new EncryptException('Could not encrypt the data.');+ }++ return base64_encode($json);+ }++ /**+ * Pad and use mcrypt on the given value and input vector.+ *+ * @param string $value+ * @param string $iv+ * @return string+ */+ protected function padAndMcrypt($value, $iv)+ {+ $value = $this->addPadding(serialize($value));++ return mcrypt_encrypt($this->cipher, $this->key, $value, MCRYPT_MODE_CBC, $iv);+ }++ /**+ * Decrypt the given value.+ *+ * @param string $payload+ * @return string+ */+ public function decrypt($payload, $unserialize = true)+ {+ $payload = $this->getJsonPayload($payload);++ // We'll go ahead and remove the PKCS7 padding from the encrypted value before+ // we decrypt it. Once we have the de-padded value, we will grab the vector+ // and decrypt the data, passing back the unserialized from of the value.+ $value = base64_decode($payload['value']);++ $iv = base64_decode($payload['iv']);++ return unserialize($this->stripPadding($this->mcryptDecrypt($value, $iv)));+ }++ /**+ * Run the mcrypt decryption routine for the value.+ *+ * @param string $value+ * @param string $iv+ * @return string+ *+ * @throws \Illuminate\Contracts\Encryption\DecryptException+ */+ protected function mcryptDecrypt($value, $iv)+ {+ try {+ return mcrypt_decrypt($this->cipher, $this->key, $value, MCRYPT_MODE_CBC, $iv);+ } catch (Exception $e) {+ throw new DecryptException($e->getMessage());+ }+ }++ /**+ * Add PKCS7 padding to a given value.+ *+ * @param string $value+ * @return string+ */+ protected function addPadding($value)+ {+ $pad = $this->block - (strlen($value) % $this->block);++ return $value.str_repeat(chr($pad), $pad);+ }++ /**+ * Remove the padding from the given value.+ *+ * @param string $value+ * @return string+ */+ protected function stripPadding($value)+ {+ $pad = ord($value[($len = strlen($value)) - 1]);++ return $this->paddingIsValid($pad, $value) ? substr($value, 0, $len - $pad) : $value;+ }++ /**+ * Determine if the given padding for a value is valid.+ *+ * @param string $pad+ * @param string $value+ * @return bool+ */+ protected function paddingIsValid($pad, $value)+ {+ $beforePad = strlen($value) - $pad;++ return substr($value, $beforePad) == str_repeat(substr($value, -1), $pad);+ }++ /**+ * Get the IV size for the cipher.+ *+ * @return int+ */+ protected function getIvSize()+ {+ return mcrypt_get_iv_size($this->cipher, MCRYPT_MODE_CBC);+ }++ /**+ * Get the random data source available for the OS.+ *+ * @return int+ */+ protected function getRandomizer()+ {+ if (defined('MCRYPT_DEV_URANDOM')) {+ return MCRYPT_DEV_URANDOM;+ }++ if (defined('MCRYPT_DEV_RANDOM')) {+ return MCRYPT_DEV_RANDOM;+ }++ mt_srand();++ return MCRYPT_RAND;+ }+}diff --git a/composer.lock b/composer.lockindex 5606a7b008..9eb6dbeead 100644--- a/composer.lock+++ b/composer.lock@@ -8,16 +8,16 @@"packages": [{"name": "aws/aws-sdk-php",- "version": "3.30.3",+ "version": "3.33.4","source": {"type": "git","url": "https://github.com/aws/aws-sdk-php.git",- "reference": "2208af5a13082a0e5c1b7a8f4f7336a7e8805966"+ "reference": "586a9c0e52664cfc4d2d91f9dcdf3ea48d143162"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2208af5a13082a0e5c1b7a8f4f7336a7e8805966",- "reference": "2208af5a13082a0e5c1b7a8f4f7336a7e8805966",+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/586a9c0e52664cfc4d2d91f9dcdf3ea48d143162",+ "reference": "586a9c0e52664cfc4d2d91f9dcdf3ea48d143162","shasum": ""},"require": {@@ -84,7 +84,7 @@"s3","sdk"],- "time": "2017-06-27T22:53:36+00:00"+ "time": "2017-08-21T20:34:30+00:00"},{"name": "aws/aws-sdk-php-laravel",@@ -144,16 +144,16 @@},{"name": "barryvdh/laravel-debugbar",- "version": "v2.4.0",+ "version": "v2.4.3","source": {"type": "git","url": "https://github.com/barryvdh/laravel-debugbar.git",- "reference": "de15d00a74696db62e1b4782474c27ed0c4fc763"+ "reference": "d7c88f08131f6404cb714f3f6cf0642f6afa3903"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/de15d00a74696db62e1b4782474c27ed0c4fc763",- "reference": "de15d00a74696db62e1b4782474c27ed0c4fc763",+ "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/d7c88f08131f6404cb714f3f6cf0642f6afa3903",+ "reference": "d7c88f08131f6404cb714f3f6cf0642f6afa3903","shasum": ""},"require": {@@ -163,19 +163,6 @@"symfony/finder": "~2.7|~3.0"},"type": "library",- "extra": {- "branch-alias": {- "dev-master": "2.4-dev"- },- "laravel": {- "providers": [- "Barryvdh\\Debugbar\\ServiceProvider"- ],- "aliases": {- "Debugbar": "Barryvdh\\Debugbar\\Facade"- }- }- },"autoload": {"psr-4": {"Barryvdh\\Debugbar\\": "src/"@@ -202,7 +189,7 @@"profiler","webprofiler"],- "time": "2017-06-01T17:46:08+00:00"+ "time": "2017-07-21T11:56:48+00:00"},{"name": "christian-riesen/base32",@@ -258,6 +245,69 @@],"time": "2016-05-05T11:49:03+00:00"},+ {+ "name": "defuse/php-encryption",+ "version": "v2.1.0",+ "source": {+ "type": "git",+ "url": "https://github.com/defuse/php-encryption.git",+ "reference": "5176f5abb38d3ea8a6e3ac6cd3bbb54d8185a689"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/defuse/php-encryption/zipball/5176f5abb38d3ea8a6e3ac6cd3bbb54d8185a689",+ "reference": "5176f5abb38d3ea8a6e3ac6cd3bbb54d8185a689",+ "shasum": ""+ },+ "require": {+ "ext-openssl": "*",+ "paragonie/random_compat": "~2.0",+ "php": ">=5.4.0"+ },+ "require-dev": {+ "nikic/php-parser": "^2.0|^3.0",+ "phpunit/phpunit": "^4|^5"+ },+ "bin": [+ "bin/generate-defuse-key"+ ],+ "type": "library",+ "autoload": {+ "psr-4": {+ "Defuse\\Crypto\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Hornby",+ "email": "[email protected]",+ "homepage": "https://defuse.ca/"+ },+ {+ "name": "Scott Arciszewski",+ "email": "[email protected]",+ "homepage": "https://paragonie.com"+ }+ ],+ "description": "Secure PHP Encryption Library",+ "keywords": [+ "aes",+ "authenticated encryption",+ "cipher",+ "crypto",+ "cryptography",+ "encrypt",+ "encryption",+ "openssl",+ "security",+ "symmetric key cryptography"+ ],+ "time": "2017-05-18T21:28:48+00:00"+ },{"name": "dnoegel/php-xdg-base-dir","version": "0.1",@@ -361,16 +411,16 @@},{"name": "doctrine/cache",- "version": "v1.6.1",+ "version": "v1.6.2","source": {"type": "git","url": "https://github.com/doctrine/cache.git",- "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3"+ "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3",- "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3",+ "url": "https://api.github.com/repos/doctrine/cache/zipball/eb152c5100571c7a45470ff2a35095ab3f3b900b",+ "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b","shasum": ""},"require": {@@ -427,7 +477,7 @@"cache","caching"],- "time": "2016-10-29T11:16:17+00:00"+ "time": "2017-07-22T12:49:21+00:00"},{"name": "doctrine/collections",@@ -498,16 +548,16 @@},{"name": "doctrine/common",- "version": "v2.7.2",+ "version": "v2.7.3","source": {"type": "git","url": "https://github.com/doctrine/common.git",- "reference": "930297026c8009a567ac051fd545bf6124150347"+ "reference": "4acb8f89626baafede6ee5475bc5844096eba8a9"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/doctrine/common/zipball/930297026c8009a567ac051fd545bf6124150347",- "reference": "930297026c8009a567ac051fd545bf6124150347",+ "url": "https://api.github.com/repos/doctrine/common/zipball/4acb8f89626baafede6ee5475bc5844096eba8a9",+ "reference": "4acb8f89626baafede6ee5475bc5844096eba8a9","shasum": ""},"require": {@@ -567,7 +617,7 @@"persistence","spl"],- "time": "2017-01-13T14:02:13+00:00"+ "time": "2017-07-22T08:35:12+00:00"},{"name": "doctrine/dbal",@@ -637,33 +687,33 @@},{"name": "doctrine/inflector",- "version": "v1.1.0",+ "version": "v1.2.0","source": {"type": "git","url": "https://github.com/doctrine/inflector.git",- "reference": "90b2128806bfde671b6952ab8bea493942c1fdae"+ "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae",- "reference": "90b2128806bfde671b6952ab8bea493942c1fdae",+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462",+ "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462","shasum": ""},"require": {- "php": ">=5.3.2"+ "php": "^7.0"},"require-dev": {- "phpunit/phpunit": "4.*"+ "phpunit/phpunit": "^6.2"},"type": "library","extra": {"branch-alias": {- "dev-master": "1.1.x-dev"+ "dev-master": "1.2.x-dev"}},"autoload": {- "psr-0": {- "Doctrine\\Common\\Inflector\\": "lib/"+ "psr-4": {+ "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"}},"notification-url": "https://packagist.org/downloads/",@@ -700,7 +750,7 @@"singularize","string"],- "time": "2015-11-06T14:35:42+00:00"+ "time": "2017-07-22T12:18:28+00:00"},{"name": "doctrine/lexer",@@ -758,16 +808,16 @@},{"name": "erusev/parsedown",- "version": "1.6.2",+ "version": "1.6.3","source": {"type": "git","url": "https://github.com/erusev/parsedown.git",- "reference": "1bf24f7334fe16c88bf9d467863309ceaf285b01"+ "reference": "728952b90a333b5c6f77f06ea9422b94b585878d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/erusev/parsedown/zipball/1bf24f7334fe16c88bf9d467863309ceaf285b01",- "reference": "1bf24f7334fe16c88bf9d467863309ceaf285b01",+ "url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d",+ "reference": "728952b90a333b5c6f77f06ea9422b94b585878d","shasum": ""},"require": {@@ -796,20 +846,20 @@"markdown","parser"],- "time": "2017-03-29T16:04:15+00:00"+ "time": "2017-05-14T14:47:48+00:00"},{"name": "fideloper/proxy",- "version": "3.3.3",+ "version": "3.3.4","source": {"type": "git","url": "https://github.com/fideloper/TrustedProxy.git",- "reference": "985eac8f966c03b4d9503cad9b5e5a51d41ce477"+ "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/985eac8f966c03b4d9503cad9b5e5a51d41ce477",- "reference": "985eac8f966c03b4d9503cad9b5e5a51d41ce477",+ "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f",+ "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f","shasum": ""},"require": {@@ -825,6 +875,11 @@"extra": {"branch-alias": {"dev-master": "3.3-dev"+ },+ "laravel": {+ "providers": [+ "Fideloper\\Proxy\\TrustedProxyServiceProvider"+ ]}},"autoload": {@@ -848,7 +903,7 @@"proxy","trusted proxy"],- "time": "2017-05-31T12:50:41+00:00"+ "time": "2017-06-15T17:19:42+00:00"},{"name": "firebase/php-jwt",@@ -1076,16 +1131,16 @@},{"name": "intervention/image",- "version": "2.3.13",+ "version": "2.4.0","source": {"type": "git","url": "https://github.com/Intervention/image.git",- "reference": "15a517f052ee15d373ffa145c9642d5fec7ddf5c"+ "reference": "322a4ade249467179c50a3e50eda8760ff3af2a3"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/Intervention/image/zipball/15a517f052ee15d373ffa145c9642d5fec7ddf5c",- "reference": "15a517f052ee15d373ffa145c9642d5fec7ddf5c",+ "url": "https://api.github.com/repos/Intervention/image/zipball/322a4ade249467179c50a3e50eda8760ff3af2a3",+ "reference": "322a4ade249467179c50a3e50eda8760ff3af2a3","shasum": ""},"require": {@@ -1095,7 +1150,7 @@},"require-dev": {"mockery/mockery": "~0.9.2",- "phpunit/phpunit": "3.*"+ "phpunit/phpunit": "^4.8 || ^5.7"},"suggest": {"ext-gd": "to use GD library based image processing.",@@ -1106,6 +1161,14 @@"extra": {"branch-alias": {"dev-master": "2.3-dev"+ },+ "laravel": {+ "providers": [+ "Intervention\\Image\\ImageServiceProvider"+ ],+ "aliases": {+ "Image": "Intervention\\Image\\Facades\\Image"+ }}},"autoload": {@@ -1120,8 +1183,8 @@"authors": [{"name": "Oliver Vogel",- "email": "[email protected]",- "homepage": "http://olivervogel.net/"+ "email": "[email protected]",+ "homepage": "http://olivervogel.com/"}],"description": "Image handling and manipulation library with support for Laravel integration",@@ -1134,7 +1197,7 @@"thumbnail","watermark"],- "time": "2017-04-23T18:45:36+00:00"+ "time": "2017-07-03T15:50:40+00:00"},{"name": "jakub-onderka/php-console-color",@@ -1384,16 +1447,16 @@},{"name": "laravel/passport",- "version": "v1.0.17",+ "version": "v1.0.18","source": {"type": "git","url": "https://github.com/laravel/passport.git",- "reference": "f2a8af3a48adac02288779f59de95f46fef69b7a"+ "reference": "f4ec49664be83f2a641cbfbb6d43cfb79f4aa95e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/passport/zipball/f2a8af3a48adac02288779f59de95f46fef69b7a",- "reference": "f2a8af3a48adac02288779f59de95f46fef69b7a",+ "url": "https://api.github.com/repos/laravel/passport/zipball/f4ec49664be83f2a641cbfbb6d43cfb79f4aa95e",+ "reference": "f4ec49664be83f2a641cbfbb6d43cfb79f4aa95e","shasum": ""},"require": {@@ -1444,20 +1507,20 @@"oauth","passport"],- "time": "2016-12-21T13:51:02+00:00"+ "time": "2017-07-12T20:03:53+00:00"},{"name": "laravel/tinker",- "version": "v1.0.1",+ "version": "v1.0.2","source": {"type": "git","url": "https://github.com/laravel/tinker.git",- "reference": "7eb2e281395131897407285672ef5532e87e17f9"+ "reference": "203978fd67f118902acff95925847e70b72e3daf"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/tinker/zipball/7eb2e281395131897407285672ef5532e87e17f9",- "reference": "7eb2e281395131897407285672ef5532e87e17f9",+ "url": "https://api.github.com/repos/laravel/tinker/zipball/203978fd67f118902acff95925847e70b72e3daf",+ "reference": "203978fd67f118902acff95925847e70b72e3daf","shasum": ""},"require": {@@ -1507,7 +1570,7 @@"laravel","psysh"],- "time": "2017-06-01T16:31:26+00:00"+ "time": "2017-07-13T13:11:05+00:00"},{"name": "laravelcollective/html",@@ -1623,16 +1686,16 @@},{"name": "league/csv",- "version": "8.2.1",+ "version": "8.2.2","source": {"type": "git","url": "https://github.com/thephpleague/csv.git",- "reference": "43fd8b022815a0758d85e925dd92a43fe0d41bb4"+ "reference": "fa8bc05f64eb6c66b96edfaf60648f022ecb5f55"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/csv/zipball/43fd8b022815a0758d85e925dd92a43fe0d41bb4",- "reference": "43fd8b022815a0758d85e925dd92a43fe0d41bb4",+ "url": "https://api.github.com/repos/thephpleague/csv/zipball/fa8bc05f64eb6c66b96edfaf60648f022ecb5f55",+ "reference": "fa8bc05f64eb6c66b96edfaf60648f022ecb5f55","shasum": ""},"require": {@@ -1676,7 +1739,7 @@"read","write"],- "time": "2017-02-23T08:25:03+00:00"+ "time": "2017-07-12T07:18:20+00:00"},{"name": "league/event",@@ -1730,16 +1793,16 @@},{"name": "league/flysystem",- "version": "1.0.40",+ "version": "1.0.41","source": {"type": "git","url": "https://github.com/thephpleague/flysystem.git",- "reference": "3828f0b24e2c1918bb362d57a53205d6dc8fde61"+ "reference": "f400aa98912c561ba625ea4065031b7a41e5a155"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3828f0b24e2c1918bb362d57a53205d6dc8fde61",- "reference": "3828f0b24e2c1918bb362d57a53205d6dc8fde61",+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f400aa98912c561ba625ea4065031b7a41e5a155",+ "reference": "f400aa98912c561ba625ea4065031b7a41e5a155","shasum": ""},"require": {@@ -1760,13 +1823,13 @@"league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3","league/flysystem-azure": "Allows you to use Windows Azure Blob storage","league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching",- "league/flysystem-copy": "Allows you to use Copy.com storage","league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem","league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files","league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib","league/flysystem-webdav": "Allows you to use WebDAV storage","league/flysystem-ziparchive": "Allows you to use ZipArchive adapter",- "spatie/flysystem-dropbox": "Allows you to use Dropbox storage"+ "spatie/flysystem-dropbox": "Allows you to use Dropbox storage",+ "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications"},"type": "library","extra": {@@ -1809,27 +1872,28 @@"sftp","storage"],- "time": "2017-04-28T10:15:08+00:00"+ "time": "2017-08-06T17:41:04+00:00"},{"name": "league/oauth2-server",- "version": "5.1.3",+ "version": "5.1.5","source": {"type": "git","url": "https://github.com/thephpleague/oauth2-server.git",- "reference": "f78dc2eca0774ec3958bbcf9b2a23d5ae61fb5aa"+ "reference": "8e5df6d6286d0010861a708b70f00345d074bce9"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/f78dc2eca0774ec3958bbcf9b2a23d5ae61fb5aa",- "reference": "f78dc2eca0774ec3958bbcf9b2a23d5ae61fb5aa",+ "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/8e5df6d6286d0010861a708b70f00345d074bce9",+ "reference": "8e5df6d6286d0010861a708b70f00345d074bce9","shasum": ""},"require": {+ "defuse/php-encryption": "^2.1","ext-openssl": "*","lcobucci/jwt": "^3.1","league/event": "^2.1",- "paragonie/random_compat": "^1.1 || ^2.0",+ "paragonie/random_compat": "^2.0","php": ">=5.5.9","psr/http-message": "^1.0"},@@ -1885,7 +1949,7 @@"secure","server"],- "time": "2016-10-12T14:08:15+00:00"+ "time": "2017-07-11T06:31:36+00:00"},{"name": "maknz/slack",@@ -2263,16 +2327,16 @@},{"name": "nikic/php-parser",- "version": "v3.0.5",+ "version": "v3.1.0","source": {"type": "git","url": "https://github.com/nikic/PHP-Parser.git",- "reference": "2b9e2f71b722f7c53918ab0c25f7646c2013f17d"+ "reference": "4d4896e553f2094e657fe493506dc37c509d4e2b"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/2b9e2f71b722f7c53918ab0c25f7646c2013f17d",- "reference": "2b9e2f71b722f7c53918ab0c25f7646c2013f17d",+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4d4896e553f2094e657fe493506dc37c509d4e2b",+ "reference": "4d4896e553f2094e657fe493506dc37c509d4e2b","shasum": ""},"require": {@@ -2310,7 +2374,7 @@"parser","php"],- "time": "2017-03-05T18:23:57+00:00"+ "time": "2017-07-28T14:45:09+00:00"},{"name": "paragonie/random_compat",@@ -2671,16 +2735,16 @@},{"name": "psy/psysh",- "version": "v0.8.8",+ "version": "v0.8.11","source": {"type": "git","url": "https://github.com/bobthecow/psysh.git",- "reference": "fe65c30cbc55c71e61ba3a38b5a581149be31b8e"+ "reference": "b193cd020e8c6b66cea6457826ae005e94e6d2c0"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/fe65c30cbc55c71e61ba3a38b5a581149be31b8e",- "reference": "fe65c30cbc55c71e61ba3a38b5a581149be31b8e",+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/b193cd020e8c6b66cea6457826ae005e94e6d2c0",+ "reference": "b193cd020e8c6b66cea6457826ae005e94e6d2c0","shasum": ""},"require": {@@ -2740,20 +2804,20 @@"interactive","shell"],- "time": "2017-06-24T06:16:19+00:00"+ "time": "2017-07-29T19:30:02+00:00"},{"name": "ramsey/uuid",- "version": "3.6.1",+ "version": "3.7.0","source": {"type": "git","url": "https://github.com/ramsey/uuid.git",- "reference": "4ae32dd9ab8860a4bbd750ad269cba7f06f7934e"+ "reference": "0ef23d1b10cf1bc576e9d865a7e9c47982c5715e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/ramsey/uuid/zipball/4ae32dd9ab8860a4bbd750ad269cba7f06f7934e",- "reference": "4ae32dd9ab8860a4bbd750ad269cba7f06f7934e",+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/0ef23d1b10cf1bc576e9d865a7e9c47982c5715e",+ "reference": "0ef23d1b10cf1bc576e9d865a7e9c47982c5715e","shasum": ""},"require": {@@ -2822,7 +2886,7 @@"identifier","uuid"],- "time": "2017-03-26T20:37:53+00:00"+ "time": "2017-08-04T13:39:04+00:00"},{"name": "spatie/db-dumper",@@ -2993,16 +3057,16 @@},{"name": "symfony/console",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/console.git",- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e"+ "reference": "b0878233cb5c4391347e5495089c7af11b8e6201"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/console/zipball/70d2a29b2911cbdc91a7e268046c395278238b2e",- "reference": "70d2a29b2911cbdc91a7e268046c395278238b2e",+ "url": "https://api.github.com/repos/symfony/console/zipball/b0878233cb5c4391347e5495089c7af11b8e6201",+ "reference": "b0878233cb5c4391347e5495089c7af11b8e6201","shasum": ""},"require": {@@ -3058,7 +3122,7 @@],"description": "Symfony Console Component","homepage": "https://symfony.com",- "time": "2017-06-02T19:24:58+00:00"+ "time": "2017-07-29T21:27:59+00:00"},{"name": "symfony/css-selector",@@ -3115,16 +3179,16 @@},{"name": "symfony/debug",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/debug.git",- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d"+ "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/debug/zipball/e9c50482841ef696e8fa1470d950a79c8921f45d",- "reference": "e9c50482841ef696e8fa1470d950a79c8921f45d",+ "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13",+ "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13","shasum": ""},"require": {@@ -3167,20 +3231,20 @@],"description": "Symfony Debug Component","homepage": "https://symfony.com",- "time": "2017-06-01T21:01:25+00:00"+ "time": "2017-07-28T15:27:31+00:00"},{"name": "symfony/event-dispatcher",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/event-dispatcher.git",- "reference": "4054a102470665451108f9b59305c79176ef98f0"+ "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4054a102470665451108f9b59305c79176ef98f0",- "reference": "4054a102470665451108f9b59305c79176ef98f0",+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67535f1e3fd662bdc68d7ba317c93eecd973617e",+ "reference": "67535f1e3fd662bdc68d7ba317c93eecd973617e","shasum": ""},"require": {@@ -3230,11 +3294,11 @@],"description": "Symfony EventDispatcher Component","homepage": "https://symfony.com",- "time": "2017-06-04T18:15:29+00:00"+ "time": "2017-06-09T14:53:08+00:00"},{"name": "symfony/finder",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/finder.git",@@ -3283,16 +3347,16 @@},{"name": "symfony/http-foundation",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/http-foundation.git",- "reference": "80eb5a1f968448b77da9e8b2c0827f6e8d767846"+ "reference": "49e8cd2d59a7aa9bfab19e46de680c76e500a031"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/80eb5a1f968448b77da9e8b2c0827f6e8d767846",- "reference": "80eb5a1f968448b77da9e8b2c0827f6e8d767846",+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49e8cd2d59a7aa9bfab19e46de680c76e500a031",+ "reference": "49e8cd2d59a7aa9bfab19e46de680c76e500a031","shasum": ""},"require": {@@ -3332,20 +3396,20 @@],"description": "Symfony HttpFoundation Component","homepage": "https://symfony.com",- "time": "2017-06-05T13:06:51+00:00"+ "time": "2017-07-21T11:04:46+00:00"},{"name": "symfony/http-kernel",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/http-kernel.git",- "reference": "be8280f7fa8e95b86514f1e1be997668a53b2888"+ "reference": "db10d05f1d95e4168e638db7a81c79616f568ea5"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/be8280f7fa8e95b86514f1e1be997668a53b2888",- "reference": "be8280f7fa8e95b86514f1e1be997668a53b2888",+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/db10d05f1d95e4168e638db7a81c79616f568ea5",+ "reference": "db10d05f1d95e4168e638db7a81c79616f568ea5","shasum": ""},"require": {@@ -3418,20 +3482,20 @@],"description": "Symfony HttpKernel Component","homepage": "https://symfony.com",- "time": "2017-06-06T03:59:58+00:00"+ "time": "2017-08-01T10:25:59+00:00"},{"name": "symfony/polyfill-mbstring",- "version": "v1.4.0",+ "version": "v1.5.0","source": {"type": "git","url": "https://github.com/symfony/polyfill-mbstring.git",- "reference": "f29dca382a6485c3cbe6379f0c61230167681937"+ "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937",- "reference": "f29dca382a6485c3cbe6379f0c61230167681937",+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803",+ "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803","shasum": ""},"require": {@@ -3443,7 +3507,7 @@"type": "library","extra": {"branch-alias": {- "dev-master": "1.4-dev"+ "dev-master": "1.5-dev"}},"autoload": {@@ -3477,20 +3541,20 @@"portable","shim"],- "time": "2017-06-09T14:24:12+00:00"+ "time": "2017-06-14T15:44:48+00:00"},{"name": "symfony/polyfill-php56",- "version": "v1.4.0",+ "version": "v1.5.0","source": {"type": "git","url": "https://github.com/symfony/polyfill-php56.git",- "reference": "bc0b7d6cb36b10cfabb170a3e359944a95174929"+ "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/bc0b7d6cb36b10cfabb170a3e359944a95174929",- "reference": "bc0b7d6cb36b10cfabb170a3e359944a95174929",+ "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/e85ebdef569b84e8709864e1a290c40f156b30ca",+ "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca","shasum": ""},"require": {@@ -3500,7 +3564,7 @@"type": "library","extra": {"branch-alias": {- "dev-master": "1.4-dev"+ "dev-master": "1.5-dev"}},"autoload": {@@ -3533,20 +3597,20 @@"portable","shim"],- "time": "2017-06-09T08:25:21+00:00"+ "time": "2017-06-14T15:44:48+00:00"},{"name": "symfony/polyfill-util",- "version": "v1.4.0",+ "version": "v1.5.0","source": {"type": "git","url": "https://github.com/symfony/polyfill-util.git",- "reference": "ebccbde4aad410f6438d86d7d261c6b4d2b9a51d"+ "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/ebccbde4aad410f6438d86d7d261c6b4d2b9a51d",- "reference": "ebccbde4aad410f6438d86d7d261c6b4d2b9a51d",+ "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/67925d1cf0b84bd234a83bebf26d4eb281744c6d",+ "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d","shasum": ""},"require": {@@ -3555,7 +3619,7 @@"type": "library","extra": {"branch-alias": {- "dev-master": "1.4-dev"+ "dev-master": "1.5-dev"}},"autoload": {@@ -3585,20 +3649,20 @@"polyfill","shim"],- "time": "2017-06-09T08:25:21+00:00"+ "time": "2017-07-05T15:09:33+00:00"},{"name": "symfony/process",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/process.git",- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf"+ "reference": "07432804942b9f6dd7b7377faf9920af5f95d70a"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/process/zipball/8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",- "reference": "8e30690c67aafb6c7992d6d8eb0d707807dd3eaf",+ "url": "https://api.github.com/repos/symfony/process/zipball/07432804942b9f6dd7b7377faf9920af5f95d70a",+ "reference": "07432804942b9f6dd7b7377faf9920af5f95d70a","shasum": ""},"require": {@@ -3634,7 +3698,7 @@],"description": "Symfony Process Component","homepage": "https://symfony.com",- "time": "2017-05-22T12:32:03+00:00"+ "time": "2017-07-13T13:05:09+00:00"},{"name": "symfony/psr-http-message-bridge",@@ -3698,16 +3762,16 @@},{"name": "symfony/routing",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/routing.git",- "reference": "39804eeafea5cca851946e1eed122eb94459fdb4"+ "reference": "4aee1a917fd4859ff8b51b9fd1dfb790a5ecfa26"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/routing/zipball/39804eeafea5cca851946e1eed122eb94459fdb4",- "reference": "39804eeafea5cca851946e1eed122eb94459fdb4",+ "url": "https://api.github.com/repos/symfony/routing/zipball/4aee1a917fd4859ff8b51b9fd1dfb790a5ecfa26",+ "reference": "4aee1a917fd4859ff8b51b9fd1dfb790a5ecfa26","shasum": ""},"require": {@@ -3772,20 +3836,20 @@"uri","url"],- "time": "2017-06-02T09:51:43+00:00"+ "time": "2017-07-21T17:43:13+00:00"},{"name": "symfony/translation",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/translation.git",- "reference": "dc3b2a0c6cfff60327ba1c043a82092735397543"+ "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/translation/zipball/dc3b2a0c6cfff60327ba1c043a82092735397543",- "reference": "dc3b2a0c6cfff60327ba1c043a82092735397543",+ "url": "https://api.github.com/repos/symfony/translation/zipball/35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3",+ "reference": "35dd5fb003c90e8bd4d8cabdf94bf9c96d06fdc3","shasum": ""},"require": {@@ -3837,20 +3901,20 @@],"description": "Symfony Translation Component","homepage": "https://symfony.com",- "time": "2017-05-22T07:42:36+00:00"+ "time": "2017-06-24T16:45:30+00:00"},{"name": "symfony/var-dumper",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/var-dumper.git",- "reference": "347c4247a3e40018810b476fcd5dec36d46d08dc"+ "reference": "b2623bccb969ad595c2090f9be498b74670d0663"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/347c4247a3e40018810b476fcd5dec36d46d08dc",- "reference": "347c4247a3e40018810b476fcd5dec36d46d08dc",+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b2623bccb969ad595c2090f9be498b74670d0663",+ "reference": "b2623bccb969ad595c2090f9be498b74670d0663","shasum": ""},"require": {@@ -3905,7 +3969,7 @@"debug","dump"],- "time": "2017-06-02T09:10:29+00:00"+ "time": "2017-07-28T06:06:09+00:00"},{"name": "tecnickcom/tc-lib-barcode",@@ -4209,16 +4273,16 @@},{"name": "zendframework/zend-diactoros",- "version": "1.4.0",+ "version": "1.4.1","source": {"type": "git","url": "https://github.com/zendframework/zend-diactoros.git",- "reference": "b03f285a333f51e58c95cce54109a4a9ed691436"+ "reference": "424a840dc3bedcdeea510b42e056c77c2d6c4bef"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/b03f285a333f51e58c95cce54109a4a9ed691436",- "reference": "b03f285a333f51e58c95cce54109a4a9ed691436",+ "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/424a840dc3bedcdeea510b42e056c77c2d6c4bef",+ "reference": "424a840dc3bedcdeea510b42e056c77c2d6c4bef","shasum": ""},"require": {@@ -4257,7 +4321,7 @@"psr","psr-7"],- "time": "2017-04-06T16:18:34+00:00"+ "time": "2017-08-17T21:21:00+00:00"}],"packages-dev": [@@ -4520,29 +4584,31 @@},{"name": "fzaninotto/faker",- "version": "v1.6.0",+ "version": "v1.7.1","source": {"type": "git","url": "https://github.com/fzaninotto/Faker.git",- "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123"+ "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/44f9a286a04b80c76a4e5fb7aad8bb539b920123",- "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123",+ "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d",+ "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d","shasum": ""},"require": {- "php": "^5.3.3|^7.0"+ "php": "^5.3.3 || ^7.0"},"require-dev": {"ext-intl": "*",- "phpunit/phpunit": "~4.0",- "squizlabs/php_codesniffer": "~1.5"+ "phpunit/phpunit": "^4.0 || ^5.0",+ "squizlabs/php_codesniffer": "^1.5"},"type": "library","extra": {- "branch-alias": []+ "branch-alias": {+ "dev-master": "1.8-dev"+ }},"autoload": {"psr-4": {@@ -4564,7 +4630,7 @@"faker","fixtures"],- "time": "2016-04-29T12:21:54+00:00"+ "time": "2017-08-15T16:48:10+00:00"},{"name": "myclabs/deep-copy",@@ -4664,22 +4730,22 @@},{"name": "phpdocumentor/reflection-docblock",- "version": "3.1.1",+ "version": "3.2.2","source": {"type": "git","url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"+ "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",- "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/4aada1f93c72c35e22fb1383b47fee43b8f1d157",+ "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157","shasum": ""},"require": {"php": ">=5.5","phpdocumentor/reflection-common": "^1.0@dev",- "phpdocumentor/type-resolver": "^0.2.0",+ "phpdocumentor/type-resolver": "^0.3.0","webmozart/assert": "^1.0"},"require-dev": {@@ -4705,24 +4771,24 @@}],"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",- "time": "2016-09-30T07:12:33+00:00"+ "time": "2017-08-08T06:39:58+00:00"},{"name": "phpdocumentor/type-resolver",- "version": "0.2.1",+ "version": "0.3.0","source": {"type": "git","url": "https://github.com/phpDocumentor/TypeResolver.git",- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"+ "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",- "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fb3933512008d8162b3cdf9e18dba9309b7c3773",+ "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773","shasum": ""},"require": {- "php": ">=5.5",+ "php": "^5.5 || ^7.0","phpdocumentor/reflection-common": "^1.0"},"require-dev": {@@ -4752,7 +4818,7 @@"email": "[email protected]"}],- "time": "2016-11-25T06:54:22+00:00"+ "time": "2017-06-03T08:32:36+00:00"},{"name": "phpspec/prophecy",@@ -5019,29 +5085,29 @@},{"name": "phpunit/php-token-stream",- "version": "1.4.11",+ "version": "2.0.1","source": {"type": "git","url": "https://github.com/sebastianbergmann/php-token-stream.git",- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"+ "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",- "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/9a02332089ac48e704c70f6cefed30c224e3c0b0",+ "reference": "9a02332089ac48e704c70f6cefed30c224e3c0b0","shasum": ""},"require": {"ext-tokenizer": "*",- "php": ">=5.3.3"+ "php": "^7.0"},"require-dev": {- "phpunit/phpunit": "~4.2"+ "phpunit/phpunit": "^6.2.4"},"type": "library","extra": {"branch-alias": {- "dev-master": "1.4-dev"+ "dev-master": "2.0-dev"}},"autoload": {@@ -5064,7 +5130,7 @@"keywords": ["tokenizer"],- "time": "2017-02-27T10:12:30+00:00"+ "time": "2017-08-20T05:47:52+00:00"},{"name": "phpunit/phpunit",@@ -5150,16 +5216,16 @@},{"name": "phpunit/phpunit-mock-objects",- "version": "3.4.3",+ "version": "3.4.4","source": {"type": "git","url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",- "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24"+ "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",- "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24",+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",+ "reference": "a23b761686d50a560cc56233b9ecf49597cc9118","shasum": ""},"require": {@@ -5205,7 +5271,7 @@"mock","xunit"],- "time": "2016-12-08T20:27:08+00:00"+ "time": "2017-06-30T09:13:00+00:00"},{"name": "sebastian/code-unit-reverse-lookup",@@ -5722,16 +5788,16 @@},{"name": "squizlabs/php_codesniffer",- "version": "3.0.1",+ "version": "3.0.2","source": {"type": "git","url": "https://github.com/squizlabs/PHP_CodeSniffer.git",- "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219"+ "reference": "c7594a88ae75401e8f8d0bd4deb8431b39045c51"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f9eaf037edf22fdfccf04cb0ab57ebcb1e166219",- "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219",+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/c7594a88ae75401e8f8d0bd4deb8431b39045c51",+ "reference": "c7594a88ae75401e8f8d0bd4deb8431b39045c51","shasum": ""},"require": {@@ -5769,20 +5835,20 @@"phpcs","standards"],- "time": "2017-06-14T01:23:49+00:00"+ "time": "2017-07-18T01:12:32+00:00"},{"name": "symfony/browser-kit",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/browser-kit.git",- "reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1"+ "reference": "8079a6b3668ef15cdbf73a4c7d31081abb8bb5f0"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",- "reference": "c2c8ceb1aa9dab9eae54e9150e6a588ce3e53be1",+ "url": "https://api.github.com/repos/symfony/browser-kit/zipball/8079a6b3668ef15cdbf73a4c7d31081abb8bb5f0",+ "reference": "8079a6b3668ef15cdbf73a4c7d31081abb8bb5f0","shasum": ""},"require": {@@ -5826,7 +5892,7 @@],"description": "Symfony BrowserKit Component","homepage": "https://symfony.com",- "time": "2017-04-12T14:14:56+00:00"+ "time": "2017-07-12T13:03:20+00:00"},{"name": "symfony/dom-crawler",@@ -5886,16 +5952,16 @@},{"name": "symfony/yaml",- "version": "v3.3.2",+ "version": "v3.3.6","source": {"type": "git","url": "https://github.com/symfony/yaml.git",- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063"+ "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063",- "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063",+ "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed",+ "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed","shasum": ""},"require": {@@ -5937,7 +6003,7 @@],"description": "Symfony Yaml Component","homepage": "https://symfony.com",- "time": "2017-06-02T22:05:06+00:00"+ "time": "2017-07-23T12:43:26+00:00"},{"name": "webmozart/assert",diff --git a/storage/app/backups/.gitignore b/storage/app/backups/.gitignoreindex c96a04f008..87b08a80a3 100755--- a/storage/app/backups/.gitignore+++ b/storage/app/backups/.gitignore@@ -1,2 +1,3 @@*-!.gitignore\ No newline at end of file+!.gitignore+!env-backups\ No newline at end of filediff --git a/storage/app/backups/env-backups/.gitignore b/storage/app/backups/env-backups/.gitignorenew file mode 100755index 0000000000..c96a04f008--- /dev/null+++ b/storage/app/backups/env-backups/.gitignore@@ -0,0 +1,2 @@+*+!.gitignore\ No newline at end of file