From b2eed9a9c58c013fccb0f0daea5ab6a63b48564a Mon Sep 17 00:00:00 2001 From: shibafu Date: Tue, 4 Feb 2020 01:43:58 +0900 Subject: [PATCH] =?UTF-8?q?league/csv=E3=81=A8openpear/stream=5Ffilter=5Fm?= =?UTF-8?q?bstring=E3=82=92=E4=BE=9D=E5=AD=98=E9=96=A2=E4=BF=82=E3=81=AB?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Providers/AppServiceProvider.php | 2 + composer.json | 8 ++ composer.lock | 116 ++++++++++++++++++++++++++- 3 files changed, 124 insertions(+), 2 deletions(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 675d30a..f952321 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -19,6 +19,8 @@ class AppServiceProvider extends ServiceProvider Blade::directive('parsedown', function ($expression) { return "text($expression); ?>"; }); + + stream_filter_register('convert.mbstring.*', 'Stream_Filter_Mbstring'); } /** diff --git a/composer.json b/composer.json index 3b89d39..9c5900a 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,12 @@ "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/xcezx/Stream_Filter_Mbstring" + } + ], "require": { "php": ">=7.1.0", "anhskohbo/no-captcha": "^3.0", @@ -13,7 +19,9 @@ "jakeasmith/http_build_url": "^1.0", "laravel/framework": "5.5.*", "laravel/tinker": "~1.0", + "league/csv": "^9.5", "misd/linkify": "^1.1", + "openpear/stream_filter_mbstring": "dev-master", "staudenmeir/eloquent-eager-limit": "^1.0", "symfony/css-selector": "^4.3", "symfony/dom-crawler": "^4.3" diff --git a/composer.lock b/composer.lock index d21588d..e448a5d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b6dfb80c350a7276bb2513a1aeb3d602", + "content-hash": "a391908b8086044d943007dce1ff4f12", "packages": [ { "name": "anhskohbo/no-captcha", @@ -1190,6 +1190,75 @@ ], "time": "2019-08-07T15:10:45+00:00" }, + { + "name": "league/csv", + "version": "9.5.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/csv.git", + "reference": "b348d09d0d258a4f068efb50a2510dc63101c213" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/b348d09d0d258a4f068efb50a2510dc63101c213", + "reference": "b348d09d0d258a4f068efb50a2510dc63101c213", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-mbstring": "*", + "php": ">=7.0.10" + }, + "require-dev": { + "ext-curl": "*", + "friendsofphp/php-cs-fixer": "^2.12", + "phpstan/phpstan": "^0.9.2", + "phpstan/phpstan-phpunit": "^0.9.4", + "phpstan/phpstan-strict-rules": "^0.9.0", + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Csv\\": "src" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://github.com/nyamsprod/", + "role": "Developer" + } + ], + "description": "Csv data manipulation made easy in PHP", + "homepage": "http://csv.thephpleague.com", + "keywords": [ + "csv", + "export", + "filter", + "import", + "read", + "write" + ], + "time": "2019-12-15T19:51:41+00:00" + }, { "name": "league/flysystem", "version": "1.0.63", @@ -1555,6 +1624,47 @@ ], "time": "2019-11-08T13:50:10+00:00" }, + { + "name": "openpear/stream_filter_mbstring", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/xcezx/Stream_Filter_Mbstring.git", + "reference": "1c5ab27fd874e74d3d2bfdb9b74d3ebe017e6e14" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/xcezx/Stream_Filter_Mbstring/zipball/1c5ab27fd874e74d3d2bfdb9b74d3ebe017e6e14", + "reference": "1c5ab27fd874e74d3d2bfdb9b74d3ebe017e6e14", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-0": { + "Stream_Filter_Mbstring": "src/" + } + }, + "license": [ + "PHP-3.01" + ], + "authors": [ + { + "name": "hnw", + "role": "developer" + }, + { + "name": "MAEKAWA Tsuyoshi", + "email": "main.xcezx@gmail.com", + "role": "maintainer" + } + ], + "description": "mbstring を使って文字列変換を行う stream filter", + "support": { + "source": "https://github.com/xcezx/Stream_Filter_Mbstring/tree/master", + "issues": "https://github.com/xcezx/Stream_Filter_Mbstring/issues" + }, + "time": "2012-11-21T12:10:21+00:00" + }, { "name": "paragonie/random_compat", "version": "v9.99.99", @@ -6410,7 +6520,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "openpear/stream_filter_mbstring": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": {