This commit is contained in:
salam committed 2026-04-21 14:46:58 +02:00
1 parent 4fa4e1a611
commit e46bda0715
10 files changed
+291 -221

No files matched your search

@@ -0,0 +1,37 @@
<?php
namespace App\Console\Commands;
use App\Models\StatistikoImport;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
class DeleteUnusedFiles extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'delete:unused-files';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Delete unused statistiko files';
/**
* Execute the console command.
*/
public function handle(): void
{
$tasks = StatistikoImport::pluck('file_name')->toArray();
collect(Storage::disk('public')->allFiles('statistiko'))
->reject(fn (string $file) => $file === '.gitignore')
->reject(fn (string $file) => in_array($file, $tasks))
->each(fn ($file) => Storage::disk('public')->delete($file));
}
}
+3
View File
@@ -12,7 +12,10 @@ class Kernel extends ConsoleKernel
*/ */
protected function schedule(Schedule $schedule): void protected function schedule(Schedule $schedule): void
{ {
$schedule->command('delete:unused-files')->daily();
$schedule->command('model:prune')->daily(); $schedule->command('model:prune')->daily();
// $schedule->command('inspire')->hourly(); // $schedule->command('inspire')->hourly();
} }
@@ -28,6 +28,7 @@ class StatistikoImportForm
FileUpload::make('file_name') FileUpload::make('file_name')
->label('Select File') ->label('Select File')
->disk('public')
->directory('statistiko') ->directory('statistiko')
->visibility('public') ->visibility('public')
->required() ->required()
@@ -69,12 +69,14 @@ class StatistikoImportsTable
->title('Import started') ->title('Import started')
), ),
DeleteAction::make() DeleteAction::make()
->successNotificationTitle('File deleted')
->label('Delete file'), ->label('Delete file'),
]), ]),
]) ])
->toolbarActions([ ->toolbarActions([
BulkActionGroup::make([ BulkActionGroup::make([
DeleteBulkAction::make(), DeleteBulkAction::make()
->successNotificationTitle('Files deleted'),
]), ]),
]); ]);
} }
+36 -9
View File
@@ -88,7 +88,7 @@ class StatistikoImporter
{ {
$now = now()->format('Y-m-d H:i:s'); $now = now()->format('Y-m-d H:i:s');
SimpleExcelReader::create(storage_path('app/private/'.$filePath)) SimpleExcelReader::create(storage_path('app/public/'.$filePath))
->getRows() ->getRows()
->chunk(1000) ->chunk(1000)
->each(function (LazyCollection $chunk) use ($now) { ->each(function (LazyCollection $chunk) use ($now) {
@@ -131,7 +131,7 @@ class StatistikoImporter
{ {
$now = now()->format('Y-m-d H:i:s'); $now = now()->format('Y-m-d H:i:s');
SimpleExcelReader::create(storage_path('app/private/'.$filePath)) SimpleExcelReader::create(storage_path('app/public/'.$filePath))
->getRows() ->getRows()
->chunk(1000) ->chunk(1000)
->each(function (LazyCollection $chunk) use ($now) { ->each(function (LazyCollection $chunk) use ($now) {
@@ -140,16 +140,43 @@ class StatistikoImporter
foreach ($chunk as $row) { foreach ($chunk as $row) {
$row = array_values($row); // print_r($row);
dd($row);
$row = array_values($row);
// dd($row);
/***
[LEAGUE] => 1
[HOME] => 2133
[AWAY] => 3024
[SS_STARTTIME_VALUE] => DateTimeImmutable Object ( [date] => 2022-08-05 18:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Vienna )
[SS_SEASON_VALUE] => 2022/2023
[GLS_H] => 0
[GLS_A] => 0
[CRN_H] => 3
[CRN_A] => 6
[FLS_H] => 5
[FLS_A] => 8
[OFS_H] => 0
[OFS_A] => 2
[SNT_H] => 2
[SNT_A] => 1
[TSH_H] => 11
[TSH_A] => 13
[CRD_H] => 1
[CRD_A] => 1
[EXPGOALSHOME_VALUE] => 1.6350036183338
[EXPGOALSAWAY_VALUE] => 0.97303070109903
[EXP_HANDICAP] => -0.66197291723478
[EXP_TOTAL] => 2.6080343194328
*/
$data[] = [ $data[] = [
'sport_id' => 1, 'sport_id' => 1,
'league_id' => $row[1], 'league_id' => $row[0],
'home_id' => $row[2], 'home_id' => $row[1],
'away_id' => $row[3], 'away_id' => $row[2],
'starttime' => Carbon::parse($row[4])->toDateTimeString(), 'starttime' => Carbon::parse($row[3])->toIso8601String(),
'season' => $row[5], 'season' => $row[4],
'gls_h' => $row[6], 'gls_h' => $row[6],
'gls_a' => $row[7], 'gls_a' => $row[7],
'crn_h' => $row[8], 'crn_h' => $row[8],
+13
View File
@@ -0,0 +1,13 @@
<?php
use App\Models\StatistikoImport;
use App\Observers\StatistikoImportObserver;
use Illuminate\Support\ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
public function boot(): void
{
StatistikoImport::observe(StatistikoImportObserver::class);
}
}
Generated
+198 -211
View File
@@ -2955,20 +2955,20 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v12.56.0", "version": "v11.51.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "dac16d424b59debb2273910dde88eb7050a2a709" "reference": "c8f9a04594b7044a189a3194cfb3594251eb74e5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/dac16d424b59debb2273910dde88eb7050a2a709", "url": "https://api.github.com/repos/laravel/framework/zipball/c8f9a04594b7044a189a3194cfb3594251eb74e5",
"reference": "dac16d424b59debb2273910dde88eb7050a2a709", "reference": "c8f9a04594b7044a189a3194cfb3594251eb74e5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brick/math": "^0.11|^0.12|^0.13|^0.14", "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12|^0.13|^0.14",
"composer-runtime-api": "^2.2", "composer-runtime-api": "^2.2",
"doctrine/inflector": "^2.0.5", "doctrine/inflector": "^2.0.5",
"dragonmantank/cron-expression": "^3.4", "dragonmantank/cron-expression": "^3.4",
@@ -2983,34 +2983,32 @@
"fruitcake/php-cors": "^1.3", "fruitcake/php-cors": "^1.3",
"guzzlehttp/guzzle": "^7.8.2", "guzzlehttp/guzzle": "^7.8.2",
"guzzlehttp/uri-template": "^1.0", "guzzlehttp/uri-template": "^1.0",
"laravel/prompts": "^0.3.0", "laravel/prompts": "^0.1.18|^0.2.0|^0.3.0",
"laravel/serializable-closure": "^1.3|^2.0", "laravel/serializable-closure": "^1.3|^2.0",
"league/commonmark": "^2.8.1", "league/commonmark": "^2.7",
"league/flysystem": "^3.25.1", "league/flysystem": "^3.25.1",
"league/flysystem-local": "^3.25.1", "league/flysystem-local": "^3.25.1",
"league/uri": "^7.5.1", "league/uri": "^7.5.1",
"monolog/monolog": "^3.0", "monolog/monolog": "^3.0",
"nesbot/carbon": "^3.8.4", "nesbot/carbon": "^2.72.6|^3.8.4",
"nunomaduro/termwind": "^2.0", "nunomaduro/termwind": "^2.0",
"php": "^8.2", "php": "^8.2",
"psr/container": "^1.1.1|^2.0.1", "psr/container": "^1.1.1|^2.0.1",
"psr/log": "^1.0|^2.0|^3.0", "psr/log": "^1.0|^2.0|^3.0",
"psr/simple-cache": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0",
"ramsey/uuid": "^4.7", "ramsey/uuid": "^4.7",
"symfony/console": "^7.2.0", "symfony/console": "^7.0.3",
"symfony/error-handler": "^7.2.0", "symfony/error-handler": "^7.0.3",
"symfony/finder": "^7.2.0", "symfony/finder": "^7.0.3",
"symfony/http-foundation": "^7.2.0", "symfony/http-foundation": "^7.2.0",
"symfony/http-kernel": "^7.2.0", "symfony/http-kernel": "^7.0.3",
"symfony/mailer": "^7.2.0", "symfony/mailer": "^7.0.3",
"symfony/mime": "^7.2.0", "symfony/mime": "^7.0.3",
"symfony/polyfill-php83": "^1.33", "symfony/polyfill-php83": "^1.31",
"symfony/polyfill-php84": "^1.33", "symfony/process": "^7.0.3",
"symfony/polyfill-php85": "^1.33", "symfony/routing": "^7.0.3",
"symfony/process": "^7.2.0", "symfony/uid": "^7.0.3",
"symfony/routing": "^7.2.0", "symfony/var-dumper": "^7.0.3",
"symfony/uid": "^7.2.0",
"symfony/var-dumper": "^7.2.0",
"tijsverkoyen/css-to-inline-styles": "^2.2.5", "tijsverkoyen/css-to-inline-styles": "^2.2.5",
"vlucas/phpdotenv": "^5.6.1", "vlucas/phpdotenv": "^5.6.1",
"voku/portable-ascii": "^2.0.2" "voku/portable-ascii": "^2.0.2"
@@ -3042,7 +3040,6 @@
"illuminate/filesystem": "self.version", "illuminate/filesystem": "self.version",
"illuminate/hashing": "self.version", "illuminate/hashing": "self.version",
"illuminate/http": "self.version", "illuminate/http": "self.version",
"illuminate/json-schema": "self.version",
"illuminate/log": "self.version", "illuminate/log": "self.version",
"illuminate/macroable": "self.version", "illuminate/macroable": "self.version",
"illuminate/mail": "self.version", "illuminate/mail": "self.version",
@@ -3052,7 +3049,6 @@
"illuminate/process": "self.version", "illuminate/process": "self.version",
"illuminate/queue": "self.version", "illuminate/queue": "self.version",
"illuminate/redis": "self.version", "illuminate/redis": "self.version",
"illuminate/reflection": "self.version",
"illuminate/routing": "self.version", "illuminate/routing": "self.version",
"illuminate/session": "self.version", "illuminate/session": "self.version",
"illuminate/support": "self.version", "illuminate/support": "self.version",
@@ -3076,18 +3072,17 @@
"league/flysystem-read-only": "^3.25.1", "league/flysystem-read-only": "^3.25.1",
"league/flysystem-sftp-v3": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1",
"mockery/mockery": "^1.6.10", "mockery/mockery": "^1.6.10",
"opis/json-schema": "^2.4.1", "orchestra/testbench-core": "^9.18.0",
"orchestra/testbench-core": "^10.9.0", "pda/pheanstalk": "^5.0.6",
"pda/pheanstalk": "^5.0.6|^7.0.0",
"php-http/discovery": "^1.15", "php-http/discovery": "^1.15",
"phpstan/phpstan": "^2.1.41", "phpstan/phpstan": "2.1.41",
"phpunit/phpunit": "^10.5.35|^11.5.3|^12.0.1", "phpunit/phpunit": "^10.5.35|^11.3.6|^12.0.1",
"predis/predis": "^2.3|^3.0", "predis/predis": "^2.3",
"resend/resend-php": "^0.10.0|^1.0", "resend/resend-php": "^0.10.0",
"symfony/cache": "^7.2.0", "symfony/cache": "^7.0.3",
"symfony/http-client": "^7.2.0", "symfony/http-client": "^7.0.3",
"symfony/psr-http-message-bridge": "^7.2.0", "symfony/psr-http-message-bridge": "^7.0.3",
"symfony/translation": "^7.2.0" "symfony/translation": "^7.0.3"
}, },
"suggest": { "suggest": {
"ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",
@@ -3102,7 +3097,7 @@
"ext-pdo": "Required to use all database features.", "ext-pdo": "Required to use all database features.",
"ext-posix": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.",
"ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).",
"fakerphp/faker": "Required to generate fake data using the fake() helper (^1.23).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"filp/whoops": "Required for friendly error pages in development (^2.14.3).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).",
"laravel/tinker": "Required to use the tinker console command (^2.0).", "laravel/tinker": "Required to use the tinker console command (^2.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).",
@@ -3113,22 +3108,22 @@
"mockery/mockery": "Required to use mocking (^1.6).", "mockery/mockery": "Required to use mocking (^1.6).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).",
"php-http/discovery": "Required to use PSR-7 bridging features (^1.15).", "php-http/discovery": "Required to use PSR-7 bridging features (^1.15).",
"phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.5.3|^12.0.1).", "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.3.6|^12.0.1).",
"predis/predis": "Required to use the predis connector (^2.3|^3.0).", "predis/predis": "Required to use the predis connector (^2.3).",
"psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).",
"resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0|^1.0).", "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).",
"symfony/cache": "Required to PSR-6 cache bridge (^7.2).", "symfony/cache": "Required to PSR-6 cache bridge (^7.0).",
"symfony/filesystem": "Required to enable support for relative symbolic links (^7.2).", "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).",
"symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.2).", "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).",
"symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.2).", "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.0).",
"symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.2).", "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.0).",
"symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.2)." "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.0)."
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "12.x-dev" "dev-master": "11.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -3139,7 +3134,6 @@
"src/Illuminate/Filesystem/functions.php", "src/Illuminate/Filesystem/functions.php",
"src/Illuminate/Foundation/helpers.php", "src/Illuminate/Foundation/helpers.php",
"src/Illuminate/Log/functions.php", "src/Illuminate/Log/functions.php",
"src/Illuminate/Reflection/helpers.php",
"src/Illuminate/Support/functions.php", "src/Illuminate/Support/functions.php",
"src/Illuminate/Support/helpers.php" "src/Illuminate/Support/helpers.php"
], ],
@@ -3148,8 +3142,7 @@
"Illuminate\\Support\\": [ "Illuminate\\Support\\": [
"src/Illuminate/Macroable/", "src/Illuminate/Macroable/",
"src/Illuminate/Collections/", "src/Illuminate/Collections/",
"src/Illuminate/Conditionable/", "src/Illuminate/Conditionable/"
"src/Illuminate/Reflection/"
] ]
} }
}, },
@@ -3173,20 +3166,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2026-03-26T14:51:54+00:00" "time": "2026-03-26T14:54:53+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
"version": "v0.3.16", "version": "v0.3.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/prompts.git", "url": "https://github.com/laravel/prompts.git",
"reference": "11e7d5f93803a2190b00e145142cb00a33d17ad2" "reference": "6a82ac19a28b916ae0885828795dbd4c59d9a818"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/prompts/zipball/11e7d5f93803a2190b00e145142cb00a33d17ad2", "url": "https://api.github.com/repos/laravel/prompts/zipball/6a82ac19a28b916ae0885828795dbd4c59d9a818",
"reference": "11e7d5f93803a2190b00e145142cb00a33d17ad2", "reference": "6a82ac19a28b916ae0885828795dbd4c59d9a818",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3230,9 +3223,9 @@
"description": "Add beautiful and user-friendly forms to your command-line applications.", "description": "Add beautiful and user-friendly forms to your command-line applications.",
"support": { "support": {
"issues": "https://github.com/laravel/prompts/issues", "issues": "https://github.com/laravel/prompts/issues",
"source": "https://github.com/laravel/prompts/tree/v0.3.16" "source": "https://github.com/laravel/prompts/tree/v0.3.17"
}, },
"time": "2026-03-23T14:35:33+00:00" "time": "2026-04-20T16:07:33+00:00"
}, },
{ {
"name": "laravel/serializable-closure", "name": "laravel/serializable-closure",
@@ -4420,27 +4413,27 @@
}, },
{ {
"name": "mongodb/laravel-mongodb", "name": "mongodb/laravel-mongodb",
"version": "5.7.1", "version": "5.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mongodb/laravel-mongodb", "url": "https://github.com/mongodb/laravel-mongodb.git",
"reference": "6e371e8e6deb9193f99a84c578e6c9d0a960e43a" "reference": "cc7e5ffd0e8e3a9acfebd7aa5a5aabac2fc5eac4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mongodb/laravel-mongodb/zipball/6e371e8e6deb9193f99a84c578e6c9d0a960e43a", "url": "https://api.github.com/repos/mongodb/laravel-mongodb/zipball/cc7e5ffd0e8e3a9acfebd7aa5a5aabac2fc5eac4",
"reference": "6e371e8e6deb9193f99a84c578e6c9d0a960e43a", "reference": "cc7e5ffd0e8e3a9acfebd7aa5a5aabac2fc5eac4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer-runtime-api": "^2.0.0", "composer-runtime-api": "^2.0.0",
"ext-mongodb": "^1.21|^2", "ext-mongodb": "^1.15",
"illuminate/cache": "^10.36|^11|^12|^13.0", "illuminate/cache": "^10.36|^11",
"illuminate/container": "^10.0|^11|^12|^13.0", "illuminate/container": "^10.0|^11",
"illuminate/database": "^10.30|^11|^12|^13.0", "illuminate/database": "^10.30|^11",
"illuminate/events": "^10.0|^11|^12|^13.0", "illuminate/events": "^10.0|^11",
"illuminate/support": "^10.0|^11|^12|^13.0", "illuminate/support": "^10.0|^11",
"mongodb/mongodb": "^1.21|^2", "mongodb/mongodb": "^1.18",
"php": "^8.1" "php": "^8.1"
}, },
"conflict": { "conflict": {
@@ -4450,19 +4443,20 @@
"jenssegers/mongodb": "self.version" "jenssegers/mongodb": "self.version"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0", "doctrine/coding-standard": "12.0.x-dev",
"laravel/scout": "^10.3",
"league/flysystem-gridfs": "^3.28", "league/flysystem-gridfs": "^3.28",
"league/flysystem-read-only": "^3.0", "league/flysystem-read-only": "^3.0",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", "mongodb/builder": "^0.2",
"phpstan/phpstan": "^1.10|^2.1", "orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.3|^11.5.3|^12.5.12", "phpstan/phpstan": "^1.10",
"rector/rector": "^1.2|^2.3", "phpunit/phpunit": "^10.3",
"spatie/laravel-query-builder": "^5.6|^6" "rector/rector": "^1.2",
"spatie/laravel-query-builder": "^5.6"
}, },
"suggest": { "suggest": {
"league/flysystem-gridfs": "Filesystem storage in MongoDB with GridFS" "league/flysystem-gridfs": "Filesystem storage in MongoDB with GridFS",
"mongodb/builder": "Provides a fluent aggregation builder for MongoDB pipelines"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -4488,11 +4482,6 @@
"email": "andreas.braun@mongodb.com", "email": "andreas.braun@mongodb.com",
"role": "Leader" "role": "Leader"
}, },
{
"name": "Pauline Vos",
"email": "pauline.vos@mongodb.com",
"role": "Maintainer"
},
{ {
"name": "Jérôme Tamarelle", "name": "Jérôme Tamarelle",
"email": "jerome.tamarelle@mongodb.com", "email": "jerome.tamarelle@mongodb.com",
@@ -4521,40 +4510,41 @@
], ],
"support": { "support": {
"issues": "https://www.mongodb.com/support", "issues": "https://www.mongodb.com/support",
"security": "https://www.mongodb.com/security" "security": "https://www.mongodb.com/security",
"source": "https://github.com/mongodb/laravel-mongodb/tree/5.1.1"
}, },
"time": "2026-04-15T12:18:12+00:00" "time": "2025-01-06T09:22:28+00:00"
}, },
{ {
"name": "mongodb/mongodb", "name": "mongodb/mongodb",
"version": "2.2.0", "version": "1.20.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mongodb/mongo-php-library.git", "url": "https://github.com/mongodb/mongo-php-library.git",
"reference": "bbb13f969e37e047fd822527543df55fdc1c9298" "reference": "75da9ea3b63d97b05e0e8648d8c09a17bc54c0b6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/bbb13f969e37e047fd822527543df55fdc1c9298", "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/75da9ea3b63d97b05e0e8648d8c09a17bc54c0b6",
"reference": "bbb13f969e37e047fd822527543df55fdc1c9298", "reference": "75da9ea3b63d97b05e0e8648d8c09a17bc54c0b6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"composer-runtime-api": "^2.0", "composer-runtime-api": "^2.0",
"ext-mongodb": "^2.2", "ext-hash": "*",
"php": "^8.1", "ext-json": "*",
"ext-mongodb": "^1.20.0",
"php": "^7.4 || ^8.0",
"psr/log": "^1.1.4|^2|^3", "psr/log": "^1.1.4|^2|^3",
"symfony/polyfill-php85": "^1.32" "symfony/polyfill-php80": "^1.27",
}, "symfony/polyfill-php81": "^1.27"
"replace": {
"mongodb/builder": "*"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0", "doctrine/coding-standard": "^12.0",
"phpunit/phpunit": "^10.5.35", "rector/rector": "^1.1",
"rector/rector": "^2.3.4",
"squizlabs/php_codesniffer": "^3.7", "squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "~6.14.2" "symfony/phpunit-bridge": "^5.2",
"vimeo/psalm": "^5.13"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -4598,9 +4588,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/mongodb/mongo-php-library/issues", "issues": "https://github.com/mongodb/mongo-php-library/issues",
"source": "https://github.com/mongodb/mongo-php-library/tree/2.2.0" "source": "https://github.com/mongodb/mongo-php-library/tree/1.20.0"
}, },
"time": "2026-02-11T11:39:56+00:00" "time": "2024-09-25T12:54:08+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
@@ -6579,34 +6569,31 @@
}, },
{ {
"name": "spatie/laravel-permission", "name": "spatie/laravel-permission",
"version": "7.3.0", "version": "6.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-permission.git", "url": "https://github.com/spatie/laravel-permission.git",
"reference": "5272955119759cd217e84e8bbac19443c305ebc3" "reference": "d7d4cb0d58616722f1afc90e0484e4825155b9b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/5272955119759cd217e84e8bbac19443c305ebc3", "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/d7d4cb0d58616722f1afc90e0484e4825155b9b3",
"reference": "5272955119759cd217e84e8bbac19443c305ebc3", "reference": "d7d4cb0d58616722f1afc90e0484e4825155b9b3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/auth": "^12.0|^13.0", "illuminate/auth": "^8.12|^9.0|^10.0|^11.0|^12.0|^13.0",
"illuminate/container": "^12.0|^13.0", "illuminate/container": "^8.12|^9.0|^10.0|^11.0|^12.0|^13.0",
"illuminate/contracts": "^12.0|^13.0", "illuminate/contracts": "^8.12|^9.0|^10.0|^11.0|^12.0|^13.0",
"illuminate/database": "^12.0|^13.0", "illuminate/database": "^8.12|^9.0|^10.0|^11.0|^12.0|^13.0",
"php": "^8.3", "php": "^8.0"
"spatie/laravel-package-tools": "^1.0"
}, },
"require-dev": { "require-dev": {
"larastan/larastan": "^3.9", "laravel/passport": "^11.0|^12.0|^13.0",
"laravel/passport": "^13.0",
"laravel/pint": "^1.0", "laravel/pint": "^1.0",
"orchestra/testbench": "^10.0|^11.0", "orchestra/testbench": "^6.23|^7.0|^8.0|^9.0|^10.0|^11.0",
"pestphp/pest": "^3.0|^4.0", "pestphp/pest": "^2.0|^3.0|^4.0",
"pestphp/pest-plugin-laravel": "^3.0|^4.1", "pestphp/pest-plugin-laravel": "^2.0|^3.0|^4.0"
"phpstan/phpstan": "^2.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -6616,8 +6603,8 @@
] ]
}, },
"branch-alias": { "branch-alias": {
"dev-main": "7.x-dev", "dev-main": "6.x-dev",
"dev-master": "7.x-dev" "dev-master": "6.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -6640,7 +6627,7 @@
"role": "Developer" "role": "Developer"
} }
], ],
"description": "Permission handling for Laravel 12 and up", "description": "Permission handling for Laravel 8.0 and up",
"homepage": "https://github.com/spatie/laravel-permission", "homepage": "https://github.com/spatie/laravel-permission",
"keywords": [ "keywords": [
"acl", "acl",
@@ -6654,7 +6641,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/laravel-permission/issues", "issues": "https://github.com/spatie/laravel-permission/issues",
"source": "https://github.com/spatie/laravel-permission/tree/7.3.0" "source": "https://github.com/spatie/laravel-permission/tree/6.25.0"
}, },
"funding": [ "funding": [
{ {
@@ -6662,7 +6649,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2026-04-07T15:19:42+00:00" "time": "2026-03-17T22:46:46+00:00"
}, },
{ {
"name": "spatie/shiki-php", "name": "spatie/shiki-php",
@@ -8511,6 +8498,86 @@
], ],
"time": "2026-04-10T16:19:22+00:00" "time": "2026-04-10T16:19:22+00:00"
}, },
{
"name": "symfony/polyfill-php81",
"version": "v1.36.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php81.git",
"reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c",
"reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c",
"shasum": ""
},
"require": {
"php": ">=7.2"
},
"type": "library",
"extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php81\\": ""
},
"classmap": [
"Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php81/tree/v1.36.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://github.com/nicolas-grekas",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-09-09T11:45:10+00:00"
},
{ {
"name": "symfony/polyfill-php83", "name": "symfony/polyfill-php83",
"version": "v1.36.0", "version": "v1.36.0",
@@ -8591,86 +8658,6 @@
], ],
"time": "2026-04-10T17:25:58+00:00" "time": "2026-04-10T17:25:58+00:00"
}, },
{
"name": "symfony/polyfill-php84",
"version": "v1.36.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php84.git",
"reference": "88486db2c389b290bf87ff1de7ebc1e13e42bb06"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/88486db2c389b290bf87ff1de7ebc1e13e42bb06",
"reference": "88486db2c389b290bf87ff1de7ebc1e13e42bb06",
"shasum": ""
},
"require": {
"php": ">=7.2"
},
"type": "library",
"extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php84\\": ""
},
"classmap": [
"Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php84/tree/v1.36.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://github.com/nicolas-grekas",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2026-04-10T18:47:49+00:00"
},
{ {
"name": "symfony/polyfill-php85", "name": "symfony/polyfill-php85",
"version": "v1.36.0", "version": "v1.36.0",
@@ -10461,16 +10448,16 @@
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.29.0", "version": "v1.29.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "bdec963f53172c5e36330f3a400604c69bf02d39" "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/bdec963f53172c5e36330f3a400604c69bf02d39", "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80",
"reference": "bdec963f53172c5e36330f3a400604c69bf02d39", "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -10481,14 +10468,14 @@
"php": "^8.2.0" "php": "^8.2.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.94.2", "friendsofphp/php-cs-fixer": "^3.95.1",
"illuminate/view": "^12.54.1", "illuminate/view": "^12.56.0",
"larastan/larastan": "^3.9.3", "larastan/larastan": "^3.9.6",
"laravel-zero/framework": "^12.0.5", "laravel-zero/framework": "^12.1.0",
"mockery/mockery": "^1.6.12", "mockery/mockery": "^1.6.12",
"nunomaduro/termwind": "^2.4.0", "nunomaduro/termwind": "^2.4.0",
"pestphp/pest": "^3.8.6", "pestphp/pest": "^3.8.6",
"shipfastlabs/agent-detector": "^1.1.0" "shipfastlabs/agent-detector": "^1.1.3"
}, },
"bin": [ "bin": [
"builds/pint" "builds/pint"
@@ -10525,7 +10512,7 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2026-03-12T15:51:39+00:00" "time": "2026-04-20T15:26:14+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
@@ -13593,12 +13580,12 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": [], "stability-flags": {},
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": "^8.3" "php": "^8.3"
}, },
"platform-dev": [], "platform-dev": {},
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }