From efa0579de7e2ceca93898572653ba46270960955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=94=E5=A7=AC=E6=A1=91?= Date: Wed, 8 Dec 2021 08:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=B3=BB=E7=BB=9F=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Components/Helpers.php | 2 +- app/Exceptions/Handler.php | 20 +- .../Controllers/User/SubscribeController.php | 18 +- app/Http/Controllers/UserController.php | 2 +- app/Http/Middleware/isForbidden.php | 10 +- app/Http/Middleware/isSecurity.php | 2 +- composer.json | 6 +- composer.lock | 1012 ++++++++--------- config/log-viewer.php | 136 +++ ...021_11_25_211107_change_log_permission.php | 35 + resources/lang/en/{error.php => errors.php} | 0 .../lang/zh_CN/{error.php => errors.php} | 0 .../views/admin/article/create.blade.php | 2 +- resources/views/admin/article/edit.blade.php | 2 +- resources/views/admin/layouts.blade.php | 6 +- resources/views/auth/error.blade.php | 6 +- resources/views/auth/safe.blade.php | 4 +- .../log-viewer/remark/dashboard.blade.php | 57 + .../log-viewer/remark/layouts.blade.php | 213 ++++ .../vendor/log-viewer/remark/logs.blade.php | 149 +++ .../vendor/log-viewer/remark/show.blade.php | 288 +++++ routes/admin.php | 2 - 22 files changed, 1399 insertions(+), 573 deletions(-) create mode 100644 config/log-viewer.php create mode 100644 database/migrations/2021_11_25_211107_change_log_permission.php rename resources/lang/en/{error.php => errors.php} (100%) rename resources/lang/zh_CN/{error.php => errors.php} (100%) create mode 100644 resources/views/vendor/log-viewer/remark/dashboard.blade.php create mode 100644 resources/views/vendor/log-viewer/remark/layouts.blade.php create mode 100644 resources/views/vendor/log-viewer/remark/logs.blade.php create mode 100644 resources/views/vendor/log-viewer/remark/show.blade.php diff --git a/app/Components/Helpers.php b/app/Components/Helpers.php index 227176e7..034de517 100644 --- a/app/Components/Helpers.php +++ b/app/Components/Helpers.php @@ -271,7 +271,7 @@ class Helpers $ipLocation = IP::getIPInfo($ip); if (empty($ipLocation) || empty($ipLocation['country'])) { - Log::warning(trans('error.get_ip').':'.$ip); + Log::warning(trans('errors.get_ip').':'.$ip); } $log = new UserLoginLog(); diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 320de406..fbfc4324 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -77,46 +77,46 @@ class Handler extends ExceptionHandler Log::warning('异常请求:'.$request->fullUrl().',IP:'.IP::getClientIp()); if ($request->ajax() || $request->wantsJson()) { - return Response::json(['status' => 'fail', 'message' => trans('error.missing_page')], 404); + return Response::json(['status' => 'fail', 'message' => trans('errors.missing_page')], 404); } - return Response::view('auth.error', ['message' => trans('error.missing_page')], 404); + return Response::view('auth.error', ['message' => trans('errors.missing_page')], 404); case $exception instanceof AuthenticationException: // 捕获身份校验异常 if ($request->ajax() || $request->wantsJson()) { - return Response::json(['status' => 'fail', 'message' => trans('error.unauthorized')], 401); + return Response::json(['status' => 'fail', 'message' => trans('errors.unauthorized')], 401); } - return Response::view('auth.error', ['message' => trans('error.unauthorized')], 401); + return Response::view('auth.error', ['message' => trans('errors.unauthorized')], 401); case $exception instanceof TokenMismatchException: // 捕获CSRF异常 if ($request->ajax() || $request->wantsJson()) { return Response::json([ 'status' => 'fail', - 'message' => trans('error.refresh_page').''.trans('error.refresh').'', + 'message' => trans('errors.refresh_page').''.trans('errors.refresh').'', ], 419); } return Response::view( 'auth.error', - ['message' => trans('error.refresh_page').''.trans('error.refresh').''], + ['message' => trans('errors.refresh_page').''.trans('errors.refresh').''], 419 ); case $exception instanceof ReflectionException: if ($request->ajax() || $request->wantsJson()) { - return Response::json(['status' => 'fail', 'message' => trans('error.system')], 500); + return Response::json(['status' => 'fail', 'message' => trans('errors.system')], 500); } - return Response::view('auth.error', ['message' => trans('error.system')], 500); + return Response::view('auth.error', ['message' => trans('errors.system')], 500); case $exception instanceof ErrorException: // 捕获系统错误异常 if ($request->ajax() || $request->wantsJson()) { return Response::json([ 'status' => 'fail', - 'message' => trans('error.system').', '.trans('error.visit').''.trans('error.log').'', + 'message' => trans('errors.system').', '.trans('errors.visit').''.trans('errors.log').'', ], 500); } return Response::view( 'auth.error', - ['message' => trans('error.system').', '.trans('error.visit').''.trans('error.log').''], + ['message' => trans('errors.system').', '.trans('errors.visit').''.trans('errors.log').''], 500 ); case $exception instanceof ConnectionException: diff --git a/app/Http/Controllers/User/SubscribeController.php b/app/Http/Controllers/User/SubscribeController.php index 5fa59c9a..3639a5b8 100644 --- a/app/Http/Controllers/User/SubscribeController.php +++ b/app/Http/Controllers/User/SubscribeController.php @@ -28,38 +28,38 @@ class SubscribeController extends Controller // 检查订阅码是否有效 $subscribe = UserSubscribe::whereCode($code)->first(); if (! $subscribe) { - return $this->failed(trans('error.subscribe.unknown')); + return $this->failed(trans('errors.subscribe.unknown')); } if ($subscribe->status !== 1) { - return $this->failed(trans('error.subscribe.sub_baned')); + return $this->failed(trans('errors.subscribe.sub_baned')); } // 检查用户是否有效 $user = $subscribe->user; if (! $user) { - return $this->failed(trans('error.subscribe.user')); + return $this->failed(trans('errors.subscribe.user')); } if ($user->status === -1) { - return $this->failed(trans('error.subscribe.user_disable')); + return $this->failed(trans('errors.subscribe.user_disable')); } if ($user->enable !== 1) { if ($user->ban_time) { - return $this->failed(trans('error.subscribe.baned_until', ['time' => $user->ban_time])); + return $this->failed(trans('errors.subscribe.baned_until', ['time' => $user->ban_time])); } $unusedTraffic = $user->transfer_enable - $user->used_traffic; if ($unusedTraffic <= 0) { - return $this->failed(trans('error.subscribe.out')); + return $this->failed(trans('errors.subscribe.out')); } if ($user->expired_at < date('Y-m-d')) { - return $this->failed(trans('error.subscribe.expired')); + return $this->failed(trans('errors.subscribe.expired')); } - return $this->failed(trans('error.subscribe.question')); + return $this->failed(trans('errors.subscribe.question')); } // 更新访问次数 @@ -79,7 +79,7 @@ class SubscribeController extends Controller $nodeList = $query->orderByDesc('sort')->orderBy('id')->get(); if (empty($nodeList)) { - return $this->failed(trans('error.subscribe.none')); + return $this->failed(trans('errors.subscribe.none')); } $servers = []; diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 22f6ca13..9f61a37b 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -525,7 +525,7 @@ class UserController extends Controller public function switchToAdmin(): JsonResponse { if (! Session::has('admin')) { - return Response::json(['status' => 'fail', 'message' => trans('error.unauthorized')]); + return Response::json(['status' => 'fail', 'message' => trans('errors.unauthorized')]); } // 管理员信息重新写入user diff --git a/app/Http/Middleware/isForbidden.php b/app/Http/Middleware/isForbidden.php index 55c20c22..096872d0 100644 --- a/app/Http/Middleware/isForbidden.php +++ b/app/Http/Middleware/isForbidden.php @@ -24,7 +24,7 @@ class isForbidden if (sysConfig('is_forbid_robot') && Agent::isRobot()) { Log::warning('识别到机器人访问('.IP::getClientIp().')'); - return Response::view('auth.error', ['message' => trans('error.forbidden.bots')], 403); + return Response::view('auth.error', ['message' => trans('errors.forbidden.bots')], 403); } // 拒绝通过订阅链接域名访问网站,防止网站被探测 @@ -39,7 +39,7 @@ class isForbidden // 拒绝无IP请求 if (! $ipLocation || empty(array_filter($ipLocation))) { - return Response::view('auth.error', ['message' => trans('error.forbidden.access')], 403); + return Response::view('auth.error', ['message' => trans('errors.forbidden.access')], 403); } if (! in_array($ipLocation['country'], ['本机地址', '局域网']) && sysConfig('forbid_mode')) { @@ -49,21 +49,21 @@ class isForbidden if (in_array($ipLocation['country'], ['China', '中国']) && ! in_array($ipLocation['province'], ['香港', '澳门', '台湾', '台湾省'])) { Log::warning('识别到大陆IP,拒绝访问:'.$ip); - return Response::view('auth.error', ['message' => trans('error.forbidden.china')], 403); + return Response::view('auth.error', ['message' => trans('errors.forbidden.china')], 403); } break; case 'ban_china': if (in_array($ipLocation['country'], ['China', '中国', 'Taiwan', 'Hong Kong', 'Macao'])) { Log::warning('识别到中国IP,拒绝访问:'.$ip); - return Response::view('auth.error', ['message' => trans('error.forbidden.china')], 403); + return Response::view('auth.error', ['message' => trans('errors.forbidden.china')], 403); } break; case 'ban_oversea': if (! in_array($ipLocation['country'], ['China', '中国', 'Taiwan', 'Hong Kong', 'Macao'])) { Log::warning('识别到海外IP,拒绝访问:'.$ip.' - '.$ipLocation['country']); - return Response::view('auth.error', ['message' => trans('error.forbidden.oversea')], 403); + return Response::view('auth.error', ['message' => trans('errors.forbidden.oversea')], 403); } break; default: diff --git a/app/Http/Middleware/isSecurity.php b/app/Http/Middleware/isSecurity.php index 9c2f7a42..3b49bbfd 100644 --- a/app/Http/Middleware/isSecurity.php +++ b/app/Http/Middleware/isSecurity.php @@ -26,7 +26,7 @@ class isSecurity if ($websiteSecurityCode && ! Cache::has($cacheKey)) { if ($code !== $websiteSecurityCode) { - Log::warning(trans('error.unsafe_enter').$ip); + Log::warning(trans('errors.unsafe_enter').$ip); return Response::view('auth.safe'); } diff --git a/composer.json b/composer.json index d95e4229..9b4a17e9 100644 --- a/composer.json +++ b/composer.json @@ -9,10 +9,12 @@ "license": "GPL-3.0-or-later", "require": { "php": "^7.2.5", + "ext-dom": "*", "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", "ext-simplexml": "*", + "arcanedev/log-viewer": "~7.0", "doctrine/dbal": "^2.12", "fideloper/proxy": "^4.4", "fruitcake/laravel-cors": "^2.0", @@ -32,7 +34,6 @@ "mews/purifier": "^3.3", "overtrue/laravel-lang": "~5.0", "phpoffice/phpspreadsheet": "^1.16", - "rap2hpoutre/laravel-log-viewer": "^1.7", "riverslei/payment": "^5.1", "socialiteproviders/telegram": "^4.1", "spatie/laravel-permission": "^4.0", @@ -44,8 +45,7 @@ "zbrettonye/geetest": "^1.2", "zbrettonye/hcaptcha": "^1.1", "zbrettonye/no-captcha": "^1.1", - "zoujingli/ip2region": "^1.0", - "ext-dom": "*" + "zoujingli/ip2region": "^1.0" }, "require-dev": { "arcanedev/laravel-lang": "^8.0", diff --git a/composer.lock b/composer.lock index 1947cec9..95c2656c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,152 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e1b357644ad934c8907f667d0be46b2b", + "content-hash": "b43489ab687e5336c8138f2f87463664", "packages": [ + { + "name": "arcanedev/log-viewer", + "version": "7.1.0", + "source": { + "type": "git", + "url": "https://github.com/ARCANEDEV/LogViewer.git", + "reference": "46643ff4865e6aa9bfe97d10c962a2661480191d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ARCANEDEV/LogViewer/zipball/46643ff4865e6aa9bfe97d10c962a2661480191d", + "reference": "46643ff4865e6aa9bfe97d10c962a2661480191d", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "arcanedev/support": "^7.0", + "ext-json": "*", + "php": "^7.2.5", + "psr/log": "^1.0" + }, + "require-dev": { + "orchestra/testbench": "^5.0", + "phpunit/phpunit": "^8.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Arcanedev\\LogViewer\\LogViewerServiceProvider", + "Arcanedev\\LogViewer\\Providers\\DeferredServicesProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Arcanedev\\LogViewer\\": "src/" + }, + "files": [ + "helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "ARCANEDEV", + "email": "arcanedev.maroc@gmail.com", + "homepage": "https://github.com/arcanedev-maroc", + "role": "Developer" + } + ], + "description": "Provides a Log Viewer for Laravel", + "homepage": "https://github.com/ARCANEDEV/LogViewer", + "keywords": [ + "arcanedev", + "arcanesoft", + "laravel", + "log", + "log viewer", + "log-viewer", + "logviewer" + ], + "support": { + "issues": "https://github.com/ARCANEDEV/LogViewer/issues", + "source": "https://github.com/ARCANEDEV/LogViewer/tree/master" + }, + "time": "2020-07-06T08:31:38+00:00" + }, + { + "name": "arcanedev/support", + "version": "7.1.2", + "source": { + "type": "git", + "url": "https://github.com/ARCANEDEV/Support.git", + "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/7e4199d30f04c611ba5d895e663f111c217ff5a3", + "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/filesystem": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5" + }, + "require-dev": { + "orchestra/testbench": "^5.0", + "phpunit/phpunit": "^8.0|^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "Arcanedev\\Support\\": "src/" + }, + "files": [ + "helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "ARCANEDEV", + "email": "arcanedev.maroc@gmail.com", + "homepage": "https://github.com/arcanedev-maroc" + } + ], + "description": "ARCANEDEV Support Helpers", + "homepage": "https://github.com/ARCANEDEV/Support", + "keywords": [ + "arcanedev", + "arcanesoft", + "laravel", + "support" + ], + "support": { + "issues": "https://github.com/ARCANEDEV/Support/issues", + "source": "https://github.com/ARCANEDEV/Support/tree/7.1.2" + }, + "time": "2020-03-12T09:28:19+00:00" + }, { "name": "asm89/stack-cors", "version": "v2.0.3", @@ -136,16 +280,16 @@ }, { "name": "composer/ca-bundle", - "version": "1.2.11", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "0b072d51c5a9c6f3412f7ea3ab043d6603cb2582" + "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/0b072d51c5a9c6f3412f7ea3ab043d6603cb2582", - "reference": "0b072d51c5a9c6f3412f7ea3ab043d6603cb2582", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", + "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", "shasum": "", "mirrors": [ { @@ -198,7 +342,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.2.11" + "source": "https://github.com/composer/ca-bundle/tree/1.3.1" }, "funding": [ { @@ -214,7 +358,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T20:32:43+00:00" + "time": "2021-10-28T20:44:15+00:00" }, { "name": "doctrine/cache", @@ -323,16 +467,16 @@ }, { "name": "doctrine/dbal", - "version": "2.13.4", + "version": "2.13.5", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "2411a55a2a628e6d8dd598388ab13474802c7b6e" + "reference": "d92ddb260547c2a7b650ff140f744eb6f395d8fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/2411a55a2a628e6d8dd598388ab13474802c7b6e", - "reference": "2411a55a2a628e6d8dd598388ab13474802c7b6e", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/d92ddb260547c2a7b650ff140f744eb6f395d8fc", + "reference": "d92ddb260547c2a7b650ff140f744eb6f395d8fc", "shasum": "", "mirrors": [ { @@ -351,13 +495,13 @@ "require-dev": { "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "0.12.99", + "phpstan/phpstan": "1.1.1", "phpunit/phpunit": "^7.5.20|^8.5|9.5.10", "psalm/plugin-phpunit": "0.16.1", - "squizlabs/php_codesniffer": "3.6.0", + "squizlabs/php_codesniffer": "3.6.1", "symfony/cache": "^4.4", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", - "vimeo/psalm": "4.10.0" + "vimeo/psalm": "4.12.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -418,7 +562,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.13.4" + "source": "https://github.com/doctrine/dbal/tree/2.13.5" }, "funding": [ { @@ -434,7 +578,7 @@ "type": "tidelift" } ], - "time": "2021-10-02T15:59:26+00:00" + "time": "2021-11-11T16:27:36+00:00" }, { "name": "doctrine/deprecations", @@ -587,16 +731,16 @@ }, { "name": "doctrine/inflector", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210" + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210", - "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", "shasum": "", "mirrors": [ { @@ -609,18 +753,14 @@ "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^7.0", - "phpstan/phpstan": "^0.11", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-strict-rules": "^0.11", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "doctrine/coding-standard": "^8.2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^4.10" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" @@ -668,7 +808,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.x" + "source": "https://github.com/doctrine/inflector/tree/2.0.4" }, "funding": [ { @@ -684,7 +824,7 @@ "type": "tidelift" } ], - "time": "2020-05-29T15:13:26+00:00" + "time": "2021-10-22T20:16:43+00:00" }, { "name": "doctrine/lexer", @@ -1268,16 +1408,16 @@ }, { "name": "geoip2/geoip2", - "version": "v2.11.0", + "version": "v2.12.1", "source": { "type": "git", "url": "https://github.com/maxmind/GeoIP2-php.git", - "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7" + "reference": "d25660633755f3f064ca647cd916c5c65074e408" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/d01be5894a5c1a3381c58c9b1795cd07f96c30f7", - "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7", + "url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/d25660633755f3f064ca647cd916c5c65074e408", + "reference": "d25660633755f3f064ca647cd916c5c65074e408", "shasum": "", "mirrors": [ { @@ -1293,7 +1433,8 @@ "php": ">=7.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "2.*", + "friendsofphp/php-cs-fixer": "3.*", + "phpstan/phpstan": "*", "phpunit/phpunit": "^8.0 || ^9.0", "squizlabs/php_codesniffer": "3.*" }, @@ -1325,9 +1466,9 @@ ], "support": { "issues": "https://github.com/maxmind/GeoIP2-php/issues", - "source": "https://github.com/maxmind/GeoIP2-php/tree/v2.11.0" + "source": "https://github.com/maxmind/GeoIP2-php/tree/v2.12.1" }, - "time": "2020-10-01T18:48:34+00:00" + "time": "2021-11-23T17:01:41+00:00" }, { "name": "guzzlehttp/guzzle", @@ -1408,16 +1549,16 @@ }, { "name": "guzzlehttp/promises", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "136a635e2b4a49b9d79e9c8fee267ffb257fdba0" + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/136a635e2b4a49b9d79e9c8fee267ffb257fdba0", - "reference": "136a635e2b4a49b9d79e9c8fee267ffb257fdba0", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", "shasum": "", "mirrors": [ { @@ -1478,7 +1619,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.0" + "source": "https://github.com/guzzle/promises/tree/1.5.1" }, "funding": [ { @@ -1494,7 +1635,7 @@ "type": "tidelift" } ], - "time": "2021-10-07T13:05:22+00:00" + "time": "2021-10-22T20:56:57+00:00" }, { "name": "guzzlehttp/psr7", @@ -1940,16 +2081,16 @@ }, { "name": "jaybizzle/crawler-detect", - "version": "v1.2.106", + "version": "v1.2.109", "source": { "type": "git", "url": "https://github.com/JayBizzle/Crawler-Detect.git", - "reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9" + "reference": "487b73e6f9effc8c88c9eec3c9c451e166b7669c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/78bf6792cbf9c569dc0bf2465481978fd2ed0de9", - "reference": "78bf6792cbf9c569dc0bf2465481978fd2ed0de9", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/487b73e6f9effc8c88c9eec3c9c451e166b7669c", + "reference": "487b73e6f9effc8c88c9eec3c9c451e166b7669c", "shasum": "", "mirrors": [ { @@ -1992,9 +2133,9 @@ ], "support": { "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", - "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.106" + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.109" }, - "time": "2021-05-24T20:30:32+00:00" + "time": "2021-11-24T18:07:38+00:00" }, { "name": "jenssegers/agent", @@ -2154,16 +2295,16 @@ }, { "name": "laravel-lang/lang", - "version": "10.1.7", + "version": "10.1.11", "source": { "type": "git", "url": "https://github.com/Laravel-Lang/lang.git", - "reference": "ec4920fbe2b88739c3cae177d628bf0d4d0a1817" + "reference": "b6d59c490c28e866c00258497add213b62ca4444" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Laravel-Lang/lang/zipball/ec4920fbe2b88739c3cae177d628bf0d4d0a1817", - "reference": "ec4920fbe2b88739c3cae177d628bf0d4d0a1817", + "url": "https://api.github.com/repos/Laravel-Lang/lang/zipball/b6d59c490c28e866c00258497add213b62ca4444", + "reference": "b6d59c490c28e866c00258497add213b62ca4444", "shasum": "", "mirrors": [ { @@ -2177,7 +2318,7 @@ }, "require-dev": { "andrey-helldar/pretty-array": "^2.3", - "andrey-helldar/support": "^3.16.1", + "andrey-helldar/support": "^4.7", "guzzlehttp/guzzle": "^7.3", "laravel/breeze": "^1.2", "laravel/fortify": "^1.7", @@ -2215,7 +2356,7 @@ "issues": "https://github.com/Laravel-Lang/lang/issues", "source": "https://github.com/Laravel-Lang/lang" }, - "time": "2021-09-27T13:45:07+00:00" + "time": "2021-11-21T18:22:31+00:00" }, { "name": "laravel-notification-channels/bearychat", @@ -2345,16 +2486,16 @@ }, { "name": "laravel/framework", - "version": "v7.30.4", + "version": "v7.30.5", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "9dd38140dc2924daa1a020a3d7a45f9ceff03df3" + "reference": "afb0c034072a03a5ab1872fbdea54f8befd873c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/9dd38140dc2924daa1a020a3d7a45f9ceff03df3", - "reference": "9dd38140dc2924daa1a020a3d7a45f9ceff03df3", + "url": "https://api.github.com/repos/laravel/framework/zipball/afb0c034072a03a5ab1872fbdea54f8befd873c3", + "reference": "afb0c034072a03a5ab1872fbdea54f8befd873c3", "shasum": "", "mirrors": [ { @@ -2509,7 +2650,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2021-01-21T14:10:48+00:00" + "time": "2021-11-17T15:00:14+00:00" }, { "name": "laravel/socialite", @@ -2844,16 +2985,16 @@ }, { "name": "league/flysystem", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea" + "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/18634df356bfd4119fe3d6156bdb990c414c14ea", - "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/627be7fcde84c71aa0f15097fcf48fd5f2be5287", + "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287", "shasum": "", "mirrors": [ { @@ -2932,7 +3073,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.5" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.6" }, "funding": [ { @@ -2940,20 +3081,20 @@ "type": "other" } ], - "time": "2021-08-17T13:49:42+00:00" + "time": "2021-11-21T11:04:36+00:00" }, { "name": "league/mime-type-detection", - "version": "1.8.0", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "b38b25d7b372e9fddb00335400467b223349fd7e" + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b38b25d7b372e9fddb00335400467b223349fd7e", - "reference": "b38b25d7b372e9fddb00335400467b223349fd7e", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69", + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69", "shasum": "", "mirrors": [ { @@ -2967,7 +3108,7 @@ "php": "^7.2 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.18", + "friendsofphp/php-cs-fixer": "^3.2", "phpstan/phpstan": "^0.12.68", "phpunit/phpunit": "^8.5.8 || ^9.3" }, @@ -2990,7 +3131,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.8.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0" }, "funding": [ { @@ -3002,7 +3143,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T08:23:19+00:00" + "time": "2021-11-21T11:48:40+00:00" }, { "name": "league/oauth1-client", @@ -3165,16 +3306,16 @@ }, { "name": "markbaker/complex", - "version": "2.0.3", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/MarkBaker/PHPComplex.git", - "reference": "6f724d7e04606fd8adaa4e3bb381c3e9db09c946" + "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/6f724d7e04606fd8adaa4e3bb381c3e9db09c946", - "reference": "6f724d7e04606fd8adaa4e3bb381c3e9db09c946", + "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/ab8bc271e404909db09ff2d5ffa1e538085c0f22", + "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22", "shasum": "", "mirrors": [ { @@ -3196,51 +3337,7 @@ "autoload": { "psr-4": { "Complex\\": "classes/src/" - }, - "files": [ - "classes/src/functions/abs.php", - "classes/src/functions/acos.php", - "classes/src/functions/acosh.php", - "classes/src/functions/acot.php", - "classes/src/functions/acoth.php", - "classes/src/functions/acsc.php", - "classes/src/functions/acsch.php", - "classes/src/functions/argument.php", - "classes/src/functions/asec.php", - "classes/src/functions/asech.php", - "classes/src/functions/asin.php", - "classes/src/functions/asinh.php", - "classes/src/functions/atan.php", - "classes/src/functions/atanh.php", - "classes/src/functions/conjugate.php", - "classes/src/functions/cos.php", - "classes/src/functions/cosh.php", - "classes/src/functions/cot.php", - "classes/src/functions/coth.php", - "classes/src/functions/csc.php", - "classes/src/functions/csch.php", - "classes/src/functions/exp.php", - "classes/src/functions/inverse.php", - "classes/src/functions/ln.php", - "classes/src/functions/log2.php", - "classes/src/functions/log10.php", - "classes/src/functions/negative.php", - "classes/src/functions/pow.php", - "classes/src/functions/rho.php", - "classes/src/functions/sec.php", - "classes/src/functions/sech.php", - "classes/src/functions/sin.php", - "classes/src/functions/sinh.php", - "classes/src/functions/sqrt.php", - "classes/src/functions/tan.php", - "classes/src/functions/tanh.php", - "classes/src/functions/theta.php", - "classes/src/operations/add.php", - "classes/src/operations/subtract.php", - "classes/src/operations/multiply.php", - "classes/src/operations/divideby.php", - "classes/src/operations/divideinto.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3260,22 +3357,22 @@ ], "support": { "issues": "https://github.com/MarkBaker/PHPComplex/issues", - "source": "https://github.com/MarkBaker/PHPComplex/tree/2.0.3" + "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.1" }, - "time": "2021-06-02T09:44:11+00:00" + "time": "2021-06-29T15:32:53+00:00" }, { "name": "markbaker/matrix", - "version": "2.1.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/MarkBaker/PHPMatrix.git", - "reference": "174395a901b5ba0925f1d790fa91bab531074b61" + "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/174395a901b5ba0925f1d790fa91bab531074b61", - "reference": "174395a901b5ba0925f1d790fa91bab531074b61", + "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/c66aefcafb4f6c269510e9ac46b82619a904c576", + "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576", "shasum": "", "mirrors": [ { @@ -3301,25 +3398,7 @@ "autoload": { "psr-4": { "Matrix\\": "classes/src/" - }, - "files": [ - "classes/src/Functions/adjoint.php", - "classes/src/Functions/antidiagonal.php", - "classes/src/Functions/cofactors.php", - "classes/src/Functions/determinant.php", - "classes/src/Functions/diagonal.php", - "classes/src/Functions/identity.php", - "classes/src/Functions/inverse.php", - "classes/src/Functions/minors.php", - "classes/src/Functions/trace.php", - "classes/src/Functions/transpose.php", - "classes/src/Operations/add.php", - "classes/src/Operations/directsum.php", - "classes/src/Operations/subtract.php", - "classes/src/Operations/multiply.php", - "classes/src/Operations/divideby.php", - "classes/src/Operations/divideinto.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3340,22 +3419,22 @@ ], "support": { "issues": "https://github.com/MarkBaker/PHPMatrix/issues", - "source": "https://github.com/MarkBaker/PHPMatrix/tree/2.1.3" + "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.0" }, - "time": "2021-05-25T15:42:17+00:00" + "time": "2021-07-01T19:01:15+00:00" }, { "name": "maxmind-db/reader", - "version": "v1.10.1", + "version": "v1.11.0", "source": { "type": "git", "url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git", - "reference": "569bd44d97d30a4ec12c7793a33004a76d4caf18" + "reference": "b1f3c0699525336d09cc5161a2861268d9f2ae5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/569bd44d97d30a4ec12c7793a33004a76d4caf18", - "reference": "569bd44d97d30a4ec12c7793a33004a76d4caf18", + "url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/b1f3c0699525336d09cc5161a2861268d9f2ae5b", + "reference": "b1f3c0699525336d09cc5161a2861268d9f2ae5b", "shasum": "", "mirrors": [ { @@ -3371,7 +3450,7 @@ "ext-maxminddb": "<1.10.1,>=2.0.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "*", + "friendsofphp/php-cs-fixer": "3.*", "php-coveralls/php-coveralls": "^2.1", "phpstan/phpstan": "*", "phpunit/phpcov": ">=6.0.0", @@ -3411,9 +3490,9 @@ ], "support": { "issues": "https://github.com/maxmind/MaxMind-DB-Reader-php/issues", - "source": "https://github.com/maxmind/MaxMind-DB-Reader-php/tree/v1.10.1" + "source": "https://github.com/maxmind/MaxMind-DB-Reader-php/tree/v1.11.0" }, - "time": "2021-04-14T17:49:35+00:00" + "time": "2021-10-18T15:23:10+00:00" }, { "name": "maxmind/web-service-common", @@ -3552,16 +3631,16 @@ }, { "name": "mews/purifier", - "version": "3.3.5", + "version": "3.3.6", "source": { "type": "git", "url": "https://github.com/mewebstudio/Purifier.git", - "reference": "53f2be3b94cf8940d23970f0aeb907ce8c9760f7" + "reference": "1d033fc32b98036226002c38747d4a45424d5f28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mewebstudio/Purifier/zipball/53f2be3b94cf8940d23970f0aeb907ce8c9760f7", - "reference": "53f2be3b94cf8940d23970f0aeb907ce8c9760f7", + "url": "https://api.github.com/repos/mewebstudio/Purifier/zipball/1d033fc32b98036226002c38747d4a45424d5f28", + "reference": "1d033fc32b98036226002c38747d4a45424d5f28", "shasum": "", "mirrors": [ { @@ -3633,9 +3712,9 @@ ], "support": { "issues": "https://github.com/mewebstudio/Purifier/issues", - "source": "https://github.com/mewebstudio/Purifier/tree/3.3.5" + "source": "https://github.com/mewebstudio/Purifier/tree/3.3.6" }, - "time": "2021-05-17T00:17:01+00:00" + "time": "2021-10-14T15:27:18+00:00" }, { "name": "mobiledetect/mobiledetectlib", @@ -3951,16 +4030,16 @@ }, { "name": "nesbot/carbon", - "version": "2.53.1", + "version": "2.54.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045" + "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f4655858a784988f880c1b8c7feabbf02dfdf045", - "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/eed83939f1aed3eee517d03a33f5ec587ac529b5", + "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5", "shasum": "", "mirrors": [ { @@ -3977,6 +4056,7 @@ "symfony/translation": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { + "doctrine/dbal": "^2.0 || ^3.0", "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", @@ -4047,20 +4127,20 @@ "type": "tidelift" } ], - "time": "2021-09-06T09:29:23+00:00" + "time": "2021-11-01T21:22:20+00:00" }, { "name": "nikic/php-parser", - "version": "v4.13.0", + "version": "v4.13.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "50953a2691a922aa1769461637869a0a2faa3f53" + "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53", - "reference": "50953a2691a922aa1769461637869a0a2faa3f53", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/63a79e8daa781cac14e5195e63ed8ae231dd10fd", + "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd", "shasum": "", "mirrors": [ { @@ -4107,9 +4187,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.1" }, - "time": "2021-09-20T12:20:58+00:00" + "time": "2021-11-03T20:52:16+00:00" }, { "name": "opis/closure", @@ -4255,16 +4335,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.18.0", + "version": "1.20.0", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "418cd304e8e6b417ea79c3b29126a25dc4b1170c" + "reference": "44436f270bb134b4a94670f3d020a85dfa0a3c02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/418cd304e8e6b417ea79c3b29126a25dc4b1170c", - "reference": "418cd304e8e6b417ea79c3b29126a25dc4b1170c", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/44436f270bb134b4a94670f3d020a85dfa0a3c02", + "reference": "44436f270bb134b4a94670f3d020a85dfa0a3c02", "shasum": "", "mirrors": [ { @@ -4289,9 +4369,9 @@ "ext-zlib": "*", "ezyang/htmlpurifier": "^4.13", "maennchen/zipstream-php": "^2.1", - "markbaker/complex": "^2.0", - "markbaker/matrix": "^2.0", - "php": "^7.2 || ^8.0", + "markbaker/complex": "^3.0", + "markbaker/matrix": "^3.0", + "php": "^7.3 || ^8.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "psr/simple-cache": "^1.0" @@ -4299,15 +4379,15 @@ "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "dev-master", "dompdf/dompdf": "^1.0", - "friendsofphp/php-cs-fixer": "^2.18", + "friendsofphp/php-cs-fixer": "^3.2", "jpgraph/jpgraph": "^4.0", "mpdf/mpdf": "^8.0", "phpcompatibility/php-compatibility": "^9.3", - "phpstan/phpstan": "^0.12.82", - "phpstan/phpstan-phpunit": "^0.12.18", - "phpunit/phpunit": "^8.5", - "squizlabs/php_codesniffer": "^3.5", - "tecnickcom/tcpdf": "^6.3" + "phpstan/phpstan": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^8.5 || ^9.0", + "squizlabs/php_codesniffer": "^3.6", + "tecnickcom/tcpdf": "^6.4" }, "suggest": { "dompdf/dompdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)", @@ -4359,9 +4439,9 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.18.0" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.20.0" }, - "time": "2021-05-31T18:21:15+00:00" + "time": "2021-11-23T15:23:42+00:00" }, { "name": "phpoption/phpoption", @@ -4841,16 +4921,16 @@ }, { "name": "psy/psysh", - "version": "v0.10.9", + "version": "v0.10.11", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "01281336c4ae557fe4a994544f30d3a1bc204375" + "reference": "38017532bba35d15d28dcc001b4274df0251c4a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/01281336c4ae557fe4a994544f30d3a1bc204375", - "reference": "01281336c4ae557fe4a994544f30d3a1bc204375", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/38017532bba35d15d28dcc001b4274df0251c4a1", + "reference": "38017532bba35d15d28dcc001b4274df0251c4a1", "shasum": "", "mirrors": [ { @@ -4916,9 +4996,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.10.9" + "source": "https://github.com/bobthecow/psysh/tree/v0.10.11" }, - "time": "2021-10-10T13:37:39+00:00" + "time": "2021-11-23T15:02:17+00:00" }, { "name": "ralouphie/getallheaders", @@ -5159,75 +5239,6 @@ ], "time": "2021-09-25T23:10:38+00:00" }, - { - "name": "rap2hpoutre/laravel-log-viewer", - "version": "v1.7.0", - "source": { - "type": "git", - "url": "https://github.com/rap2hpoutre/laravel-log-viewer.git", - "reference": "27392d29234b6ff38a456454558f4bcc40cc837a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/zipball/27392d29234b6ff38a456454558f4bcc40cc837a", - "reference": "27392d29234b6ff38a456454558f4bcc40cc837a", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "illuminate/support": "4.2.*|5.*|^6.0|^7.0|^8.0", - "php": ">=5.4.0" - }, - "require-dev": { - "orchestra/testbench": "3.7.*", - "phpunit/phpunit": "^7" - }, - "type": "laravel-package", - "extra": { - "laravel": { - "providers": [ - "Rap2hpoutre\\LaravelLogViewer\\LaravelLogViewerServiceProvider" - ] - } - }, - "autoload": { - "classmap": [ - "src/controllers" - ], - "psr-0": { - "Rap2hpoutre\\LaravelLogViewer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "rap2hpoutre", - "email": "raphaelht@gmail.com" - } - ], - "description": "A Laravel log reader", - "keywords": [ - "laravel", - "log", - "log-reader", - "log-viewer", - "logging", - "lumen" - ], - "support": { - "issues": "https://github.com/rap2hpoutre/laravel-log-viewer/issues", - "source": "https://github.com/rap2hpoutre/laravel-log-viewer/tree/master" - }, - "time": "2020-09-08T12:21:27+00:00" - }, { "name": "riverslei/payment", "version": "v5.1.0", @@ -5423,16 +5434,16 @@ }, { "name": "spatie/laravel-permission", - "version": "4.4.1", + "version": "4.4.3", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "3c9d7ae7683081ee90a4e2297f4e58aff3492a1e" + "reference": "779797a47689d0bc1666e26f566cca44603e56fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/3c9d7ae7683081ee90a4e2297f4e58aff3492a1e", - "reference": "3c9d7ae7683081ee90a4e2297f4e58aff3492a1e", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/779797a47689d0bc1666e26f566cca44603e56fa", + "reference": "779797a47689d0bc1666e26f566cca44603e56fa", "shasum": "", "mirrors": [ { @@ -5495,7 +5506,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/4.4.1" + "source": "https://github.com/spatie/laravel-permission/tree/4.4.3" }, "funding": [ { @@ -5503,7 +5514,7 @@ "type": "github" } ], - "time": "2021-09-01T17:40:58+00:00" + "time": "2021-10-28T07:33:49+00:00" }, { "name": "srmklive/paypal", @@ -5572,16 +5583,16 @@ }, { "name": "stripe/stripe-php", - "version": "v7.100.0", + "version": "v7.103.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "3dfc3dcd5d967a14d2852f34e544188af5f9b799" + "reference": "3a029598395bb4c7cfafa64707a553f4b01a9a12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/3dfc3dcd5d967a14d2852f34e544188af5f9b799", - "reference": "3dfc3dcd5d967a14d2852f34e544188af5f9b799", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/3a029598395bb4c7cfafa64707a553f4b01a9a12", + "reference": "3a029598395bb4c7cfafa64707a553f4b01a9a12", "shasum": "", "mirrors": [ { @@ -5633,22 +5644,22 @@ ], "support": { "issues": "https://github.com/stripe/stripe-php/issues", - "source": "https://github.com/stripe/stripe-php/tree/v7.100.0" + "source": "https://github.com/stripe/stripe-php/tree/v7.103.0" }, - "time": "2021-10-11T20:05:45+00:00" + "time": "2021-11-20T00:36:07+00:00" }, { "name": "swiftmailer/swiftmailer", - "version": "v6.2.7", + "version": "v6.3.0", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "15f7faf8508e04471f666633addacf54c0ab5933" + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/15f7faf8508e04471f666633addacf54c0ab5933", - "reference": "15f7faf8508e04471f666633addacf54c0ab5933", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c", "shasum": "", "mirrors": [ { @@ -5666,7 +5677,7 @@ }, "require-dev": { "mockery/mockery": "^1.0", - "symfony/phpunit-bridge": "^4.4|^5.0" + "symfony/phpunit-bridge": "^4.4|^5.4" }, "suggest": { "ext-intl": "Needed to support internationalized email addresses" @@ -5704,7 +5715,7 @@ ], "support": { "issues": "https://github.com/swiftmailer/swiftmailer/issues", - "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.7" + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0" }, "funding": [ { @@ -5716,20 +5727,21 @@ "type": "tidelift" } ], - "time": "2021-03-09T12:30:35+00:00" + "abandoned": "symfony/mailer", + "time": "2021-10-18T15:26:12+00:00" }, { "name": "symfony/console", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a" + "reference": "3e7ab8f5905058984899b05a4648096f558bfeba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/8b1008344647462ae6ec57559da166c2bfa5e16a", - "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a", + "url": "https://api.github.com/repos/symfony/console/zipball/3e7ab8f5905058984899b05a4648096f558bfeba", + "reference": "3e7ab8f5905058984899b05a4648096f558bfeba", "shasum": "", "mirrors": [ { @@ -5748,7 +5760,6 @@ "symfony/string": "^5.1" }, "conflict": { - "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -5805,7 +5816,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.7" + "source": "https://github.com/symfony/console/tree/v5.3.11" }, "funding": [ { @@ -5821,7 +5832,7 @@ "type": "tidelift" } ], - "time": "2021-08-25T20:02:16+00:00" + "time": "2021-11-21T19:41:05+00:00" }, { "name": "symfony/css-selector", @@ -5897,16 +5908,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", "shasum": "", "mirrors": [ { @@ -5921,7 +5932,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5950,7 +5961,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" }, "funding": [ { @@ -5966,20 +5977,20 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/error-handler", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321" + "reference": "eec73dd7218713f48a7996583a741b3bae58c8d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321", - "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/eec73dd7218713f48a7996583a741b3bae58c8d3", + "reference": "eec73dd7218713f48a7996583a741b3bae58c8d3", "shasum": "", "mirrors": [ { @@ -6024,7 +6035,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.3.7" + "source": "https://github.com/symfony/error-handler/tree/v5.3.11" }, "funding": [ { @@ -6040,20 +6051,20 @@ "type": "tidelift" } ], - "time": "2021-08-28T15:07:08+00:00" + "time": "2021-11-13T13:42:37+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "ce7b20d69c66a20939d8952b617506a44d102130" + "reference": "661a7a6e085394f8513945669e31f7c1338a7e69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ce7b20d69c66a20939d8952b617506a44d102130", - "reference": "ce7b20d69c66a20939d8952b617506a44d102130", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/661a7a6e085394f8513945669e31f7c1338a7e69", + "reference": "661a7a6e085394f8513945669e31f7c1338a7e69", "shasum": "", "mirrors": [ { @@ -6115,7 +6126,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.7" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.11" }, "funding": [ { @@ -6131,20 +6142,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2021-11-17T12:16:12+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11" + "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/69fee1ad2332a7cbab3aca13591953da9cdb7a11", - "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", + "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", "shasum": "", "mirrors": [ { @@ -6163,7 +6174,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6200,7 +6211,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.0" }, "funding": [ { @@ -6216,7 +6227,7 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/finder", @@ -6288,16 +6299,16 @@ }, { "name": "symfony/http-client-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4" + "reference": "ec82e57b5b714dbb69300d348bd840b345e24166" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/7e82f6084d7cae521a75ef2cb5c9457bbda785f4", - "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/ec82e57b5b714dbb69300d348bd840b345e24166", + "reference": "ec82e57b5b714dbb69300d348bd840b345e24166", "shasum": "", "mirrors": [ { @@ -6315,7 +6326,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6352,7 +6363,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v2.5.0" }, "funding": [ { @@ -6368,20 +6379,20 @@ "type": "tidelift" } ], - "time": "2021-04-11T23:07:08+00:00" + "time": "2021-11-03T09:24:47+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "e36c8e5502b4f3f0190c675f1c1f1248a64f04e5" + "reference": "d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e36c8e5502b4f3f0190c675f1c1f1248a64f04e5", - "reference": "e36c8e5502b4f3f0190c675f1c1f1248a64f04e5", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc", + "reference": "d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc", "shasum": "", "mirrors": [ { @@ -6431,7 +6442,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.3.7" + "source": "https://github.com/symfony/http-foundation/tree/v5.3.11" }, "funding": [ { @@ -6447,20 +6458,20 @@ "type": "tidelift" } ], - "time": "2021-08-27T11:20:35+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.3.9", + "version": "v5.3.12", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "ceaf46a992f60e90645e7279825a830f733a17c5" + "reference": "f53025cd1d91b1af85d6d9e17eefa98e31ee953b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ceaf46a992f60e90645e7279825a830f733a17c5", - "reference": "ceaf46a992f60e90645e7279825a830f733a17c5", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f53025cd1d91b1af85d6d9e17eefa98e31ee953b", + "reference": "f53025cd1d91b1af85d6d9e17eefa98e31ee953b", "shasum": "", "mirrors": [ { @@ -6549,7 +6560,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.3.9" + "source": "https://github.com/symfony/http-kernel/tree/v5.3.12" }, "funding": [ { @@ -6565,20 +6576,20 @@ "type": "tidelift" } ], - "time": "2021-09-28T10:25:11+00:00" + "time": "2021-11-24T08:46:46+00:00" }, { "name": "symfony/mime", - "version": "v5.3.8", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "a756033d0a7e53db389618653ae991eba5a19a11" + "reference": "dffc0684f10526db12c52fcd6238c64695426d61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/a756033d0a7e53db389618653ae991eba5a19a11", - "reference": "a756033d0a7e53db389618653ae991eba5a19a11", + "url": "https://api.github.com/repos/symfony/mime/zipball/dffc0684f10526db12c52fcd6238c64695426d61", + "reference": "dffc0684f10526db12c52fcd6238c64695426d61", "shasum": "", "mirrors": [ { @@ -6638,7 +6649,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.3.8" + "source": "https://github.com/symfony/mime/tree/v5.3.11" }, "funding": [ { @@ -6654,7 +6665,7 @@ "type": "tidelift" } ], - "time": "2021-09-10T12:30:38+00:00" + "time": "2021-11-20T16:42:42+00:00" }, { "name": "symfony/polyfill-ctype", @@ -7600,16 +7611,16 @@ }, { "name": "symfony/process", - "version": "v5.3.7", + "version": "v5.3.12", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967" + "reference": "e498803a6e95ede78e9d5646ad32a2255c033a6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/38f26c7d6ed535217ea393e05634cb0b244a1967", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967", + "url": "https://api.github.com/repos/symfony/process/zipball/e498803a6e95ede78e9d5646ad32a2255c033a6a", + "reference": "e498803a6e95ede78e9d5646ad32a2255c033a6a", "shasum": "", "mirrors": [ { @@ -7648,7 +7659,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.3.7" + "source": "https://github.com/symfony/process/tree/v5.3.12" }, "funding": [ { @@ -7664,20 +7675,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2021-11-22T22:39:13+00:00" }, { "name": "symfony/routing", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "be865017746fe869007d94220ad3f5297951811b" + "reference": "fcbc2b81d55984f04bb704c2269755fa5aaf5cca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/be865017746fe869007d94220ad3f5297951811b", - "reference": "be865017746fe869007d94220ad3f5297951811b", + "url": "https://api.github.com/repos/symfony/routing/zipball/fcbc2b81d55984f04bb704c2269755fa5aaf5cca", + "reference": "fcbc2b81d55984f04bb704c2269755fa5aaf5cca", "shasum": "", "mirrors": [ { @@ -7744,7 +7755,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.3.7" + "source": "https://github.com/symfony/routing/tree/v5.3.11" }, "funding": [ { @@ -7760,20 +7771,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:42:42+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", "shasum": "", "mirrors": [ { @@ -7784,7 +7795,11 @@ }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1" + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -7792,7 +7807,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -7829,7 +7844,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" }, "funding": [ { @@ -7845,20 +7860,20 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2021-11-04T16:48:04+00:00" }, { "name": "symfony/string", - "version": "v5.3.7", + "version": "v5.3.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5" + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/8d224396e28d30f81969f083a58763b8b9ceb0a5", - "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5", + "url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", "shasum": "", "mirrors": [ { @@ -7918,7 +7933,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.7" + "source": "https://github.com/symfony/string/tree/v5.3.10" }, "funding": [ { @@ -7934,20 +7949,20 @@ "type": "tidelift" } ], - "time": "2021-08-26T08:00:08+00:00" + "time": "2021-10-27T18:21:46+00:00" }, { "name": "symfony/translation", - "version": "v5.3.9", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "6e69f3551c1a3356cf6ea8d019bf039a0f8b6886" + "reference": "17a965c8f3b1b348cf15d903ac53942984561f8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/6e69f3551c1a3356cf6ea8d019bf039a0f8b6886", - "reference": "6e69f3551c1a3356cf6ea8d019bf039a0f8b6886", + "url": "https://api.github.com/repos/symfony/translation/zipball/17a965c8f3b1b348cf15d903ac53942984561f8a", + "reference": "17a965c8f3b1b348cf15d903ac53942984561f8a", "shasum": "", "mirrors": [ { @@ -8019,7 +8034,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.3.9" + "source": "https://github.com/symfony/translation/tree/v5.3.11" }, "funding": [ { @@ -8035,20 +8050,20 @@ "type": "tidelift" } ], - "time": "2021-08-26T08:22:53+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "95c812666f3e91db75385749fe219c5e494c7f95" + "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95", - "reference": "95c812666f3e91db75385749fe219c5e494c7f95", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e", + "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e", "shasum": "", "mirrors": [ { @@ -8066,7 +8081,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8103,7 +8118,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0" }, "funding": [ { @@ -8119,20 +8134,20 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-08-17T14:20:01+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.3.8", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "eaaea4098be1c90c8285543e1356a09c8aa5c8da" + "reference": "a029b3a11b757f9cc8693040339153b4745a913f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/eaaea4098be1c90c8285543e1356a09c8aa5c8da", - "reference": "eaaea4098be1c90c8285543e1356a09c8aa5c8da", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a029b3a11b757f9cc8693040339153b4745a913f", + "reference": "a029b3a11b757f9cc8693040339153b4745a913f", "shasum": "", "mirrors": [ { @@ -8197,7 +8212,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.3.8" + "source": "https://github.com/symfony/var-dumper/tree/v5.3.11" }, "funding": [ { @@ -8213,20 +8228,20 @@ "type": "tidelift" } ], - "time": "2021-09-24T15:59:58+00:00" + "time": "2021-11-12T11:38:27+00:00" }, { "name": "symfony/yaml", - "version": "v5.3.6", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7" + "reference": "226638aa877bc4104e619a15f27d8141cd6b4e4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", + "url": "https://api.github.com/repos/symfony/yaml/zipball/226638aa877bc4104e619a15f27d8141cd6b4e4a", + "reference": "226638aa877bc4104e619a15f27d8141cd6b4e4a", "shasum": "", "mirrors": [ { @@ -8278,7 +8293,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.6" + "source": "https://github.com/symfony/yaml/tree/v5.3.11" }, "funding": [ { @@ -8294,7 +8309,7 @@ "type": "tidelift" } ], - "time": "2021-07-29T06:20:01+00:00" + "time": "2021-11-20T16:42:42+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -8984,86 +8999,18 @@ }, "time": "2020-07-14T10:10:34+00:00" }, - { - "name": "arcanedev/support", - "version": "7.1.2", - "source": { - "type": "git", - "url": "https://github.com/ARCANEDEV/Support.git", - "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/7e4199d30f04c611ba5d895e663f111c217ff5a3", - "reference": "7e4199d30f04c611ba5d895e663f111c217ff5a3", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "illuminate/filesystem": "^7.0", - "illuminate/support": "^7.0", - "php": "^7.2.5" - }, - "require-dev": { - "orchestra/testbench": "^5.0", - "phpunit/phpunit": "^8.0|^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.x-dev" - } - }, - "autoload": { - "psr-4": { - "Arcanedev\\Support\\": "src/" - }, - "files": [ - "helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "ARCANEDEV", - "email": "arcanedev.maroc@gmail.com", - "homepage": "https://github.com/arcanedev-maroc" - } - ], - "description": "ARCANEDEV Support Helpers", - "homepage": "https://github.com/ARCANEDEV/Support", - "keywords": [ - "arcanedev", - "arcanesoft", - "laravel", - "support" - ], - "support": { - "issues": "https://github.com/ARCANEDEV/Support/issues", - "source": "https://github.com/ARCANEDEV/Support/tree/7.1.2" - }, - "time": "2020-03-12T09:28:19+00:00" - }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.6.2", + "version": "v3.6.4", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a" + "reference": "3c2d678269ba60e178bcd93e36f6a91c36b727f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/70b89754913fd89fef16d0170a91dbc2a5cd633a", - "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3c2d678269ba60e178bcd93e36f6a91c36b727f1", + "reference": "3c2d678269ba60e178bcd93e36f6a91c36b727f1", "shasum": "", "mirrors": [ { @@ -9076,7 +9023,7 @@ "illuminate/routing": "^6|^7|^8", "illuminate/session": "^6|^7|^8", "illuminate/support": "^6|^7|^8", - "maximebf/debugbar": "^1.16.3", + "maximebf/debugbar": "^1.17.2", "php": ">=7.2", "symfony/debug": "^4.3|^5", "symfony/finder": "^4.3|^5" @@ -9090,7 +9037,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.5-dev" + "dev-master": "3.6-dev" }, "laravel": { "providers": [ @@ -9129,7 +9076,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.2" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.4" }, "funding": [ { @@ -9141,7 +9088,7 @@ "type": "github" } ], - "time": "2021-06-14T14:29:26+00:00" + "time": "2021-10-21T10:57:31+00:00" }, { "name": "barryvdh/laravel-ide-helper", @@ -9347,16 +9294,16 @@ }, { "name": "composer/composer", - "version": "2.1.9", + "version": "2.1.12", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "e558c88f28d102d497adec4852802c0dc14c7077" + "reference": "6e3c2b122e0ec41a7e885fcaf19fa15e2e0819a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/e558c88f28d102d497adec4852802c0dc14c7077", - "reference": "e558c88f28d102d497adec4852802c0dc14c7077", + "url": "https://api.github.com/repos/composer/composer/zipball/6e3c2b122e0ec41a7e885fcaf19fa15e2e0819a0", + "reference": "6e3c2b122e0ec41a7e885fcaf19fa15e2e0819a0", "shasum": "", "mirrors": [ { @@ -9373,7 +9320,7 @@ "composer/xdebug-handler": "^2.0", "justinrainbow/json-schema": "^5.2.11", "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0", + "psr/log": "^1.0 || ^2.0", "react/promise": "^1.2 || ^2.7", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.0", @@ -9397,7 +9344,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-main": "2.1-dev" } }, "autoload": { @@ -9431,7 +9378,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.1.9" + "source": "https://github.com/composer/composer/tree/2.1.12" }, "funding": [ { @@ -9447,7 +9394,7 @@ "type": "tidelift" } ], - "time": "2021-10-05T07:47:38+00:00" + "time": "2021-11-09T15:02:04+00:00" }, { "name": "composer/metadata-minifier", @@ -9526,16 +9473,16 @@ }, { "name": "composer/semver", - "version": "3.2.5", + "version": "3.2.6", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9" + "reference": "83e511e247de329283478496f7a1e114c9517506" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9", + "url": "https://api.github.com/repos/composer/semver/zipball/83e511e247de329283478496f7a1e114c9517506", + "reference": "83e511e247de329283478496f7a1e114c9517506", "shasum": "", "mirrors": [ { @@ -9593,7 +9540,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.5" + "source": "https://github.com/composer/semver/tree/3.2.6" }, "funding": [ { @@ -9609,20 +9556,20 @@ "type": "tidelift" } ], - "time": "2021-05-24T12:41:47+00:00" + "time": "2021-10-25T11:34:17+00:00" }, { "name": "composer/spdx-licenses", - "version": "1.5.5", + "version": "1.5.6", "source": { "type": "git", "url": "https://github.com/composer/spdx-licenses.git", - "reference": "de30328a7af8680efdc03e396aad24befd513200" + "reference": "a30d487169d799745ca7280bc90fdfa693536901" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/de30328a7af8680efdc03e396aad24befd513200", - "reference": "de30328a7af8680efdc03e396aad24befd513200", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/a30d487169d799745ca7280bc90fdfa693536901", + "reference": "a30d487169d799745ca7280bc90fdfa693536901", "shasum": "", "mirrors": [ { @@ -9635,7 +9582,8 @@ "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 7" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { @@ -9678,7 +9626,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.5" + "source": "https://github.com/composer/spdx-licenses/tree/1.5.6" }, "funding": [ { @@ -9694,7 +9642,7 @@ "type": "tidelift" } ], - "time": "2020-12-03T16:04:16+00:00" + "time": "2021-11-18T10:14:14+00:00" }, { "name": "composer/xdebug-handler", @@ -9914,16 +9862,16 @@ }, { "name": "facade/ignition", - "version": "2.15.0", + "version": "2.17.1", "source": { "type": "git", "url": "https://github.com/facade/ignition.git", - "reference": "3ee6e94815462bcf09bca0efc1c9069685df8da3" + "reference": "317f6110c1977b50e06365bbb155fbe5079035ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/3ee6e94815462bcf09bca0efc1c9069685df8da3", - "reference": "3ee6e94815462bcf09bca0efc1c9069685df8da3", + "url": "https://api.github.com/repos/facade/ignition/zipball/317f6110c1977b50e06365bbb155fbe5079035ec", + "reference": "317f6110c1977b50e06365bbb155fbe5079035ec", "shasum": "", "mirrors": [ { @@ -9946,6 +9894,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.14", + "livewire/livewire": "^2.4", "mockery/mockery": "^1.3", "orchestra/testbench": "^5.0|^6.0", "psalm/plugin-laravel": "^1.2" @@ -9993,7 +9942,7 @@ "issues": "https://github.com/facade/ignition/issues", "source": "https://github.com/facade/ignition" }, - "time": "2021-10-11T15:24:06+00:00" + "time": "2021-11-25T10:26:30+00:00" }, { "name": "facade/ignition-contracts", @@ -10410,16 +10359,16 @@ }, { "name": "maximebf/debugbar", - "version": "v1.17.1", + "version": "v1.17.3", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "0a3532556be0145603f8a9de23e76dc28eed7054" + "reference": "e8ac3499af0ea5b440908e06cc0abe5898008b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/0a3532556be0145603f8a9de23e76dc28eed7054", - "reference": "0a3532556be0145603f8a9de23e76dc28eed7054", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/e8ac3499af0ea5b440908e06cc0abe5898008b3c", + "reference": "e8ac3499af0ea5b440908e06cc0abe5898008b3c", "shasum": "", "mirrors": [ { @@ -10430,7 +10379,7 @@ }, "require": { "php": "^7.1|^8", - "psr/log": "^1.0", + "psr/log": "^1|^2|^3", "symfony/var-dumper": "^2.6|^3|^4|^5" }, "require-dev": { @@ -10475,9 +10424,9 @@ ], "support": { "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.17.1" + "source": "https://github.com/maximebf/php-debugbar/tree/v1.17.3" }, - "time": "2021-08-01T09:19:02+00:00" + "time": "2021-10-19T12:33:27+00:00" }, { "name": "mockery/mockery", @@ -11089,16 +11038,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "", "mirrors": [ { @@ -11115,7 +11064,8 @@ "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -11145,9 +11095,9 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2020-09-03T19:13:55+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -11275,16 +11225,16 @@ }, { "name": "phpseclib/phpseclib", - "version": "3.0.10", + "version": "3.0.11", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "62fcc5a94ac83b1506f52d7558d828617fac9187" + "reference": "6e794226a35159eb06f355efe59a0075a16551dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/62fcc5a94ac83b1506f52d7558d828617fac9187", - "reference": "62fcc5a94ac83b1506f52d7558d828617fac9187", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/6e794226a35159eb06f355efe59a0075a16551dd", + "reference": "6e794226a35159eb06f355efe59a0075a16551dd", "shasum": "", "mirrors": [ { @@ -11372,7 +11322,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.10" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.11" }, "funding": [ { @@ -11388,7 +11338,7 @@ "type": "tidelift" } ], - "time": "2021-08-16T04:24:45+00:00" + "time": "2021-10-27T03:01:46+00:00" }, { "name": "phpspec/prophecy", @@ -11465,16 +11415,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.7", + "version": "9.2.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" + "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", + "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", "shasum": "", "mirrors": [ { @@ -11487,7 +11437,7 @@ "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.12.0", + "nikic/php-parser": "^4.13.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -11536,7 +11486,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.9" }, "funding": [ { @@ -11544,7 +11494,7 @@ "type": "github" } ], - "time": "2021-09-17T05:39:03+00:00" + "time": "2021-11-19T15:21:02+00:00" }, { "name": "phpunit/php-file-iterator", @@ -12447,16 +12397,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", "shasum": "", "mirrors": [ { @@ -12511,14 +12461,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" }, "funding": [ { @@ -12526,7 +12476,7 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2021-11-11T14:18:36+00:00" }, { "name": "sebastian/global-state", @@ -13430,11 +13380,11 @@ "prefer-lowest": false, "platform": { "php": "^7.2.5", + "ext-dom": "*", "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "ext-simplexml": "*", - "ext-dom": "*" + "ext-simplexml": "*" }, "platform-dev": [], "plugin-api-version": "2.1.0" diff --git a/config/log-viewer.php b/config/log-viewer.php new file mode 100644 index 00000000..cbd9615a --- /dev/null +++ b/config/log-viewer.php @@ -0,0 +1,136 @@ + storage_path('logs'), + + /* ----------------------------------------------------------------- + | Log files pattern + | ----------------------------------------------------------------- + */ + + 'pattern' => [ + 'prefix' => Filesystem::PATTERN_PREFIX, // 'laravel-' + 'date' => Filesystem::PATTERN_DATE, // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]' + 'extension' => Filesystem::PATTERN_EXTENSION, // '.log' + ], + + /* ----------------------------------------------------------------- + | Locale + | ----------------------------------------------------------------- + | Supported locales : + | 'auto', 'ar', 'bg', 'de', 'en', 'es', 'et', 'fa', 'fr', 'hu', 'hy', 'id', 'it', 'ja', 'ko', 'nl', + | 'pl', 'pt-BR', 'ro', 'ru', 'sv', 'th', 'tr', 'zh-TW', 'zh' + */ + + 'locale' => 'auto', + + /* ----------------------------------------------------------------- + | Theme + | ----------------------------------------------------------------- + | Supported themes : + | 'bootstrap-3', 'bootstrap-4' + | Make your own theme by adding a folder to the views directory and specifying it here. + */ + + 'theme' => 'remark', + + /* ----------------------------------------------------------------- + | Route settings + | ----------------------------------------------------------------- + */ + + 'route' => [ + 'enabled' => true, + + 'attributes' => [ + 'prefix' => 'admin/log-viewer', + 'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : ['web', 'admin'], + ], + ], + + /* ----------------------------------------------------------------- + | Log entries per page + | ----------------------------------------------------------------- + | This defines how many logs & entries are displayed per page. + */ + + 'per-page' => 30, + + /* ----------------------------------------------------------------- + | Download settings + | ----------------------------------------------------------------- + */ + + 'download' => [ + 'prefix' => 'laravel-', + + 'extension' => 'log', + ], + + /* ----------------------------------------------------------------- + | Menu settings + | ----------------------------------------------------------------- + */ + + 'menu' => [ + 'filter-route' => 'log-viewer::logs.filter', + + 'icons-enabled' => true, + ], + + /* ----------------------------------------------------------------- + | Icons + | ----------------------------------------------------------------- + */ + + 'icons' => [ + 'all' => 'fas fa-fw fa-list-ul', + 'emergency' => 'far fa-fw fa-life-ring', + 'alert' => 'fas fa-fw fa-bullhorn', + 'critical' => 'fas fa-fw fa-heartbeat', + 'error' => 'fas fa-fw fa-times-circle', + 'warning' => 'fas fa-fw fa-exclamation-triangle', + 'notice' => 'fas fa-fw fa-exclamation-circle', + 'info' => 'fas fa-fw fa-info-circle', + 'debug' => 'fas fa-fw fa-bug', + ], + + /* ----------------------------------------------------------------- + | Colors + | ----------------------------------------------------------------- + */ + + 'colors' => [ + 'levels' => [ + 'empty' => '#D1D1D1', + 'all' => '#8A8A8A', + 'emergency' => '#E62020', + 'alert' => '#FF4C52', + 'critical' => '#FF666B', + 'error' => '#F57D1B', + 'warning' => '#FCB900', + 'notice' => '#589FFC', + 'info' => '#28C0DE', + 'debug' => '#526069', + ], + ], + + /* ----------------------------------------------------------------- + | Strings to highlight in stack trace + | ----------------------------------------------------------------- + */ + + 'highlight' => [ + '^#\d+', + '^Stack trace:', + ], + +]; diff --git a/database/migrations/2021_11_25_211107_change_log_permission.php b/database/migrations/2021_11_25_211107_change_log_permission.php new file mode 100644 index 00000000..313df8b7 --- /dev/null +++ b/database/migrations/2021_11_25_211107_change_log_permission.php @@ -0,0 +1,35 @@ +first(); + if ($permssion) { + $permssion->name = 'log-viewer::dashboard,log-viewer::logs.*'; + $permssion->save(); + } + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + $permssion = Permission::whereName('log-viewer::dashboard,log-viewer::logs.*')->first(); + if ($permssion) { + $permssion->name = 'admin.log.viewer'; + $permssion->save(); + } + } +} diff --git a/resources/lang/en/error.php b/resources/lang/en/errors.php similarity index 100% rename from resources/lang/en/error.php rename to resources/lang/en/errors.php diff --git a/resources/lang/zh_CN/error.php b/resources/lang/zh_CN/errors.php similarity index 100% rename from resources/lang/zh_CN/error.php rename to resources/lang/zh_CN/errors.php diff --git a/resources/views/admin/article/create.blade.php b/resources/views/admin/article/create.blade.php index f514c864..a4eb1a25 100644 --- a/resources/views/admin/article/create.blade.php +++ b/resources/views/admin/article/create.blade.php @@ -61,7 +61,7 @@
diff --git a/resources/views/admin/article/edit.blade.php b/resources/views/admin/article/edit.blade.php index 06e1843a..f922b668 100644 --- a/resources/views/admin/article/edit.blade.php +++ b/resources/views/admin/article/edit.blade.php @@ -87,7 +87,7 @@ @endif
- 图标列表 | 格式: fa-windows + 图标列表 | 格式: fa-windows @endif diff --git a/resources/views/admin/layouts.blade.php b/resources/views/admin/layouts.blade.php index 49598a79..c3111ac7 100644 --- a/resources/views/admin/layouts.blade.php +++ b/resources/views/admin/layouts.blade.php @@ -413,9 +413,9 @@ @endcan - @can('admin.log.viewer') - diff --git a/resources/views/auth/error.blade.php b/resources/views/auth/error.blade.php index 84a0f524..42cbc455 100644 --- a/resources/views/auth/error.blade.php +++ b/resources/views/auth/error.blade.php @@ -1,5 +1,5 @@ @extends('_layout') -@section('title', sysConfig('website_name').' - '.trans('error.title')) +@section('title', sysConfig('website_name').' - '.trans('errors.title')) @section('layout_css') @endsection @@ -8,9 +8,9 @@
-

