From 1457baabf58a19f6b33d9f676469d7f2fa6b0865 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 20 Jan 2024 22:45:44 +0300 Subject: [PATCH] use the new Toggle Buttons --- composer.json | 1 - composer.lock | 578 ++++++++++++--------- src/Configuration.php | 239 --------- src/Filament/Resources/LibraryResource.php | 8 +- src/Filament/Resources/PageResource.php | 9 +- src/Filament/Resources/PostResource.php | 10 +- 6 files changed, 354 insertions(+), 491 deletions(-) diff --git a/composer.json b/composer.json index 0f378a2..68bc612 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,6 @@ "spatie/laravel-medialibrary": "^10.0.0", "spatie/laravel-sluggable": "^3.3", "spatie/laravel-tags": "^4.4", - "andrewdwallo/filament-selectify": "^2.0", "lara-zeus/core": "^3.1" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 7aac969..2f20345 100644 --- a/composer.lock +++ b/composer.lock @@ -4,71 +4,73 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1b00f40f5a767d959c64b8bd0d7b2571", + "content-hash": "0c069c343a7e8087652f22423553085f", "packages": [ { - "name": "andrewdwallo/filament-selectify", - "version": "v2.0.6", + "name": "anourvalar/eloquent-serialize", + "version": "1.2.17", "source": { "type": "git", - "url": "https://github.com/andrewdwallo/filament-selectify.git", - "reference": "fcd32d3b1f516e53d610c69a529f9e8730f99afb" + "url": "https://github.com/AnourValar/eloquent-serialize.git", + "reference": "1fcfdd5f41a0d2e7c8cf1d37e7227357bb827aef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/andrewdwallo/filament-selectify/zipball/fcd32d3b1f516e53d610c69a529f9e8730f99afb", - "reference": "fcd32d3b1f516e53d610c69a529f9e8730f99afb", + "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/1fcfdd5f41a0d2e7c8cf1d37e7227357bb827aef", + "reference": "1fcfdd5f41a0d2e7c8cf1d37e7227357bb827aef", "shasum": "" }, "require": { - "filament/forms": "^3.0", - "php": "^8.1", - "spatie/laravel-package-tools": "^1.15.0" + "laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0", + "php": "^7.1|^8.0" }, "require-dev": { - "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.9", - "orchestra/testbench": "^8.0", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-arch": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0" + "friendsofphp/php-cs-fixer": "^3.26", + "laravel/legacy-factories": "^1.1", + "orchestra/testbench": "~3.6.0|~3.7.0|~3.8.0|^4.0|^5.0|^6.0|^7.0|^8.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5", + "psalm/plugin-laravel": "^2.8", + "squizlabs/php_codesniffer": "^3.7" }, "type": "library", "extra": { "laravel": { - "providers": [ - "Wallo\\FilamentSelectify\\FilamentSelectifyServiceProvider" - ] + "aliases": { + "EloquentSerialize": "AnourValar\\EloquentSerialize\\Facades\\EloquentSerializeFacade" + } } }, "autoload": { "psr-4": { - "Wallo\\FilamentSelectify\\": "src/" + "AnourValar\\EloquentSerialize\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Andrew Wallo", - "email": "andrewdwallo@gmail.com", - "role": "Developer" - } - ], - "description": "This is my package filament-selectify", - "homepage": "https://github.com/andrewdwallo/filament-selectify", + "description": "Laravel Query Builder (Eloquent) serialization", + "homepage": "https://github.com/AnourValar/eloquent-serialize", "keywords": [ - "andrewdwallo", - "filament-selectify", - "laravel" + "anourvalar", + "builder", + "copy", + "eloquent", + "job", + "laravel", + "query", + "querybuilder", + "queue", + "serializable", + "serialization", + "serialize" ], "support": { - "issues": "https://github.com/andrewdwallo/filament-selectify/issues", - "source": "https://github.com/andrewdwallo/filament-selectify/tree/v2.0.6" + "issues": "https://github.com/AnourValar/eloquent-serialize/issues", + "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.2.17" }, - "time": "2023-10-20T05:27:17+00:00" + "time": "2023-12-06T15:54:01+00:00" }, { "name": "archtechx/laravel-seo", @@ -1051,16 +1053,16 @@ }, { "name": "doctrine/inflector", - "version": "2.0.8", + "version": "2.0.9", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff" + "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/f9301a5b2fb1216b2b08f02ba04dc45423db6bff", - "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/2930cd5ef353871c821d5c43ed030d39ac8cfe65", + "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65", "shasum": "" }, "require": { @@ -1122,7 +1124,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.8" + "source": "https://github.com/doctrine/inflector/tree/2.0.9" }, "funding": [ { @@ -1138,7 +1140,7 @@ "type": "tidelift" } ], - "time": "2023-06-16T13:40:37+00:00" + "time": "2024-01-15T18:05:13+00:00" }, { "name": "doctrine/lexer", @@ -1347,19 +1349,20 @@ }, { "name": "filament/actions", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "d615834a6785b87a6eaf59d4935eeb3759683d5d" + "reference": "6060641d19b841c5f29fd303330c13578fb211f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/d615834a6785b87a6eaf59d4935eeb3759683d5d", - "reference": "d615834a6785b87a6eaf59d4935eeb3759683d5d", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/6060641d19b841c5f29fd303330c13578fb211f9", + "reference": "6060641d19b841c5f29fd303330c13578fb211f9", "shasum": "" }, "require": { + "anourvalar/eloquent-serialize": "^1.2", "filament/forms": "self.version", "filament/infolists": "self.version", "filament/notifications": "self.version", @@ -1368,6 +1371,7 @@ "illuminate/database": "^10.0", "illuminate/support": "^10.0", "league/csv": "9.11.0", + "openspout/openspout": "^4.23", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -1394,20 +1398,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-04T20:29:07+00:00" + "time": "2024-01-19T14:01:23+00:00" }, { "name": "filament/filament", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "04a7b41e1ac425a931b5ea5672fd394e2d80aa74" + "reference": "ebef3fec0014891adc2466def38e4e7ec685b82a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/04a7b41e1ac425a931b5ea5672fd394e2d80aa74", - "reference": "04a7b41e1ac425a931b5ea5672fd394e2d80aa74", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/ebef3fec0014891adc2466def38e4e7ec685b82a", + "reference": "ebef3fec0014891adc2466def38e4e7ec685b82a", "shasum": "" }, "require": { @@ -1459,20 +1463,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:20+00:00" + "time": "2024-01-19T14:01:29+00:00" }, { "name": "filament/forms", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "dd9a44cff7bf647fff4faea3de4bd2166243a138" + "reference": "ac0cb821bf61a34b280e31edeeb8bb134581eb7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/dd9a44cff7bf647fff4faea3de4bd2166243a138", - "reference": "dd9a44cff7bf647fff4faea3de4bd2166243a138", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/ac0cb821bf61a34b280e31edeeb8bb134581eb7a", + "reference": "ac0cb821bf61a34b280e31edeeb8bb134581eb7a", "shasum": "" }, "require": { @@ -1515,20 +1519,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:14+00:00" + "time": "2024-01-19T14:01:23+00:00" }, { "name": "filament/infolists", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "2515985792f32c68984ad2ea6b974b7342829e29" + "reference": "3270453ce6301bba874fb205774a73da8ec51aa6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/2515985792f32c68984ad2ea6b974b7342829e29", - "reference": "2515985792f32c68984ad2ea6b974b7342829e29", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/3270453ce6301bba874fb205774a73da8ec51aa6", + "reference": "3270453ce6301bba874fb205774a73da8ec51aa6", "shasum": "" }, "require": { @@ -1566,20 +1570,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:23+00:00" + "time": "2024-01-19T14:01:24+00:00" }, { "name": "filament/notifications", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "4f5634f9df312050efa3a035c543add6cec0e3a2" + "reference": "c5f4f51d949fafc52643f2be654a4da92422836c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/4f5634f9df312050efa3a035c543add6cec0e3a2", - "reference": "4f5634f9df312050efa3a035c543add6cec0e3a2", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/c5f4f51d949fafc52643f2be654a4da92422836c", + "reference": "c5f4f51d949fafc52643f2be654a4da92422836c", "shasum": "" }, "require": { @@ -1618,20 +1622,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-28T15:54:27+00:00" + "time": "2024-01-19T14:01:21+00:00" }, { "name": "filament/spatie-laravel-media-library-plugin", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-media-library-plugin.git", - "reference": "025bcacceea9368742e3a53257ce222906ef7888" + "reference": "6624dd542ce9f5f15df6aa4edb4bbf2979a627a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-media-library-plugin/zipball/025bcacceea9368742e3a53257ce222906ef7888", - "reference": "025bcacceea9368742e3a53257ce222906ef7888", + "url": "https://api.github.com/repos/filamentphp/spatie-laravel-media-library-plugin/zipball/6624dd542ce9f5f15df6aa4edb4bbf2979a627a0", + "reference": "6624dd542ce9f5f15df6aa4edb4bbf2979a627a0", "shasum": "" }, "require": { @@ -1655,20 +1659,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:14+00:00" + "time": "2024-01-18T11:11:50+00:00" }, { "name": "filament/spatie-laravel-tags-plugin", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-tags-plugin.git", - "reference": "2c19f7bf9fec9294f0bb05665810a247d247d57c" + "reference": "dad89a48c92bb9af6df7895d60324a2f95bbc220" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-tags-plugin/zipball/2c19f7bf9fec9294f0bb05665810a247d247d57c", - "reference": "2c19f7bf9fec9294f0bb05665810a247d247d57c", + "url": "https://api.github.com/repos/filamentphp/spatie-laravel-tags-plugin/zipball/dad89a48c92bb9af6df7895d60324a2f95bbc220", + "reference": "dad89a48c92bb9af6df7895d60324a2f95bbc220", "shasum": "" }, "require": { @@ -1692,20 +1696,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-04T20:29:07+00:00" + "time": "2024-01-18T11:11:52+00:00" }, { "name": "filament/spatie-laravel-translatable-plugin", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-translatable-plugin.git", - "reference": "9a0d80a2229fb29a90535df801e96604e3649ea2" + "reference": "1db2f8a46f23608b17531b3d5476681a35d9ac9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-translatable-plugin/zipball/9a0d80a2229fb29a90535df801e96604e3649ea2", - "reference": "9a0d80a2229fb29a90535df801e96604e3649ea2", + "url": "https://api.github.com/repos/filamentphp/spatie-laravel-translatable-plugin/zipball/1db2f8a46f23608b17531b3d5476681a35d9ac9c", + "reference": "1db2f8a46f23608b17531b3d5476681a35d9ac9c", "shasum": "" }, "require": { @@ -1737,20 +1741,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-12-24T21:16:40+00:00" + "time": "2024-01-15T20:39:09+00:00" }, { "name": "filament/support", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "332308fdd61b67c8d8e7864029d8f6a85b99d49a" + "reference": "bba54ccc077198761c90ba1a498099d4130cb11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/332308fdd61b67c8d8e7864029d8f6a85b99d49a", - "reference": "332308fdd61b67c8d8e7864029d8f6a85b99d49a", + "url": "https://api.github.com/repos/filamentphp/support/zipball/bba54ccc077198761c90ba1a498099d4130cb11c", + "reference": "bba54ccc077198761c90ba1a498099d4130cb11c", "shasum": "" }, "require": { @@ -1794,20 +1798,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:20+00:00" + "time": "2024-01-19T14:01:22+00:00" }, { "name": "filament/tables", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "9efcf3f0b8395b376bb8eace47f11ed0830f8c09" + "reference": "11605d47690cdd04226e1770d07902cf84c38f6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/9efcf3f0b8395b376bb8eace47f11ed0830f8c09", - "reference": "9efcf3f0b8395b376bb8eace47f11ed0830f8c09", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/11605d47690cdd04226e1770d07902cf84c38f6f", + "reference": "11605d47690cdd04226e1770d07902cf84c38f6f", "shasum": "" }, "require": { @@ -1847,20 +1851,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-08T12:59:16+00:00" + "time": "2024-01-19T14:01:23+00:00" }, { "name": "filament/widgets", - "version": "v3.1.36", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "d9baa132c89f58f537b41cdfb319cc90d8a21e34" + "reference": "9fae19f86f50b71b9d47c87305d742ee962af573" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/d9baa132c89f58f537b41cdfb319cc90d8a21e34", - "reference": "d9baa132c89f58f537b41cdfb319cc90d8a21e34", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/9fae19f86f50b71b9d47c87305d742ee962af573", + "reference": "9fae19f86f50b71b9d47c87305d742ee962af573", "shasum": "" }, "require": { @@ -1891,7 +1895,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-01-02T23:08:01+00:00" + "time": "2024-01-15T20:39:18+00:00" }, { "name": "fruitcake/php-cors", @@ -2376,16 +2380,16 @@ }, { "name": "lara-zeus/core", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/lara-zeus/core.git", - "reference": "b9a4f3e491e7662c413a6d22672c231e356261bb" + "reference": "6ca96b96b50449657613c6123ca164ad9e935b1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lara-zeus/core/zipball/b9a4f3e491e7662c413a6d22672c231e356261bb", - "reference": "b9a4f3e491e7662c413a6d22672c231e356261bb", + "url": "https://api.github.com/repos/lara-zeus/core/zipball/6ca96b96b50449657613c6123ca164ad9e935b1c", + "reference": "6ca96b96b50449657613c6123ca164ad9e935b1c", "shasum": "" }, "require": { @@ -2459,20 +2463,20 @@ "type": "github" } ], - "time": "2024-01-08T19:26:14+00:00" + "time": "2024-01-09T03:41:53+00:00" }, { "name": "laravel/framework", - "version": "v10.39.0", + "version": "v10.41.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "114926b07bfb5fbf2545c03aa2ce5c8c37be650c" + "reference": "da31969bd35e6ee0bbcd9e876f88952dc754b012" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/114926b07bfb5fbf2545c03aa2ce5c8c37be650c", - "reference": "114926b07bfb5fbf2545c03aa2ce5c8c37be650c", + "url": "https://api.github.com/repos/laravel/framework/zipball/da31969bd35e6ee0bbcd9e876f88952dc754b012", + "reference": "da31969bd35e6ee0bbcd9e876f88952dc754b012", "shasum": "" }, "require": { @@ -2664,20 +2668,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-12-27T14:26:28+00:00" + "time": "2024-01-16T15:23:58+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.14", + "version": "v0.1.15", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "2219fa9c4b944add1e825c3bdb8ecae8bc503bc6" + "reference": "d814a27514d99b03c85aa42b22cfd946568636c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/2219fa9c4b944add1e825c3bdb8ecae8bc503bc6", - "reference": "2219fa9c4b944add1e825c3bdb8ecae8bc503bc6", + "url": "https://api.github.com/repos/laravel/prompts/zipball/d814a27514d99b03c85aa42b22cfd946568636c1", + "reference": "d814a27514d99b03c85aa42b22cfd946568636c1", "shasum": "" }, "require": { @@ -2719,9 +2723,9 @@ ], "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.14" + "source": "https://github.com/laravel/prompts/tree/v0.1.15" }, - "time": "2023-12-27T04:18:09+00:00" + "time": "2023-12-29T22:37:42+00:00" }, { "name": "laravel/serializable-closure", @@ -3998,16 +4002,16 @@ }, { "name": "nette/utils", - "version": "v4.0.3", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015" + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/a9d127dd6a203ce6d255b2e2db49759f7506e015", - "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015", + "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", "shasum": "" }, "require": { @@ -4078,9 +4082,9 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.3" + "source": "https://github.com/nette/utils/tree/v4.0.4" }, - "time": "2023-10-29T21:02:13+00:00" + "time": "2024-01-17T16:50:36+00:00" }, { "name": "nunomaduro/termwind", @@ -4168,6 +4172,99 @@ ], "time": "2023-02-08T01:06:31+00:00" }, + { + "name": "openspout/openspout", + "version": "v4.23.0", + "source": { + "type": "git", + "url": "https://github.com/openspout/openspout.git", + "reference": "28f6a0e45acc3377f34c26cc3866e21f0447e0c8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/openspout/openspout/zipball/28f6a0e45acc3377f34c26cc3866e21f0447e0c8", + "reference": "28f6a0e45acc3377f34c26cc3866e21f0447e0c8", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-filter": "*", + "ext-libxml": "*", + "ext-xmlreader": "*", + "ext-zip": "*", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "require-dev": { + "ext-zlib": "*", + "friendsofphp/php-cs-fixer": "^3.46.0", + "infection/infection": "^0.27.9", + "phpbench/phpbench": "^1.2.15", + "phpstan/phpstan": "^1.10.55", + "phpstan/phpstan-phpunit": "^1.3.15", + "phpstan/phpstan-strict-rules": "^1.5.2", + "phpunit/phpunit": "^10.5.5" + }, + "suggest": { + "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", + "ext-mbstring": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3.x-dev" + } + }, + "autoload": { + "psr-4": { + "OpenSpout\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adrien Loison", + "email": "adrien@box.com" + } + ], + "description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way", + "homepage": "https://github.com/openspout/openspout", + "keywords": [ + "OOXML", + "csv", + "excel", + "memory", + "odf", + "ods", + "office", + "open", + "php", + "read", + "scale", + "spreadsheet", + "stream", + "write", + "xlsx" + ], + "support": { + "issues": "https://github.com/openspout/openspout/issues", + "source": "https://github.com/openspout/openspout/tree/v4.23.0" + }, + "funding": [ + { + "url": "https://paypal.me/filippotessarotto", + "type": "custom" + }, + { + "url": "https://github.com/Slamdunk", + "type": "github" + } + ], + "time": "2024-01-09T09:30:37+00:00" + }, { "name": "phpoption/phpoption", "version": "1.9.2", @@ -5381,20 +5478,20 @@ }, { "name": "spatie/laravel-package-tools", - "version": "1.16.1", + "version": "1.16.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "cc7c991555a37f9fa6b814aa03af73f88026a83d" + "reference": "e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/cc7c991555a37f9fa6b814aa03af73f88026a83d", - "reference": "cc7c991555a37f9fa6b814aa03af73f88026a83d", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15", + "reference": "e62eeb1fe8a8a0b2e83227a6c279c8c59f7d3a15", "shasum": "" }, "require": { - "illuminate/contracts": "^9.28|^10.0", + "illuminate/contracts": "^9.28|^10.0|^11.0", "php": "^8.0" }, "require-dev": { @@ -5429,7 +5526,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.1" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.2" }, "funding": [ { @@ -5437,7 +5534,7 @@ "type": "github" } ], - "time": "2023-08-23T09:04:39+00:00" + "time": "2024-01-11T08:43:00+00:00" }, { "name": "spatie/laravel-sluggable", @@ -5500,16 +5597,16 @@ }, { "name": "spatie/laravel-tags", - "version": "4.5.1", + "version": "4.5.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-tags.git", - "reference": "fcc6c532fa0ce0d1eefe886fd44dcedcca3173aa" + "reference": "627587878731650c52d79e2132cfd1410a18d428" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-tags/zipball/fcc6c532fa0ce0d1eefe886fd44dcedcca3173aa", - "reference": "fcc6c532fa0ce0d1eefe886fd44dcedcca3173aa", + "url": "https://api.github.com/repos/spatie/laravel-tags/zipball/627587878731650c52d79e2132cfd1410a18d428", + "reference": "627587878731650c52d79e2132cfd1410a18d428", "shasum": "" }, "require": { @@ -5558,7 +5655,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-tags/issues", - "source": "https://github.com/spatie/laravel-tags/tree/4.5.1" + "source": "https://github.com/spatie/laravel-tags/tree/4.5.2" }, "funding": [ { @@ -5566,7 +5663,7 @@ "type": "github" } ], - "time": "2023-07-31T08:43:55+00:00" + "time": "2024-01-19T22:10:13+00:00" }, { "name": "spatie/laravel-translatable", @@ -8791,16 +8888,16 @@ }, { "name": "larastan/larastan", - "version": "v2.8.0", + "version": "v2.8.1", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "d60c1a6d49fcbb54b78922a955a55820abdbe3c7" + "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/d60c1a6d49fcbb54b78922a955a55820abdbe3c7", - "reference": "d60c1a6d49fcbb54b78922a955a55820abdbe3c7", + "url": "https://api.github.com/repos/larastan/larastan/zipball/b7cc6a29c457a7d4f3de90466392ae9ad3e17022", + "reference": "b7cc6a29c457a7d4f3de90466392ae9ad3e17022", "shasum": "" }, "require": { @@ -8868,7 +8965,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v2.8.0" + "source": "https://github.com/larastan/larastan/tree/v2.8.1" }, "funding": [ { @@ -8888,20 +8985,20 @@ "type": "patreon" } ], - "time": "2024-01-02T22:09:07+00:00" + "time": "2024-01-08T09:11:17+00:00" }, { "name": "laravel/pint", - "version": "v1.13.7", + "version": "v1.13.9", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "4157768980dbd977f1c4b4cc94997416d8b30ece" + "reference": "e3e269cc5d874c8efd2dc7962b1c7ff2585fe525" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/4157768980dbd977f1c4b4cc94997416d8b30ece", - "reference": "4157768980dbd977f1c4b4cc94997416d8b30ece", + "url": "https://api.github.com/repos/laravel/pint/zipball/e3e269cc5d874c8efd2dc7962b1c7ff2585fe525", + "reference": "e3e269cc5d874c8efd2dc7962b1c7ff2585fe525", "shasum": "" }, "require": { @@ -8912,13 +9009,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.38.0", - "illuminate/view": "^10.30.1", + "friendsofphp/php-cs-fixer": "^3.47.0", + "illuminate/view": "^10.40.0", + "larastan/larastan": "^2.8.1", "laravel-zero/framework": "^10.3.0", - "mockery/mockery": "^1.6.6", - "nunomaduro/larastan": "^2.6.4", + "mockery/mockery": "^1.6.7", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.24.2" + "pestphp/pest": "^2.31.0" }, "bin": [ "builds/pint" @@ -8954,29 +9051,29 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-12-05T19:43:12+00:00" + "time": "2024-01-16T17:39:29+00:00" }, { "name": "laravel/tinker", - "version": "v2.8.2", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "b936d415b252b499e8c3b1f795cd4fc20f57e1f3" + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/b936d415b252b499e8c3b1f795cd4fc20f57e1f3", - "reference": "b936d415b252b499e8c3b1f795cd4fc20f57e1f3", + "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "php": "^7.2.5|^8.0", - "psy/psysh": "^0.10.4|^0.11.1", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0" + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", @@ -8984,13 +9081,10 @@ "phpunit/phpunit": "^8.5.8|^9.3.3" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Tinker\\TinkerServiceProvider" @@ -9021,9 +9115,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.8.2" + "source": "https://github.com/laravel/tinker/tree/v2.9.0" }, - "time": "2023-08-15T14:27:00+00:00" + "time": "2024-01-04T16:10:04+00:00" }, { "name": "mockery/mockery", @@ -9169,25 +9263,27 @@ }, { "name": "nikic/php-parser", - "version": "v4.18.0", + "version": "v5.0.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999" + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999", - "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/php-parse" @@ -9195,7 +9291,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -9219,9 +9315,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" }, - "time": "2023-12-10T21:03:43+00:00" + "time": "2024-01-07T17:17:35+00:00" }, { "name": "nunomaduro/collision", @@ -9468,24 +9564,24 @@ }, { "name": "orchestra/testbench", - "version": "v8.19.0", + "version": "v8.21.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "a3c7b35102f76135962451324703738f5551d46b" + "reference": "f2860d424e8ef7eb445b1081eab2a54d493e14b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/a3c7b35102f76135962451324703738f5551d46b", - "reference": "a3c7b35102f76135962451324703738f5551d46b", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/f2860d424e8ef7eb445b1081eab2a54d493e14b5", + "reference": "f2860d424e8ef7eb445b1081eab2a54d493e14b5", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "fakerphp/faker": "^1.21", - "laravel/framework": "^10.39", + "laravel/framework": "^10.40", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.19", + "orchestra/testbench-core": "^8.21", "orchestra/workbench": "^1.2 || ^8.2", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", @@ -9517,22 +9613,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.19.0" + "source": "https://github.com/orchestral/testbench/tree/v8.21.0" }, - "time": "2023-12-28T14:58:57+00:00" + "time": "2024-01-19T14:57:29+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.19.0", + "version": "v8.21.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "15645dd792968f48a27a26fc4f542c16d9f07e0d" + "reference": "34038bbc26dfb2305297c664efad1d5be3918ee2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/15645dd792968f48a27a26fc4f542c16d9f07e0d", - "reference": "15645dd792968f48a27a26fc4f542c16d9f07e0d", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/34038bbc26dfb2305297c664efad1d5be3918ee2", + "reference": "34038bbc26dfb2305297c664efad1d5be3918ee2", "shasum": "" }, "require": { @@ -9542,14 +9638,15 @@ }, "conflict": { "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0", - "laravel/framework": "<10.39 || >=11.0.0", + "laravel/framework": "<10.40 || >=11.0.0", "nunomaduro/collision": "<6.4.0 || >=7.0.0 <7.4.0 || >=8.0.0", + "orchestra/testbench-dusk": "<8.21.0 || >=9.0.0", "orchestra/workbench": "<1.0.0", - "phpunit/phpunit": "<9.6.0 || 10.5.4 || >=10.6.0" + "phpunit/phpunit": "<9.6.0 || >=10.6.0" }, "require-dev": { "fakerphp/faker": "^1.21", - "laravel/framework": "^10.39", + "laravel/framework": "^10.40", "laravel/pint": "^1.6", "mockery/mockery": "^1.5.1", "phpstan/phpstan": "^1.10.7", @@ -9563,14 +9660,15 @@ "brianium/paratest": "Allow using parallel testing (^6.4 || ^7.1.4).", "ext-pcntl": "Required to use all features of the console signal trapping.", "fakerphp/faker": "Allow using Faker for testing (^1.21).", - "laravel/framework": "Required for testing (^10.39).", + "laravel/framework": "Required for testing (^10.40).", "mockery/mockery": "Allow using Mockery for testing (^1.5.1).", "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.4 || ^7.4).", "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^8.0).", "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^8.0).", "phpunit/phpunit": "Allow using PHPUnit for testing (^9.6 || ^10.1).", - "symfony/yaml": "Required for CLI Commander (^6.2).", - "vlucas/phpdotenv": "Required for CLI Commander (^5.4.1)." + "symfony/process": "Required to use Orchestra\\Testbench\\remote function (^6.2).", + "symfony/yaml": "Required for Testbench CLI (^6.2).", + "vlucas/phpdotenv": "Required for Testbench CLI (^5.4.1)." }, "bin": [ "testbench" @@ -9609,7 +9707,7 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2023-12-28T14:44:29+00:00" + "time": "2024-01-19T14:40:27+00:00" }, { "name": "orchestra/workbench", @@ -9683,36 +9781,36 @@ }, { "name": "pestphp/pest", - "version": "v2.30.0", + "version": "v2.32.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "97dc32f9d24b84dd071d9e89438a19e43c833f6f" + "reference": "ac5d6c1f6754b4a6b4d16d825e5ebd4725a4f779" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/97dc32f9d24b84dd071d9e89438a19e43c833f6f", - "reference": "97dc32f9d24b84dd071d9e89438a19e43c833f6f", + "url": "https://api.github.com/repos/pestphp/pest/zipball/ac5d6c1f6754b4a6b4d16d825e5ebd4725a4f779", + "reference": "ac5d6c1f6754b4a6b4d16d825e5ebd4725a4f779", "shasum": "" }, "require": { "brianium/paratest": "^7.3.1", - "nunomaduro/collision": "^7.10.0|^8.0.1", + "nunomaduro/collision": "^7.10.0|^8.1.0", "nunomaduro/termwind": "^1.15.1|^2.0.0", "pestphp/pest-plugin": "^2.1.1", - "pestphp/pest-plugin-arch": "^2.5.0", + "pestphp/pest-plugin-arch": "^2.6.1", "php": "^8.1.0", - "phpunit/phpunit": "^10.5.5" + "phpunit/phpunit": "^10.5.7" }, "conflict": { - "phpunit/phpunit": ">10.5.5", + "phpunit/phpunit": ">10.5.7", "sebastian/exporter": "<5.1.0", "webmozart/assert": "<1.11.0" }, "require-dev": { "pestphp/pest-dev-tools": "^2.16.0", - "pestphp/pest-plugin-type-coverage": "^2.6.0", - "symfony/process": "^6.4.0|^7.0.0" + "pestphp/pest-plugin-type-coverage": "^2.8.0", + "symfony/process": "^6.4.0|^7.0.2" }, "bin": [ "bin/pest" @@ -9736,7 +9834,8 @@ "Pest\\Plugins\\Snapshot", "Pest\\Plugins\\Verbose", "Pest\\Plugins\\Version", - "Pest\\Plugins\\Parallel" + "Pest\\Plugins\\Parallel", + "Pest\\Plugins\\JUnit" ] }, "phpstan": { @@ -9775,7 +9874,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.30.0" + "source": "https://github.com/pestphp/pest/tree/v2.32.0" }, "funding": [ { @@ -9787,7 +9886,7 @@ "type": "github" } ], - "time": "2023-12-28T10:36:40+00:00" + "time": "2024-01-20T13:48:00+00:00" }, { "name": "pestphp/pest-plugin", @@ -9861,23 +9960,23 @@ }, { "name": "pestphp/pest-plugin-arch", - "version": "v2.6.0", + "version": "v2.6.1", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-arch.git", - "reference": "0741696072b5db5989d63013a7b3e83358f4dfcf" + "reference": "99e86316325e55edf66c1f86dd9f990e4e2c2321" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/0741696072b5db5989d63013a7b3e83358f4dfcf", - "reference": "0741696072b5db5989d63013a7b3e83358f4dfcf", + "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/99e86316325e55edf66c1f86dd9f990e4e2c2321", + "reference": "99e86316325e55edf66c1f86dd9f990e4e2c2321", "shasum": "" }, "require": { "nunomaduro/collision": "^7.10.0|^8.0.1", "pestphp/pest-plugin": "^2.1.1", "php": "^8.1", - "ta-tikoma/phpunit-architecture-test": "^0.8.0" + "ta-tikoma/phpunit-architecture-test": "^0.8.4" }, "require-dev": { "pestphp/pest": "^2.30.0", @@ -9916,7 +10015,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.6.0" + "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.6.1" }, "funding": [ { @@ -9928,7 +10027,7 @@ "type": "github" } ], - "time": "2024-01-05T11:06:22+00:00" + "time": "2024-01-11T11:21:05+00:00" }, { "name": "pestphp/pest-plugin-laravel", @@ -10289,16 +10388,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.7.3", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" + "reference": "fad452781b3d774e3337b0c0b245dd8e5a4455fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fad452781b3d774e3337b0c0b245dd8e5a4455fc", + "reference": "fad452781b3d774e3337b0c0b245dd8e5a4455fc", "shasum": "" }, "require": { @@ -10341,9 +10440,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.0" }, - "time": "2023-08-12T11:01:26+00:00" + "time": "2024-01-11T11:49:22+00:00" }, { "name": "phpmyadmin/sql-parser", @@ -10525,16 +10624,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.55", + "version": "1.10.56", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949" + "reference": "27816a01aea996191ee14d010f325434c0ee76fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", - "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/27816a01aea996191ee14d010f325434c0ee76fa", + "reference": "27816a01aea996191ee14d010f325434c0ee76fa", "shasum": "" }, "require": { @@ -10583,7 +10682,7 @@ "type": "tidelift" } ], - "time": "2024-01-08T12:32:40+00:00" + "time": "2024-01-15T10:43:00+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -11008,16 +11107,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.5", + "version": "10.5.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856" + "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ed21115d505b4b4f7dc7b5651464e19a2c7f7856", - "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e5c5b397a95cb0db013270a985726fcae93e61b8", + "reference": "e5c5b397a95cb0db013270a985726fcae93e61b8", "shasum": "" }, "require": { @@ -11089,7 +11188,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.5" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.7" }, "funding": [ { @@ -11105,7 +11204,7 @@ "type": "tidelift" } ], - "time": "2023-12-27T15:13:52+00:00" + "time": "2024-01-14T16:40:30+00:00" }, { "name": "pimple/pimple", @@ -11162,25 +11261,25 @@ }, { "name": "psy/psysh", - "version": "v0.11.22", + "version": "v0.12.0", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b" + "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/128fa1b608be651999ed9789c95e6e2a31b5802b", - "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d", + "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "nikic/php-parser": "^4.0 || ^3.1", - "php": "^8.0 || ^7.0.8", - "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" @@ -11191,8 +11290,7 @@ "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ "bin/psysh" @@ -11200,7 +11298,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-0.11": "0.11.x-dev" + "dev-main": "0.12.x-dev" }, "bamarni-bin": { "bin-links": false, @@ -11236,9 +11334,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.22" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.0" }, - "time": "2023-10-14T21:56:36+00:00" + "time": "2023-12-20T15:28:09+00:00" }, { "name": "sebastian/cli-parser", diff --git a/src/Configuration.php b/src/Configuration.php index 9810fc2..28d4aea 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -9,30 +9,6 @@ trait Configuration { - /** - * @deprecated deprecated since version 3.2 - * set the default path for the blog homepage. - */ - protected Closure | string $skyPrefix = 'sky'; - - /** - * @deprecated deprecated since version 3.2 - * the middleware you want to apply on all the blog routes - * for example if you want to make your blog for users only, add the middleware 'auth'. - */ - protected array $skyMiddleware = ['web']; - - /** - * @deprecated deprecated since version 3.2 - * URI prefix for each content type - */ - protected array $uriPrefix = [ - 'post' => 'post', - 'page' => 'page', - 'library' => 'library', - 'faq' => 'faq', - ]; - protected Closure | string $navigationGroupLabel = 'Sky'; /** @@ -40,59 +16,6 @@ trait Configuration */ protected array $skyModels = []; - /** - * the default editor for pages and posts, Available: - * \LaraZeus\Sky\Editors\TipTapEditor::class, - * \LaraZeus\Sky\Editors\TinyEditor::class, - * \LaraZeus\Sky\Editors\MarkdownEditor::class, - * \LaraZeus\Sky\Editors\RichEditor::class, - * - * @deprecated deprecated since version 3.2 - */ - protected string $editor = Editors\MarkdownEditor::class; - - /** - * @deprecated deprecated since version 3.2 - * - * parse the content - * you can add any parser to do str_replace or any other operation: - * - * to render Blot form by it slug: \LaraZeus\Sky\Classes\BoltParser::class, - */ - protected array $parsers = [ - \LaraZeus\Sky\Classes\BoltParser::class, - ]; - - /** - * @deprecated deprecated since version 3.2 - * - * for the frontend - */ - protected int $recentPostsLimit = 5; - - /** - * @deprecated deprecated since version 3.2 - * - * css class to apply on found search result, e.g. `bg-yellow-400`. - */ - protected string $searchResultHighlightCssClass = 'highlight'; - - /** - * @deprecated deprecated since version 3.2 - * - * supply a list of terms that will disable the search highlight to not - * destroy html structure. - */ - protected array $skipHighlightingTerms = ['iframe']; - - /** - * @deprecated deprecated since version 3.2 - * - * default featured image, set to null to disable it. - * ex: https://placehold.co/600x400 - */ - protected ?string $defaultFeaturedImage = null; - protected ?array $libraryTypes = [ 'FILE' => 'File', 'IMAGE' => 'Image', @@ -134,42 +57,6 @@ trait Configuration protected array | Closure $extraFields = []; - /* - * @deprecated deprecated since version 3.2 - */ - public function skyPrefix(Closure | string $prefix): static - { - $this->skyPrefix = $prefix; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getSkyPrefix(): Closure | string - { - return $this->evaluate($this->skyPrefix); - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function skyMiddleware(array $middleware): static - { - $this->skyMiddleware = $middleware; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getMiddleware(): array - { - return $this->skyMiddleware; - } - public function navigationGroupLabel(Closure | string $lable): static { $this->navigationGroupLabel = $lable; @@ -202,132 +89,6 @@ public static function getModel(string $model): string )[$model]; } - /* - * @deprecated deprecated since version 3.2 - */ - public function editor(string $editor): static - { - $this->editor = $editor; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getEditor(): string - { - return $this->editor; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function parsers(array $parsers): static - { - $this->parsers = $parsers; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getParsers(): array - { - return $this->parsers; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function recentPostsLimit(int $limit): static - { - $this->recentPostsLimit = $limit; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getRecentPostsLimit(): int - { - return $this->recentPostsLimit; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function uriPrefix(array $prefix): static - { - $this->uriPrefix = $prefix; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getUriPrefix(): array - { - return $this->uriPrefix; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function searchResultHighlightCssClass(string $class): static - { - $this->searchResultHighlightCssClass = $class; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getSearchResultHighlightCssClass(): string - { - return $this->searchResultHighlightCssClass; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function skipHighlightingTerms(array $skip): static - { - $this->skipHighlightingTerms = $skip; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getSkipHighlightingTerms(): array - { - return $this->skipHighlightingTerms; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function defaultFeaturedImage(string $image): static - { - $this->defaultFeaturedImage = $image; - - return $this; - } - - /* - * @deprecated deprecated since version 3.2 - */ - public function getDefaultFeaturedImage(): ?string - { - return $this->defaultFeaturedImage; - } - public function uploadDisk(Closure | string $disk): static { $this->uploadDisk = $disk; diff --git a/src/Filament/Resources/LibraryResource.php b/src/Filament/Resources/LibraryResource.php index 0b6b9c8..7a90717 100644 --- a/src/Filament/Resources/LibraryResource.php +++ b/src/Filament/Resources/LibraryResource.php @@ -8,6 +8,7 @@ use Filament\Forms\Components\SpatieTagsInput; use Filament\Forms\Components\Textarea; use Filament\Forms\Components\TextInput; +use Filament\Forms\Components\ToggleButtons; use Filament\Forms\Form; use Filament\Forms\Get; use Filament\Forms\Set; @@ -23,7 +24,6 @@ use LaraZeus\Sky\Filament\Resources\LibraryResource\Pages; use LaraZeus\Sky\Models\Library; use LaraZeus\Sky\SkyPlugin; -use Wallo\FilamentSelectify\Components\ButtonGroup; class LibraryResource extends SkyResource { @@ -83,13 +83,15 @@ public static function form(Form $form): Form ->collapsible() ->compact() ->schema([ - ButtonGroup::make('upload_or_url') - ->live() + ToggleButtons::make('upload_or_url') ->dehydrated(false) + ->hiddenLabel() + ->live() ->afterStateHydrated(function (Set $set, Get $get) { $setVal = ($get('file_path') === null) ? 'upload' : 'url'; $set('upload_or_url', $setVal); }) + ->grouped() ->options([ 'upload' => __('upload'), 'url' => __('url'), diff --git a/src/Filament/Resources/PageResource.php b/src/Filament/Resources/PageResource.php index e2f5f2b..6682adb 100644 --- a/src/Filament/Resources/PageResource.php +++ b/src/Filament/Resources/PageResource.php @@ -10,6 +10,7 @@ use Filament\Forms\Components\Tabs; use Filament\Forms\Components\Textarea; use Filament\Forms\Components\TextInput; +use Filament\Forms\Components\ToggleButtons; use Filament\Forms\Form; use Filament\Forms\Get; use Filament\Forms\Set; @@ -33,7 +34,6 @@ use LaraZeus\Sky\Filament\Resources\PageResource\Pages; use LaraZeus\Sky\Models\Post; use LaraZeus\Sky\SkyPlugin; -use Wallo\FilamentSelectify\Components\ButtonGroup; class PageResource extends SkyResource { @@ -124,14 +124,15 @@ public static function form(Form $form): Form ]), Tabs\Tab::make(__('Image'))->schema([ Placeholder::make(__('Featured Image')), - ButtonGroup::make('featured_image_type') - ->live() - ->label('') + ToggleButtons::make('featured_image_type') ->dehydrated(false) + ->hiddenLabel() + ->live() ->afterStateHydrated(function (Set $set, Get $get) { $setVal = ($get('featured_image') === null) ? 'upload' : 'url'; $set('featured_image_type', $setVal); }) + ->grouped() ->options([ 'upload' => __('upload'), 'url' => __('url'), diff --git a/src/Filament/Resources/PostResource.php b/src/Filament/Resources/PostResource.php index b0ed1bd..da990be 100644 --- a/src/Filament/Resources/PostResource.php +++ b/src/Filament/Resources/PostResource.php @@ -11,6 +11,7 @@ use Filament\Forms\Components\Tabs; use Filament\Forms\Components\Textarea; use Filament\Forms\Components\TextInput; +use Filament\Forms\Components\ToggleButtons; use Filament\Forms\Form; use Filament\Forms\Get; use Filament\Forms\Set; @@ -34,7 +35,6 @@ use LaraZeus\Sky\Filament\Resources\PostResource\Pages; use LaraZeus\Sky\Models\Post; use LaraZeus\Sky\SkyPlugin; -use Wallo\FilamentSelectify\Components\ButtonGroup; // @mixin Builder class PostResource extends SkyResource @@ -127,14 +127,16 @@ public static function form(Form $form): Form Tabs\Tab::make(__('Image'))->schema([ Placeholder::make(__('Featured Image')), - ButtonGroup::make('featured_image_type') - ->live() - ->label('') + + ToggleButtons::make('featured_image_type') ->dehydrated(false) + ->hiddenLabel() + ->live() ->afterStateHydrated(function (Set $set, Get $get) { $setVal = ($get('featured_image') === null) ? 'upload' : 'url'; $set('featured_image_type', $setVal); }) + ->grouped() ->options([ 'upload' => __('upload'), 'url' => __('url'),