paginator refactoring and implementation into the routes

This commit is contained in:
Čarodej
2022-05-24 18:19:34 +02:00
parent 31218240ae
commit b9975de700
61 changed files with 1215 additions and 829 deletions
Generated
+105 -94
View File
@@ -280,16 +280,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.222.7",
"version": "3.222.18",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "03d35eef5c509798d2c08587cfd9a7c33afe2260"
"reference": "223ca25ed10b4d4a3b1e986795b5aa86f3c04466"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/03d35eef5c509798d2c08587cfd9a7c33afe2260",
"reference": "03d35eef5c509798d2c08587cfd9a7c33afe2260",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/223ca25ed10b4d4a3b1e986795b5aa86f3c04466",
"reference": "223ca25ed10b4d4a3b1e986795b5aa86f3c04466",
"shasum": ""
},
"require": {
@@ -365,9 +365,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.222.7"
"source": "https://github.com/aws/aws-sdk-php/tree/3.222.18"
},
"time": "2022-05-06T18:16:59+00:00"
"time": "2022-05-23T18:16:59+00:00"
},
{
"name": "bacon/bacon-qr-code",
@@ -1314,16 +1314,16 @@
},
{
"name": "doctrine/cache",
"version": "2.1.1",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/cache.git",
"reference": "331b4d5dbaeab3827976273e9356b3b453c300ce"
"reference": "1ca8f21980e770095a31456042471a57bc4c68fb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce",
"reference": "331b4d5dbaeab3827976273e9356b3b453c300ce",
"url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb",
"reference": "1ca8f21980e770095a31456042471a57bc4c68fb",
"shasum": ""
},
"require": {
@@ -1333,18 +1333,12 @@
"doctrine/common": ">2.2,<2.4"
},
"require-dev": {
"alcaeus/mongo-php-adapter": "^1.1",
"cache/integration-tests": "dev-master",
"doctrine/coding-standard": "^8.0",
"mongodb/mongodb": "^1.1",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"predis/predis": "~1.0",
"doctrine/coding-standard": "^9",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"symfony/cache": "^4.4 || ^5.2 || ^6.0@dev",
"symfony/var-exporter": "^4.4 || ^5.2 || ^6.0@dev"
},
"suggest": {
"alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver"
"symfony/cache": "^4.4 || ^5.4 || ^6",
"symfony/var-exporter": "^4.4 || ^5.4 || ^6"
},
"type": "library",
"autoload": {
@@ -1393,7 +1387,7 @@
],
"support": {
"issues": "https://github.com/doctrine/cache/issues",
"source": "https://github.com/doctrine/cache/tree/2.1.1"
"source": "https://github.com/doctrine/cache/tree/2.2.0"
},
"funding": [
{
@@ -1409,7 +1403,7 @@
"type": "tidelift"
}
],
"time": "2021-07-17T14:49:29+00:00"
"time": "2022-05-20T20:07:39+00:00"
},
{
"name": "doctrine/dbal",
@@ -2962,16 +2956,16 @@
},
{
"name": "intervention/image",
"version": "2.7.1",
"version": "2.7.2",
"source": {
"type": "git",
"url": "https://github.com/Intervention/image.git",
"reference": "744ebba495319501b873a4e48787759c72e3fb8c"
"reference": "04be355f8d6734c826045d02a1079ad658322dad"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Intervention/image/zipball/744ebba495319501b873a4e48787759c72e3fb8c",
"reference": "744ebba495319501b873a4e48787759c72e3fb8c",
"url": "https://api.github.com/repos/Intervention/image/zipball/04be355f8d6734c826045d02a1079ad658322dad",
"reference": "04be355f8d6734c826045d02a1079ad658322dad",
"shasum": ""
},
"require": {
@@ -3014,8 +3008,8 @@
"authors": [
{
"name": "Oliver Vogel",
"email": "oliver@olivervogel.com",
"homepage": "http://olivervogel.com/"
"email": "oliver@intervention.io",
"homepage": "https://intervention.io/"
}
],
"description": "Image handling and manipulation library with support for Laravel integration",
@@ -3030,11 +3024,11 @@
],
"support": {
"issues": "https://github.com/Intervention/image/issues",
"source": "https://github.com/Intervention/image/tree/2.7.1"
"source": "https://github.com/Intervention/image/tree/2.7.2"
},
"funding": [
{
"url": "https://www.paypal.me/interventionphp",
"url": "https://paypal.me/interventionio",
"type": "custom"
},
{
@@ -3042,7 +3036,7 @@
"type": "github"
}
],
"time": "2021-12-16T16:49:26+00:00"
"time": "2022-05-21T17:30:32+00:00"
},
{
"name": "jaybizzle/crawler-detect",
@@ -3227,16 +3221,16 @@
},
{
"name": "laravel/fortify",
"version": "v1.12.0",
"version": "v1.13.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/fortify.git",
"reference": "a6caadc80e348755de0e1da221a6253d9f2c48f9"
"reference": "0b8e7a860f0aa4868846555f5d095d7b546ffb9c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/fortify/zipball/a6caadc80e348755de0e1da221a6253d9f2c48f9",
"reference": "a6caadc80e348755de0e1da221a6253d9f2c48f9",
"url": "https://api.github.com/repos/laravel/fortify/zipball/0b8e7a860f0aa4868846555f5d095d7b546ffb9c",
"reference": "0b8e7a860f0aa4868846555f5d095d7b546ffb9c",
"shasum": ""
},
"require": {
@@ -3286,20 +3280,20 @@
"issues": "https://github.com/laravel/fortify/issues",
"source": "https://github.com/laravel/fortify"
},
"time": "2022-03-29T14:37:05+00:00"
"time": "2022-05-05T14:52:14+00:00"
},
{
"name": "laravel/framework",
"version": "v9.11.0",
"version": "v9.13.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "598a8c84d452a66b90a3213b1d67189cc726c728"
"reference": "87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/598a8c84d452a66b90a3213b1d67189cc726c728",
"reference": "598a8c84d452a66b90a3213b1d67189cc726c728",
"url": "https://api.github.com/repos/laravel/framework/zipball/87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb",
"reference": "87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb",
"shasum": ""
},
"require": {
@@ -3465,7 +3459,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2022-05-03T14:47:20+00:00"
"time": "2022-05-17T14:07:43+00:00"
},
{
"name": "laravel/sanctum",
@@ -3606,16 +3600,16 @@
},
{
"name": "laravel/serializable-closure",
"version": "v1.1.1",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
"reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e"
"reference": "09f0e9fb61829f628205b7c94906c28740ff9540"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/9e4b005daa20b0c161f3845040046dc9ddc1d74e",
"reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/09f0e9fb61829f628205b7c94906c28740ff9540",
"reference": "09f0e9fb61829f628205b7c94906c28740ff9540",
"shasum": ""
},
"require": {
@@ -3661,7 +3655,7 @@
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
"time": "2022-02-11T19:23:53+00:00"
"time": "2022-05-16T17:09:47+00:00"
},
{
"name": "laravel/socialite",
@@ -3863,16 +3857,16 @@
},
{
"name": "league/commonmark",
"version": "2.3.0",
"version": "2.3.1",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
"reference": "32a49eb2b38fe5e5c417ab748a45d0beaab97955"
"reference": "cb36fee279f7fca01d5d9399ddd1b37e48e2eca1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/32a49eb2b38fe5e5c417ab748a45d0beaab97955",
"reference": "32a49eb2b38fe5e5c417ab748a45d0beaab97955",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/cb36fee279f7fca01d5d9399ddd1b37e48e2eca1",
"reference": "cb36fee279f7fca01d5d9399ddd1b37e48e2eca1",
"shasum": ""
},
"require": {
@@ -3965,7 +3959,7 @@
"type": "tidelift"
}
],
"time": "2022-04-07T22:37:05+00:00"
"time": "2022-05-14T15:37:39+00:00"
},
{
"name": "league/config",
@@ -4434,29 +4428,31 @@
},
{
"name": "maennchen/zipstream-php",
"version": "2.1.0",
"version": "2.2.1",
"source": {
"type": "git",
"url": "https://github.com/maennchen/ZipStream-PHP.git",
"reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58"
"reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/c4c5803cc1f93df3d2448478ef79394a5981cc58",
"reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58",
"url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/211e9ba1530ea5260b45d90c9ea252f56ec52729",
"reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729",
"shasum": ""
},
"require": {
"myclabs/php-enum": "^1.5",
"php": ">= 7.1",
"php": "^7.4 || ^8.0",
"psr/http-message": "^1.0",
"symfony/polyfill-mbstring": "^1.0"
},
"require-dev": {
"ext-zip": "*",
"guzzlehttp/guzzle": ">= 6.3",
"guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": ">= 7.5"
"php-coveralls/php-coveralls": "^2.4",
"phpunit/phpunit": "^8.5.8 || ^9.4.2",
"vimeo/psalm": "^4.1"
},
"type": "library",
"autoload": {
@@ -4493,7 +4489,7 @@
],
"support": {
"issues": "https://github.com/maennchen/ZipStream-PHP/issues",
"source": "https://github.com/maennchen/ZipStream-PHP/tree/master"
"source": "https://github.com/maennchen/ZipStream-PHP/tree/2.2.1"
},
"funding": [
{
@@ -4501,7 +4497,7 @@
"type": "open_collective"
}
],
"time": "2020-05-30T13:11:16+00:00"
"time": "2022-05-18T15:52:06+00:00"
},
{
"name": "makingcg/subscription",
@@ -4770,16 +4766,16 @@
},
{
"name": "monolog/monolog",
"version": "2.5.0",
"version": "2.6.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "4192345e260f1d51b365536199744b987e160edc"
"reference": "247918972acd74356b0a91dfaa5adcaec069b6c0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/4192345e260f1d51b365536199744b987e160edc",
"reference": "4192345e260f1d51b365536199744b987e160edc",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/247918972acd74356b0a91dfaa5adcaec069b6c0",
"reference": "247918972acd74356b0a91dfaa5adcaec069b6c0",
"shasum": ""
},
"require": {
@@ -4792,18 +4788,23 @@
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
"elasticsearch/elasticsearch": "^7",
"elasticsearch/elasticsearch": "^7 || ^8",
"ext-json": "*",
"graylog2/gelf-php": "^1.4.2",
"guzzlehttp/guzzle": "^7.4",
"guzzlehttp/psr7": "^2.2",
"mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4 || ^3",
"php-console/php-console": "^3.1.3",
"phpspec/prophecy": "^1.6.1",
"phpspec/prophecy": "^1.15",
"phpstan/phpstan": "^0.12.91",
"phpunit/phpunit": "^8.5",
"phpunit/phpunit": "^8.5.14",
"predis/predis": "^1.1",
"rollbar/rollbar": "^1.3 || ^2 || ^3",
"ruflin/elastica": ">=0.90@dev",
"swiftmailer/swiftmailer": "^5.3|^6.0"
"ruflin/elastica": "^7",
"swiftmailer/swiftmailer": "^5.3|^6.0",
"symfony/mailer": "^5.4 || ^6",
"symfony/mime": "^5.4 || ^6"
},
"suggest": {
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
@@ -4853,7 +4854,7 @@
],
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.5.0"
"source": "https://github.com/Seldaek/monolog/tree/2.6.0"
},
"funding": [
{
@@ -4865,7 +4866,7 @@
"type": "tidelift"
}
],
"time": "2022-04-08T15:43:54+00:00"
"time": "2022-05-10T09:36:00+00:00"
},
{
"name": "mtdowling/jmespath.php",
@@ -9532,16 +9533,16 @@
},
{
"name": "spatie/laravel-queueable-action",
"version": "2.14.1",
"version": "2.14.2",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-queueable-action.git",
"reference": "ce25c279ec0add73c35eae7fd7f1d8fb4da26072"
"reference": "574264fb36fed52d29a1a83dbe2a0a8860cf298b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-queueable-action/zipball/ce25c279ec0add73c35eae7fd7f1d8fb4da26072",
"reference": "ce25c279ec0add73c35eae7fd7f1d8fb4da26072",
"url": "https://api.github.com/repos/spatie/laravel-queueable-action/zipball/574264fb36fed52d29a1a83dbe2a0a8860cf298b",
"reference": "574264fb36fed52d29a1a83dbe2a0a8860cf298b",
"shasum": ""
},
"require": {
@@ -9604,7 +9605,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-queueable-action/issues",
"source": "https://github.com/spatie/laravel-queueable-action/tree/2.14.1"
"source": "https://github.com/spatie/laravel-queueable-action/tree/2.14.2"
},
"funding": [
{
@@ -9612,7 +9613,7 @@
"type": "custom"
}
],
"time": "2022-02-09T07:57:23+00:00"
"time": "2022-05-11T12:54:36+00:00"
},
{
"name": "spatie/laravel-signal-aware-command",
@@ -13683,16 +13684,16 @@
},
{
"name": "composer/spdx-licenses",
"version": "1.5.6",
"version": "1.5.7",
"source": {
"type": "git",
"url": "https://github.com/composer/spdx-licenses.git",
"reference": "a30d487169d799745ca7280bc90fdfa693536901"
"reference": "c848241796da2abf65837d51dce1fae55a960149"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/spdx-licenses/zipball/a30d487169d799745ca7280bc90fdfa693536901",
"reference": "a30d487169d799745ca7280bc90fdfa693536901",
"url": "https://api.github.com/repos/composer/spdx-licenses/zipball/c848241796da2abf65837d51dce1fae55a960149",
"reference": "c848241796da2abf65837d51dce1fae55a960149",
"shasum": ""
},
"require": {
@@ -13743,7 +13744,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.6"
"source": "https://github.com/composer/spdx-licenses/tree/1.5.7"
},
"funding": [
{
@@ -13759,7 +13760,7 @@
"type": "tidelift"
}
],
"time": "2021-11-18T10:14:14+00:00"
"time": "2022-05-23T07:37:50+00:00"
},
{
"name": "fakerphp/faker",
@@ -14517,16 +14518,16 @@
},
{
"name": "spatie/flare-client-php",
"version": "1.1.0",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/flare-client-php.git",
"reference": "ceab058852a1278d9f57a7b95f1c348e4956d866"
"reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/flare-client-php/zipball/ceab058852a1278d9f57a7b95f1c348e4956d866",
"reference": "ceab058852a1278d9f57a7b95f1c348e4956d866",
"url": "https://api.github.com/repos/spatie/flare-client-php/zipball/86a380f5b1ce839af04a08f1c8f2697184cdf23f",
"reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f",
"shasum": ""
},
"require": {
@@ -14547,6 +14548,11 @@
"spatie/phpunit-snapshot-assertions": "^4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.1.x-dev"
}
},
"autoload": {
"files": [
"src/helpers.php"
@@ -14569,7 +14575,7 @@
],
"support": {
"issues": "https://github.com/spatie/flare-client-php/issues",
"source": "https://github.com/spatie/flare-client-php/tree/1.1.0"
"source": "https://github.com/spatie/flare-client-php/tree/1.2.0"
},
"funding": [
{
@@ -14577,20 +14583,20 @@
"type": "github"
}
],
"time": "2022-03-11T13:21:28+00:00"
"time": "2022-05-16T12:13:39+00:00"
},
{
"name": "spatie/ignition",
"version": "1.2.9",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/ignition.git",
"reference": "db25202fab2d5c14613b8914a1bb374998bbf870"
"reference": "997363fbcce809b1e55f571997d49017f9c623d9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/db25202fab2d5c14613b8914a1bb374998bbf870",
"reference": "db25202fab2d5c14613b8914a1bb374998bbf870",
"url": "https://api.github.com/repos/spatie/ignition/zipball/997363fbcce809b1e55f571997d49017f9c623d9",
"reference": "997363fbcce809b1e55f571997d49017f9c623d9",
"shasum": ""
},
"require": {
@@ -14611,6 +14617,11 @@
"symfony/process": "^5.4|^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.2.x-dev"
}
},
"autoload": {
"psr-4": {
"Spatie\\Ignition\\": "src"
@@ -14647,7 +14658,7 @@
"type": "github"
}
],
"time": "2022-04-23T20:37:21+00:00"
"time": "2022-05-16T13:16:07+00:00"
},
{
"name": "spatie/laravel-ignition",