{{trans('error.whoops')}}

+

{{trans('errors.whoops')}}

-

{{trans('error.report')}}

+

{{trans('errors.report')}}

{!! $message !!}
diff --git a/resources/views/auth/safe.blade.php b/resources/views/auth/safe.blade.php index 4e91428f..5d42b7e9 100644 --- a/resources/views/auth/safe.blade.php +++ b/resources/views/auth/safe.blade.php @@ -1,12 +1,12 @@ @extends('auth.layouts') -@section('title', sysConfig('website_name').' - '.trans('error.safe_enter')) +@section('title', sysConfig('website_name').' - '.trans('errors.safe_enter')) @section('content')
- +
diff --git a/resources/views/vendor/log-viewer/remark/dashboard.blade.php b/resources/views/vendor/log-viewer/remark/dashboard.blade.php new file mode 100644 index 00000000..a7c4842e --- /dev/null +++ b/resources/views/vendor/log-viewer/remark/dashboard.blade.php @@ -0,0 +1,57 @@ +@extends('vendor.log-viewer.remark.layouts') + +@section('content') + + +
+
+
+ +
+
+ +
+
+ @foreach($percents as $level => $item) +
+
+
+ {!! log_styler()->icon($level) !!} +
+ +
+ {{ $item['name'] }} + + {{ $item['count'] }} @lang('entries') - {!! $item['percent'] !!} % + +
+
+
+
+
+
+ @endforeach +
+
+
+@endsection + +@section('javascript') + +@endsection diff --git a/resources/views/vendor/log-viewer/remark/layouts.blade.php b/resources/views/vendor/log-viewer/remark/layouts.blade.php new file mode 100644 index 00000000..06840570 --- /dev/null +++ b/resources/views/vendor/log-viewer/remark/layouts.blade.php @@ -0,0 +1,213 @@ +@extends('_layout') +@section('title', sysConfig('website_name')) +@section('layout_css') + + + @yield('css') +@endsection +@section('layout_content') + +
+ +
+ @yield('content') +
+
+ +@yield('modals') +@endsection +@section('layout_javascript') + + @yield('javascript') +@endsection diff --git a/resources/views/vendor/log-viewer/remark/logs.blade.php b/resources/views/vendor/log-viewer/remark/logs.blade.php new file mode 100644 index 00000000..964e7ba3 --- /dev/null +++ b/resources/views/vendor/log-viewer/remark/logs.blade.php @@ -0,0 +1,149 @@ +@extends('vendor.log-viewer.remark.layouts') + + + +@section('content') + + +
+ + + + @foreach($headers as $key => $header) + + @endforeach + + + + + @forelse($rows as $date => $row) + + @foreach($row as $key => $value) + + @endforeach + + + @empty + + + + @endforelse + +
+ @if ($key == 'date') + {{ $header }} + @else + + {{ log_styler()->icon($key) }} {{ $header }} + + @endif + @lang('Actions')
+ @if ($key == 'date') + {{ $value }} + @elseif ($value == 0) + @else + + {{ $value }} + + @endif + + + + + + + + +
+ @lang('The list of logs is empty!') +
+
+ + {{ $rows->render() }} +@endsection + +@section('modals') + {{-- DELETE MODAL --}} + +@endsection + +@section('javascript') + +@endsection diff --git a/resources/views/vendor/log-viewer/remark/show.blade.php b/resources/views/vendor/log-viewer/remark/show.blade.php new file mode 100644 index 00000000..ebccbe0b --- /dev/null +++ b/resources/views/vendor/log-viewer/remark/show.blade.php @@ -0,0 +1,288 @@ + + +@extends('vendor.log-viewer.remark.layouts') + +@section('content') + + +
+
+ {{-- Log Menu --}} +
+ @foreach($log->menu() as $levelKey => $item) + @if ($item['count'] === 0) + + {!! $item['icon'] !!} {{ $item['name'] }} + {{ $item['count'] }} + + @else + + {!! $item['icon'] !!} {{ $item['name'] }} + {{ $item['count'] }} + + @endif + @endforeach +
+
+
+ {{-- Log Details --}} +
+
+

