From d02a7064e33b42b42e329cb83673008c4c8d209c Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 26 Jan 2017 04:52:30 -0800 Subject: [PATCH] Added patchwork for fallback for systems without intl --- composer.json | 3 ++- composer.lock | 63 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index eeda995785..094caee122 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ "neitanod/forceutf8": "^2.0", "laravel/legacy-encrypter": "^1.0", "laravel/passport": "^1.0", - "javiereguiluz/easyslugger": "^1.0" + "javiereguiluz/easyslugger": "^1.0", + "patchwork/utf8": "~1.2" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 938cd47fcf..cca045e986 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": "f354a05aba9b669136169915c8f6b0b5", - "content-hash": "9f273d2aecd22cda1ce6b0cb105fdad2", + "hash": "d1f8fdee077bfee4cd1afba2d619e978", + "content-hash": "541254a7f86bb61d2aa5e8acea3e53cd", "packages": [ { "name": "aws/aws-sdk-php", @@ -2437,6 +2437,65 @@ ], "time": "2016-11-07 23:38:38" }, + { + "name": "patchwork/utf8", + "version": "v1.3.1", + "source": { + "type": "git", + "url": "https://github.com/tchwork/utf8.git", + "reference": "30ec6451aec7d2536f0af8fe535f70c764f2c47a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tchwork/utf8/zipball/30ec6451aec7d2536f0af8fe535f70c764f2c47a", + "reference": "30ec6451aec7d2536f0af8fe535f70c764f2c47a", + "shasum": "" + }, + "require": { + "lib-pcre": ">=7.3", + "php": ">=5.3.0" + }, + "suggest": { + "ext-iconv": "Use iconv for best performance", + "ext-intl": "Use Intl for best performance", + "ext-mbstring": "Use Mbstring for best performance", + "ext-wfio": "Use WFIO for UTF-8 filesystem access on Windows" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-4": { + "Patchwork\\": "src/Patchwork/" + }, + "classmap": [ + "src/Normalizer.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "(Apache-2.0 or GPL-2.0)" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + } + ], + "description": "Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP", + "homepage": "https://github.com/tchwork/utf8", + "keywords": [ + "grapheme", + "i18n", + "unicode", + "utf-8", + "utf8" + ], + "time": "2016-05-18 13:57:10" + }, { "name": "phpseclib/phpseclib", "version": "2.0.4",