@lang('Log info') :

+
+ + @lang('Download') + + +
+
+
+
+ + + + + + + + + + + + + + + + + +
@lang('File path') :{{ $log->getPath() }}
@lang('Log entries') : + {{ $entries->total() }} + @lang('Size') : + {{ $log->size() }} + @lang('Created at') : + {{ $log->createdAt() }} + @lang('Updated at') : + {{ $log->updatedAt() }} +
+
+
+ +
+ + {{-- Log Entries --}} +
+
+

@lang('Log info') :

+ @if ($entries->hasPages()) +
+
+ {{ __('Page :current of :last', ['current' => $entries->currentPage(), 'last' => $entries->lastPage()]) }} +
+
+ @endif +
+
+
+ + + + + + + + + + + + + @forelse($entries as $key => $entry) + + + + + + + + + + @if ($entry->hasStack() || $entry->hasContext()) + + + + @endif + @empty + + + + @endforelse + +
ID@lang('ENV')@lang('Level')@lang('Time')@lang('Header')@lang('Actions')
+ {{ $key+1 }} + + {{ $entry->env }} + + + {!! $entry->level() !!} + + + + {{ $entry->datetime->format('H:i:s') }} + + + {{ $entry->header }} + + @if ($entry->hasStack()) + + @endif + + @if ($entry->hasContext()) + + @endif +
+ @if ($entry->hasStack()) +
+ {!! $entry->stack() !!} +
+ @endif + + @if ($entry->hasContext()) +
+
{{ $entry->context() }}
+
+ @endif +
+ @lang('The list of logs is empty!') +
+
+
+ +
+
+
+@endsection + +@section('modals') + {{-- DELETE MODAL --}} + +@endsection + +@section('javascript') + +@endsection diff --git a/routes/admin.php b/routes/admin.php index 7c4d794a..49b0339e 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -112,6 +112,4 @@ Route::prefix('admin')->name('admin.')->group(function () { Route::post('setConfig', 'SystemController@setConfig')->name('system.update'); // 设置某个配置项 Route::post('sendTestNotification', 'SystemController@sendTestNotification')->name('test.notify'); //推送通知测试 }); - - Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index')->name('log.viewer'); // 系统运行日志 });