A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
install reverb ?
aminnausinc423dd0f4f94
diff --git a/app/Http/Resources/FolderResource.php b/app/Http/Resources/FolderResource.phpindex ad52255a..ad1cd20a 100755--- a/app/Http/Resources/FolderResource.php+++ b/app/Http/Resources/FolderResource.php@@ -16,7 +16,7 @@ class FolderResource extends JsonResource {'id' => $this->id,'name' => $this->name,'path' => $this->path,- 'file_count' => $this->videos_count ?? 0, //$videos->count(),+ 'file_count' => $this->videos_count ?? 0, // $videos->count(),'total_size' => $this->total_size,'category_id' => $this->category_id,'videos' => $this->when($request->videos, function () {diff --git a/app/Jobs/IndexFiles.php b/app/Jobs/IndexFiles.phpindex e6e27972..ac734cf0 100755--- a/app/Jobs/IndexFiles.php+++ b/app/Jobs/IndexFiles.php@@ -244,7 +244,7 @@ class IndexFiles implements ShouldBeUnique, ShouldQueue {}private function generateCategories($path) {- $data = Storage::json('categories.json') ?? ['next_ID' => 1, 'categoryStructure' => []]; //array("anime"=>1,"tv"=>2,"yogscast"=>3); // read from json+ $data = Storage::json('categories.json') ?? ['next_ID' => 1, 'categoryStructure' => []]; // array("anime"=>1,"tv"=>2,"yogscast"=>3); // read from json$scanned = array_map('htmlspecialchars', scandir($path)); // read folder structure$currentID = $data['next_ID'];@@ -267,7 +267,7 @@ class IndexFiles implements ShouldBeUnique, ShouldQueue {foreach ($scanned as $local) { // O(n) where n = number of already known categoriesif (is_dir($local)) {continue;- } //? . and .. are dirs+ } // ? . and .. are dirs$name = basename($local);@@ -295,7 +295,7 @@ class IndexFiles implements ShouldBeUnique, ShouldQueue {}private function generateFolders($path, $categoryStructure) {- $data = Storage::json('folders.json') ?? ['next_ID' => 1, 'folderStructure' => []]; //array("anime/frieren"=>array("id"=>0,"name"=>"frieren"),"starwars/andor"=>array("id"=1,"name"="andor")); // read from json+ $data = Storage::json('folders.json') ?? ['next_ID' => 1, 'folderStructure' => []]; // array("anime/frieren"=>array("id"=>0,"name"=>"frieren"),"starwars/andor"=>array("id"=1,"name"="andor")); // read from json$scannedCategories = array_keys($categoryStructure);$cost = 0;@@ -373,7 +373,7 @@ class IndexFiles implements ShouldBeUnique, ShouldQueue {}private function generateVideos($path, $folderStructure) {- $data = Storage::json('videos.json') ?? ['next_ID' => 1, 'videoStructure' => []]; //array("anime/frieren/S1E01.mp4"=>array("id"=>0,"name"=>"S1E01"),"starwars/andor/S1E01.mkv"=>array("id"=1,"name"="S1E01.mkv")); // read from json+ $data = Storage::json('videos.json') ?? ['next_ID' => 1, 'videoStructure' => []]; // array("anime/frieren/S1E01.mp4"=>array("id"=>0,"name"=>"S1E01"),"starwars/andor/S1E01.mkv"=>array("id"=1,"name"="S1E01.mkv")); // read from json$scannedFolders = array_keys($folderStructure);$cost = 0;@@ -434,7 +434,7 @@ class IndexFiles implements ShouldBeUnique, ShouldQueue {$absolutePath = str_replace('\\', '/', Storage::disk('public')->path('')) . $file;$ext = pathinfo($file, PATHINFO_EXTENSION);- if (strtolower($ext) !== 'mp4' && strtolower($ext) !== 'mkv' && strtolower($ext) !== 'mp3' && strtolower($ext) !== 'ogg' && strtolower($ext) !== 'flac') { //&& strtolower($ext) !== 'ogg' && strtolower($ext) !== 'flac' the conversion breaks ogg idk about flac+ if (strtolower($ext) !== 'mp4' && strtolower($ext) !== 'mkv' && strtolower($ext) !== 'mp3' && strtolower($ext) !== 'ogg' && strtolower($ext) !== 'flac') { // && strtolower($ext) !== 'ogg' && strtolower($ext) !== 'flac' the conversion breaks ogg idk about flaccontinue;}diff --git a/app/Jobs/SyncFiles.php b/app/Jobs/SyncFiles.phpindex 10ce3ab7..37787df5 100755--- a/app/Jobs/SyncFiles.php+++ b/app/Jobs/SyncFiles.php@@ -111,7 +111,7 @@ class SyncFiles implements ShouldBeUnique, ShouldQueue {private function generateCategories() {SubTask::where('id', $this->subTaskId)->update(['summary' => 'Generating Categories']);- $data = Storage::json('categories.json') ?? ['next_ID' => 1, 'categoryStructure' => []]; //array("anime"=>1,"tv"=>2,"yogscast"=>3); // read from json+ $data = Storage::json('categories.json') ?? ['next_ID' => 1, 'categoryStructure' => []]; // array("anime"=>1,"tv"=>2,"yogscast"=>3); // read from json$scanned = Category::all(); // read folder structure$currentID = $data['next_ID'];@@ -156,7 +156,7 @@ class SyncFiles implements ShouldBeUnique, ShouldQueue {private function generateFolders($path) {SubTask::where('id', $this->subTaskId)->update(['summary' => 'Generating Folders', 'progress' => 25]);- $data = Storage::json('folders.json') ?? ['next_ID' => 1, 'folderStructure' => []]; //array("anime/frieren"=>array("id"=>0,"name"=>"frieren"),"starwars/andor"=>array("id"=1,"name"="andor")); // read from json+ $data = Storage::json('folders.json') ?? ['next_ID' => 1, 'folderStructure' => []]; // array("anime/frieren"=>array("id"=>0,"name"=>"frieren"),"starwars/andor"=>array("id"=1,"name"="andor")); // read from json$cost = 0;$scanned = Folder::all();@@ -205,7 +205,7 @@ class SyncFiles implements ShouldBeUnique, ShouldQueue {private function generateVideos($path, $folderStructure) {SubTask::where('id', $this->subTaskId)->update(['summary' => 'Generating Videos', 'progress' => 50]);- $data = Storage::json('videos.json') ?? ['next_ID' => 1, 'videoStructure' => []]; //array("anime/frieren/S1E01.mp4"=>array("id"=>0,"name"=>"S1E01"),"starwars/andor/S1E01.mkv"=>array("id"=1,"name"="S1E01.mkv")); // read from json+ $data = Storage::json('videos.json') ?? ['next_ID' => 1, 'videoStructure' => []]; // array("anime/frieren/S1E01.mp4"=>array("id"=>0,"name"=>"S1E01"),"starwars/andor/S1E01.mkv"=>array("id"=1,"name"="S1E01.mkv")); // read from json$scanned = Video::all();$cost = 0;diff --git a/app/Jobs/VerifyFiles.php b/app/Jobs/VerifyFiles.phpindex 180aa231..fa3e0964 100755--- a/app/Jobs/VerifyFiles.php+++ b/app/Jobs/VerifyFiles.php@@ -330,7 +330,7 @@ class VerifyFiles implements ShouldQueue {private function extractAlbumArt($filePath, $outputPath) {try {- //code...'ffmpeg',+ // code...'ffmpeg',$tempPath = sys_get_temp_dir() . '/' . basename($outputPath);$command = ['ffmpeg',diff --git a/bootstrap/app.php b/bootstrap/app.phpindex 194466e4..486a3ad2 100755--- a/bootstrap/app.php+++ b/bootstrap/app.php@@ -13,10 +13,10 @@ return Application::configure(basePath: dirname(__DIR__))commands: __DIR__ . '/../routes/console.php',health: '/up',)- // ->withBroadcasting(- // __DIR__.'/../routes/channels.php',- // ['prefix' => 'api', 'middleware' => ['api', 'auth:sanctum']],- // )+ ->withBroadcasting(+ __DIR__ . '/../routes/channels.php',+ ['prefix' => 'api', 'middleware' => ['api', 'auth:sanctum']],+ )->withMiddleware(function (Middleware $middleware) {$middleware->statefulApi();$middleware->append(TrustProxies::class);diff --git a/bootstrap/cache/packages.php b/bootstrap/cache/packages.phpindex 99827a7e..0576bfe9 100755--- a/bootstrap/cache/packages.php+++ b/bootstrap/cache/packages.php@@ -1,14 +1,14 @@<?php return array ('barryvdh/laravel-debugbar' =>array (- 'providers' =>- array (- 0 => 'Barryvdh\\Debugbar\\ServiceProvider',- ),'aliases' =>array ('Debugbar' => 'Barryvdh\\Debugbar\\Facades\\Debugbar',),+ 'providers' =>+ array (+ 0 => 'Barryvdh\\Debugbar\\ServiceProvider',+ ),),'dedoc/scramble' =>array (@@ -49,6 +49,18 @@0 => 'Laravel\\Pulse\\PulseServiceProvider',),),+ 'laravel/reverb' =>+ array (+ 'aliases' =>+ array (+ 'Output' => 'Laravel\\Reverb\\Output',+ ),+ 'providers' =>+ array (+ 0 => 'Laravel\\Reverb\\ApplicationManagerServiceProvider',+ 1 => 'Laravel\\Reverb\\ReverbServiceProvider',+ ),+ ),'laravel/sail' =>array ('providers' =>@@ -115,25 +127,25 @@),'paulo-hortelan/requests-graph-pulse' =>array (- 'providers' =>- array (- 0 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',- ),'aliases' =>array ('RequestsGraphPulse' => 'PauloHortelan\\RequestsGraphPulse\\Facades\\RequestsGraphPulse',),- ),- 'pbmedia/laravel-ffmpeg' =>- array ('providers' =>array (- 0 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 0 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',),+ ),+ 'pbmedia/laravel-ffmpeg' =>+ array ('aliases' =>array ('FFMpeg' => 'ProtoneMedia\\LaravelFFMpeg\\Support\\FFMpeg',),+ 'providers' =>+ array (+ 0 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ ),),'robertogallea/pulse-api' =>array (diff --git a/bootstrap/cache/services.php b/bootstrap/cache/services.phpindex 289eeee1..c2c10202 100755--- a/bootstrap/cache/services.php+++ b/bootstrap/cache/services.php@@ -30,20 +30,22 @@26 => 'HosmelQ\\Laravel\\Pulse\\Schedule\\ScheduleServiceProvider',27 => 'Laravel\\Pail\\PailServiceProvider',28 => 'Laravel\\Pulse\\PulseServiceProvider',- 29 => 'Laravel\\Sail\\SailServiceProvider',- 30 => 'Laravel\\Sanctum\\SanctumServiceProvider',- 31 => 'Laravel\\Tinker\\TinkerServiceProvider',- 32 => 'Livewire\\LivewireServiceProvider',- 33 => 'Carbon\\Laravel\\ServiceProvider',- 34 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',- 35 => 'Termwind\\Laravel\\TermwindServiceProvider',- 36 => 'Opcodes\\LogViewer\\LogViewerServiceProvider',- 37 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',- 38 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',- 39 => 'Robertogallea\\PulseApi\\PulseAPIServiceProvider',- 40 => 'App\\Providers\\AppServiceProvider',- 41 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 29 => 'Laravel\\Reverb\\ApplicationManagerServiceProvider',+ 30 => 'Laravel\\Reverb\\ReverbServiceProvider',+ 31 => 'Laravel\\Sail\\SailServiceProvider',+ 32 => 'Laravel\\Sanctum\\SanctumServiceProvider',+ 33 => 'Laravel\\Tinker\\TinkerServiceProvider',+ 34 => 'Livewire\\LivewireServiceProvider',+ 35 => 'Carbon\\Laravel\\ServiceProvider',+ 36 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',+ 37 => 'Termwind\\Laravel\\TermwindServiceProvider',+ 38 => 'Opcodes\\LogViewer\\LogViewerServiceProvider',+ 39 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',+ 40 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 41 => 'Robertogallea\\PulseApi\\PulseAPIServiceProvider',42 => 'App\\Providers\\AppServiceProvider',+ 43 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 44 => 'App\\Providers\\AppServiceProvider',),'eager' =>array (@@ -62,18 +64,19 @@12 => 'Denniseilander\\LogFiles\\LogFilesServiceProvider',13 => 'Laravel\\Pail\\PailServiceProvider',14 => 'Laravel\\Pulse\\PulseServiceProvider',- 15 => 'Laravel\\Sanctum\\SanctumServiceProvider',- 16 => 'Livewire\\LivewireServiceProvider',- 17 => 'Carbon\\Laravel\\ServiceProvider',- 18 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',- 19 => 'Termwind\\Laravel\\TermwindServiceProvider',- 20 => 'Opcodes\\LogViewer\\LogViewerServiceProvider',- 21 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',- 22 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',- 23 => 'Robertogallea\\PulseApi\\PulseAPIServiceProvider',- 24 => 'App\\Providers\\AppServiceProvider',- 25 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',- 26 => 'App\\Providers\\AppServiceProvider',+ 15 => 'Laravel\\Reverb\\ReverbServiceProvider',+ 16 => 'Laravel\\Sanctum\\SanctumServiceProvider',+ 17 => 'Livewire\\LivewireServiceProvider',+ 18 => 'Carbon\\Laravel\\ServiceProvider',+ 19 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',+ 20 => 'Termwind\\Laravel\\TermwindServiceProvider',+ 21 => 'Opcodes\\LogViewer\\LogViewerServiceProvider',+ 22 => 'PauloHortelan\\RequestsGraphPulse\\RequestsGraphServiceProvider',+ 23 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 24 => 'Robertogallea\\PulseApi\\PulseAPIServiceProvider',+ 25 => 'App\\Providers\\AppServiceProvider',+ 26 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',+ 27 => 'App\\Providers\\AppServiceProvider',),'deferred' =>array (@@ -227,6 +230,8 @@'validation.presence' => 'Illuminate\\Validation\\ValidationServiceProvider','Illuminate\\Contracts\\Validation\\UncompromisedVerifier' => 'Illuminate\\Validation\\ValidationServiceProvider','Laravel\\Pulse\\Pulse' => 'HosmelQ\\Laravel\\Pulse\\Schedule\\ScheduleServiceProvider',+ 'Laravel\\Reverb\\ApplicationManager' => 'Laravel\\Reverb\\ApplicationManagerServiceProvider',+ 'Laravel\\Reverb\\Contracts\\ApplicationProvider' => 'Laravel\\Reverb\\ApplicationManagerServiceProvider','Laravel\\Sail\\Console\\InstallCommand' => 'Laravel\\Sail\\SailServiceProvider','Laravel\\Sail\\Console\\PublishCommand' => 'Laravel\\Sail\\SailServiceProvider','command.tinker' => 'Laravel\\Tinker\\TinkerServiceProvider',@@ -275,6 +280,9 @@'HosmelQ\\Laravel\\Pulse\\Schedule\\ScheduleServiceProvider' =>array (),+ 'Laravel\\Reverb\\ApplicationManagerServiceProvider' =>+ array (+ ),'Laravel\\Sail\\SailServiceProvider' =>array (),diff --git a/composer.json b/composer.jsonindex 69ceab95..8eb6d1dc 100755--- a/composer.json+++ b/composer.json@@ -15,6 +15,7 @@"hosmelq/laravel-pulse-schedule": "^0.2.2","laravel/framework": "^11.31","laravel/pulse": "^1.2",+ "laravel/reverb": "^1.0","laravel/sanctum": "^4.0","laravel/tinker": "^2.9","opcodesio/log-viewer": "^3.12",diff --git a/composer.lock b/composer.lockindex 786720dc..28a0e588 100755--- a/composer.lock+++ b/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "2f239c1c47d929ae6ae6e14805fb4d9e",+ "content-hash": "905a97ccfec72c95c93ad360237a668d","packages": [{"name": "brick/math",@@ -135,6 +135,136 @@],"time": "2024-02-09T16:56:22+00:00"},+ {+ "name": "clue/redis-protocol",+ "version": "v0.3.2",+ "source": {+ "type": "git",+ "url": "https://github.com/clue/redis-protocol.git",+ "reference": "6f565332f5531b7722d1e9c445314b91862f6d6c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/clue/redis-protocol/zipball/6f565332f5531b7722d1e9c445314b91862f6d6c",+ "reference": "6f565332f5531b7722d1e9c445314b91862f6d6c",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Clue\\Redis\\Protocol\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]"+ }+ ],+ "description": "A streaming Redis protocol (RESP) parser and serializer written in pure PHP.",+ "homepage": "https://github.com/clue/redis-protocol",+ "keywords": [+ "parser",+ "protocol",+ "redis",+ "resp",+ "serializer",+ "streaming"+ ],+ "support": {+ "issues": "https://github.com/clue/redis-protocol/issues",+ "source": "https://github.com/clue/redis-protocol/tree/v0.3.2"+ },+ "funding": [+ {+ "url": "https://clue.engineering/support",+ "type": "custom"+ },+ {+ "url": "https://github.com/clue",+ "type": "github"+ }+ ],+ "time": "2024-08-07T11:06:28+00:00"+ },+ {+ "name": "clue/redis-react",+ "version": "v2.7.0",+ "source": {+ "type": "git",+ "url": "https://github.com/clue/reactphp-redis.git",+ "reference": "2283690f249e8d93342dd63b5285732d2654e077"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/clue/reactphp-redis/zipball/2283690f249e8d93342dd63b5285732d2654e077",+ "reference": "2283690f249e8d93342dd63b5285732d2654e077",+ "shasum": ""+ },+ "require": {+ "clue/redis-protocol": "0.3.*",+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",+ "php": ">=5.3",+ "react/event-loop": "^1.2",+ "react/promise": "^3 || ^2.0 || ^1.1",+ "react/promise-timer": "^1.9",+ "react/socket": "^1.12"+ },+ "require-dev": {+ "clue/block-react": "^1.5",+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Clue\\React\\Redis\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]"+ }+ ],+ "description": "Async Redis client implementation, built on top of ReactPHP.",+ "homepage": "https://github.com/clue/reactphp-redis",+ "keywords": [+ "async",+ "client",+ "database",+ "reactphp",+ "redis"+ ],+ "support": {+ "issues": "https://github.com/clue/reactphp-redis/issues",+ "source": "https://github.com/clue/reactphp-redis/tree/v2.7.0"+ },+ "funding": [+ {+ "url": "https://clue.engineering/support",+ "type": "custom"+ },+ {+ "url": "https://github.com/clue",+ "type": "github"+ }+ ],+ "time": "2024-01-05T15:54:20+00:00"+ },{"name": "dedoc/scramble","version": "v0.11.31",@@ -646,16 +776,16 @@},{"name": "egulias/email-validator",- "version": "4.0.2",+ "version": "4.0.3","source": {"type": "git","url": "https://github.com/egulias/EmailValidator.git",- "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e"+ "reference": "b115554301161fa21467629f1e1391c1936de517"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e",- "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e",+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/b115554301161fa21467629f1e1391c1936de517",+ "reference": "b115554301161fa21467629f1e1391c1936de517","shasum": ""},"require": {@@ -701,7 +831,7 @@],"support": {"issues": "https://github.com/egulias/EmailValidator/issues",- "source": "https://github.com/egulias/EmailValidator/tree/4.0.2"+ "source": "https://github.com/egulias/EmailValidator/tree/4.0.3"},"funding": [{@@ -709,7 +839,7 @@"type": "github"}],- "time": "2023-10-06T06:47:41+00:00"+ "time": "2024-12-27T00:36:43+00:00"},{"name": "evenement/evenement",@@ -1730,6 +1860,88 @@},"time": "2024-12-12T18:17:53+00:00"},+ {+ "name": "laravel/reverb",+ "version": "v1.4.4",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/reverb.git",+ "reference": "22eab51c56c9a06e26a892b57e9b9d392e4e1da0"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/reverb/zipball/22eab51c56c9a06e26a892b57e9b9d392e4e1da0",+ "reference": "22eab51c56c9a06e26a892b57e9b9d392e4e1da0",+ "shasum": ""+ },+ "require": {+ "clue/redis-react": "^2.6",+ "guzzlehttp/psr7": "^2.6",+ "illuminate/console": "^10.47|^11.0",+ "illuminate/contracts": "^10.47|^11.0",+ "illuminate/http": "^10.47|^11.0",+ "illuminate/support": "^10.47|^11.0",+ "laravel/prompts": "^0.1.15|^0.2.0|^0.3.0",+ "php": "^8.2",+ "pusher/pusher-php-server": "^7.2",+ "ratchet/rfc6455": "^0.3.1",+ "react/promise-timer": "^1.10",+ "react/socket": "^1.14",+ "symfony/console": "^6.0|^7.0",+ "symfony/http-foundation": "^6.3|^7.0"+ },+ "require-dev": {+ "orchestra/testbench": "^8.0|^9.0",+ "pestphp/pest": "^2.0",+ "phpstan/phpstan": "^1.10",+ "ratchet/pawl": "^0.4.1",+ "react/async": "^4.2",+ "react/http": "^1.9"+ },+ "type": "library",+ "extra": {+ "laravel": {+ "aliases": {+ "Output": "Laravel\\Reverb\\Output"+ },+ "providers": [+ "Laravel\\Reverb\\ApplicationManagerServiceProvider",+ "Laravel\\Reverb\\ReverbServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Laravel\\Reverb\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ },+ {+ "name": "Joe Dixon",+ "email": "[email protected]"+ }+ ],+ "description": "Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.",+ "keywords": [+ "WebSockets",+ "laravel",+ "real-time",+ "websocket"+ ],+ "support": {+ "issues": "https://github.com/laravel/reverb/issues",+ "source": "https://github.com/laravel/reverb/tree/v1.4.4"+ },+ "time": "2024-12-06T18:56:46+00:00"+ },{"name": "laravel/sanctum","version": "v4.0.7",@@ -1923,16 +2135,16 @@},{"name": "league/commonmark",- "version": "2.6.0",+ "version": "2.6.1","source": {"type": "git","url": "https://github.com/thephpleague/commonmark.git",- "reference": "d150f911e0079e90ae3c106734c93137c184f932"+ "reference": "d990688c91cedfb69753ffc2512727ec646df2ad"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d150f911e0079e90ae3c106734c93137c184f932",- "reference": "d150f911e0079e90ae3c106734c93137c184f932",+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d990688c91cedfb69753ffc2512727ec646df2ad",+ "reference": "d990688c91cedfb69753ffc2512727ec646df2ad","shasum": ""},"require": {@@ -2026,7 +2238,7 @@"type": "tidelift"}],- "time": "2024-12-07T15:34:16+00:00"+ "time": "2024-12-29T14:10:59+00:00"},{"name": "league/config",@@ -2474,16 +2686,16 @@},{"name": "livewire/livewire",- "version": "v3.5.17",+ "version": "v3.5.18","source": {"type": "git","url": "https://github.com/livewire/livewire.git",- "reference": "7bbf80d93db9b866776bf957ca6229364bca8d87"+ "reference": "62f0fa6b340a467c25baa590a567d9a134b357da"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/livewire/livewire/zipball/7bbf80d93db9b866776bf957ca6229364bca8d87",- "reference": "7bbf80d93db9b866776bf957ca6229364bca8d87",+ "url": "https://api.github.com/repos/livewire/livewire/zipball/62f0fa6b340a467c25baa590a567d9a134b357da",+ "reference": "62f0fa6b340a467c25baa590a567d9a134b357da","shasum": ""},"require": {@@ -2538,7 +2750,7 @@"description": "A front-end framework for Laravel.","support": {"issues": "https://github.com/livewire/livewire/issues",- "source": "https://github.com/livewire/livewire/tree/v3.5.17"+ "source": "https://github.com/livewire/livewire/tree/v3.5.18"},"funding": [{@@ -2546,7 +2758,7 @@"type": "github"}],- "time": "2024-12-06T13:41:21+00:00"+ "time": "2024-12-23T15:05:02+00:00"},{"name": "monolog/monolog",@@ -2713,16 +2925,16 @@},{"name": "nesbot/carbon",- "version": "3.8.3",+ "version": "3.8.4","source": {"type": "git","url": "https://github.com/briannesbitt/Carbon.git",- "reference": "f01cfa96468f4c38325f507ab81a4f1d2cd93cfe"+ "reference": "129700ed449b1f02d70272d2ac802357c8c30c58"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f01cfa96468f4c38325f507ab81a4f1d2cd93cfe",- "reference": "f01cfa96468f4c38325f507ab81a4f1d2cd93cfe",+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58",+ "reference": "129700ed449b1f02d70272d2ac802357c8c30c58","shasum": ""},"require": {@@ -2815,7 +3027,7 @@"type": "tidelift"}],- "time": "2024-12-21T18:03:19+00:00"+ "time": "2024-12-27T09:25:35+00:00"},{"name": "nette/schema",@@ -2967,16 +3179,16 @@},{"name": "nikic/php-parser",- "version": "v5.3.1",+ "version": "v5.4.0","source": {"type": "git","url": "https://github.com/nikic/PHP-Parser.git",- "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b"+ "reference": "447a020a1f875a434d62f2a401f53b82a396e494"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b",- "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b",+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494",+ "reference": "447a020a1f875a434d62f2a401f53b82a396e494","shasum": ""},"require": {@@ -3019,9 +3231,9 @@],"support": {"issues": "https://github.com/nikic/PHP-Parser/issues",- "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1"+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0"},- "time": "2024-10-08T18:51:32+00:00"+ "time": "2024-12-30T11:07:19+00:00"},{"name": "nunomaduro/termwind",@@ -3251,6 +3463,97 @@},"time": "2023-11-19T08:47:43+00:00"},+ {+ "name": "paragonie/sodium_compat",+ "version": "v2.1.0",+ "source": {+ "type": "git",+ "url": "https://github.com/paragonie/sodium_compat.git",+ "reference": "a673d5f310477027cead2e2f2b6db5d8368157cb"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/a673d5f310477027cead2e2f2b6db5d8368157cb",+ "reference": "a673d5f310477027cead2e2f2b6db5d8368157cb",+ "shasum": ""+ },+ "require": {+ "php": "^8.1",+ "php-64bit": "*"+ },+ "require-dev": {+ "phpunit/phpunit": "^7|^8|^9",+ "vimeo/psalm": "^4|^5"+ },+ "suggest": {+ "ext-sodium": "Better performance, password hashing (Argon2i), secure memory management (memzero), and better security."+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.0.x-dev"+ }+ },+ "autoload": {+ "files": [+ "autoload.php"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "ISC"+ ],+ "authors": [+ {+ "name": "Paragon Initiative Enterprises",+ "email": "[email protected]"+ },+ {+ "name": "Frank Denis",+ "email": "[email protected]"+ }+ ],+ "description": "Pure PHP implementation of libsodium; uses the PHP extension if it exists",+ "keywords": [+ "Authentication",+ "BLAKE2b",+ "ChaCha20",+ "ChaCha20-Poly1305",+ "Chapoly",+ "Curve25519",+ "Ed25519",+ "EdDSA",+ "Edwards-curve Digital Signature Algorithm",+ "Elliptic Curve Diffie-Hellman",+ "Poly1305",+ "Pure-PHP cryptography",+ "RFC 7748",+ "RFC 8032",+ "Salpoly",+ "Salsa20",+ "X25519",+ "XChaCha20-Poly1305",+ "XSalsa20-Poly1305",+ "Xchacha20",+ "Xsalsa20",+ "aead",+ "cryptography",+ "ecdh",+ "elliptic curve",+ "elliptic curve cryptography",+ "encryption",+ "libsodium",+ "php",+ "public-key cryptography",+ "secret-key cryptography",+ "side-channel resistant"+ ],+ "support": {+ "issues": "https://github.com/paragonie/sodium_compat/issues",+ "source": "https://github.com/paragonie/sodium_compat/tree/v2.1.0"+ },+ "time": "2024-09-04T12:51:01+00:00"+ },{"name": "paulo-hortelan/requests-graph-pulse","version": "v1.2.1",@@ -4164,6 +4467,67 @@},"time": "2024-12-10T01:58:33+00:00"},+ {+ "name": "pusher/pusher-php-server",+ "version": "7.2.6",+ "source": {+ "type": "git",+ "url": "https://github.com/pusher/pusher-http-php.git",+ "reference": "d89e9997191d18fb0fe03a956fa3ccfe0af524ea"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/d89e9997191d18fb0fe03a956fa3ccfe0af524ea",+ "reference": "d89e9997191d18fb0fe03a956fa3ccfe0af524ea",+ "shasum": ""+ },+ "require": {+ "ext-curl": "*",+ "ext-json": "*",+ "guzzlehttp/guzzle": "^7.2",+ "paragonie/sodium_compat": "^1.6|^2.0",+ "php": "^7.3|^8.0",+ "psr/log": "^1.0|^2.0|^3.0"+ },+ "require-dev": {+ "overtrue/phplint": "^2.3",+ "phpunit/phpunit": "^9.3"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "5.0-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Pusher\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "Library for interacting with the Pusher REST API",+ "keywords": [+ "events",+ "messaging",+ "php-pusher-server",+ "publish",+ "push",+ "pusher",+ "real time",+ "real-time",+ "realtime",+ "rest",+ "trigger"+ ],+ "support": {+ "issues": "https://github.com/pusher/pusher-http-php/issues",+ "source": "https://github.com/pusher/pusher-http-php/tree/7.2.6"+ },+ "time": "2024-10-18T12:04:31+00:00"+ },{"name": "ralouphie/getallheaders","version": "3.0.3",@@ -4390,84 +4754,87 @@"time": "2024-04-27T21:32:50+00:00"},{- "name": "robertogallea/pulse-api",- "version": "1.0.2",+ "name": "ratchet/rfc6455",+ "version": "v0.3.1","source": {"type": "git",- "url": "https://github.com/robertogallea/pulse-api.git",- "reference": "bdc9d7b6d159ce6fa25ee96db6d3706f157c1781"+ "url": "https://github.com/ratchetphp/RFC6455.git",+ "reference": "7c964514e93456a52a99a20fcfa0de242a43ccdb"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/robertogallea/pulse-api/zipball/bdc9d7b6d159ce6fa25ee96db6d3706f157c1781",- "reference": "bdc9d7b6d159ce6fa25ee96db6d3706f157c1781",+ "url": "https://api.github.com/repos/ratchetphp/RFC6455/zipball/7c964514e93456a52a99a20fcfa0de242a43ccdb",+ "reference": "7c964514e93456a52a99a20fcfa0de242a43ccdb","shasum": ""},"require": {- "laravel/pulse": "^1.2"+ "guzzlehttp/psr7": "^2 || ^1.7",+ "php": ">=5.4.2"},"require-dev": {- "larastan/larastan": "^2.0",- "laravel/pint": "^1.18",- "orchestra/testbench": "^9.5",- "pestphp/pest": "^3.5"+ "phpunit/phpunit": "^5.7",+ "react/socket": "^1.3"},"type": "library",- "extra": {- "laravel": {- "providers": [- "Robertogallea\\PulseApi\\PulseAPIServiceProvider"- ]- }- },"autoload": {"psr-4": {- "Robertogallea\\PulseApi\\": "src/"+ "Ratchet\\RFC6455\\": "src"}},"notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],"authors": [{- "name": "Roberto Gallea",- "email": "[email protected]"+ "name": "Chris Boden",+ "email": "[email protected]",+ "role": "Developer"+ },+ {+ "name": "Matt Bonneau",+ "role": "Developer"}],- "description": "Add an API layer to Laravel Pulse metrics",+ "description": "RFC6455 WebSocket protocol handler",+ "homepage": "http://socketo.me",+ "keywords": [+ "WebSockets",+ "rfc6455",+ "websocket"+ ],"support": {- "issues": "https://github.com/robertogallea/pulse-api/issues",- "source": "https://github.com/robertogallea/pulse-api/tree/1.0.2"+ "chat": "https://gitter.im/reactphp/reactphp",+ "issues": "https://github.com/ratchetphp/RFC6455/issues",+ "source": "https://github.com/ratchetphp/RFC6455/tree/v0.3.1"},- "time": "2024-12-21T20:43:35+00:00"+ "time": "2021-12-09T23:20:49+00:00"},{- "name": "spatie/laravel-package-tools",- "version": "1.17.0",+ "name": "react/cache",+ "version": "v1.2.0","source": {"type": "git",- "url": "https://github.com/spatie/laravel-package-tools.git",- "reference": "9ab30fd24f677e5aa370ea4cf6b41c517d16cf85"+ "url": "https://github.com/reactphp/cache.git",+ "reference": "d47c472b64aa5608225f47965a484b75c7817d5b"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/9ab30fd24f677e5aa370ea4cf6b41c517d16cf85",- "reference": "9ab30fd24f677e5aa370ea4cf6b41c517d16cf85",+ "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b",+ "reference": "d47c472b64aa5608225f47965a484b75c7817d5b","shasum": ""},"require": {- "illuminate/contracts": "^9.28|^10.0|^11.0",- "php": "^8.0"+ "php": ">=5.3.0",+ "react/promise": "^3.0 || ^2.0 || ^1.1"},"require-dev": {- "mockery/mockery": "^1.5",- "orchestra/testbench": "^7.7|^8.0|^9.0",- "pestphp/pest": "^1.22|^2",- "phpunit/phpunit": "^9.5.24|^10.5",- "spatie/pest-plugin-test-time": "^1.1|^2.2"+ "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35"},"type": "library","autoload": {"psr-4": {- "Spatie\\LaravelPackageTools\\": "src"+ "React\\Cache\\": "src/"}},"notification-url": "https://packagist.org/downloads/",@@ -4476,20 +4843,604 @@],"authors": [{- "name": "Freek Van der Herten",- "email": "[email protected]",- "role": "Developer"+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"}],- "description": "Tools for creating Laravel packages",- "homepage": "https://github.com/spatie/laravel-package-tools",+ "description": "Async, Promise-based cache interface for ReactPHP","keywords": [- "laravel-package-tools",- "spatie"+ "cache",+ "caching",+ "promise",+ "reactphp"+ ],+ "support": {+ "issues": "https://github.com/reactphp/cache/issues",+ "source": "https://github.com/reactphp/cache/tree/v1.2.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2022-11-30T15:59:55+00:00"+ },+ {+ "name": "react/dns",+ "version": "v1.13.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/dns.git",+ "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",+ "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3.0",+ "react/cache": "^1.0 || ^0.6 || ^0.5",+ "react/event-loop": "^1.2",+ "react/promise": "^3.2 || ^2.7 || ^1.2.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",+ "react/async": "^4.3 || ^3 || ^2",+ "react/promise-timer": "^1.11"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "React\\Dns\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "Async DNS resolver for ReactPHP",+ "keywords": [+ "async",+ "dns",+ "dns-resolver",+ "reactphp"+ ],+ "support": {+ "issues": "https://github.com/reactphp/dns/issues",+ "source": "https://github.com/reactphp/dns/tree/v1.13.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2024-06-13T14:18:03+00:00"+ },+ {+ "name": "react/event-loop",+ "version": "v1.5.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/event-loop.git",+ "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",+ "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"+ },+ "suggest": {+ "ext-pcntl": "For signal handling support when using the StreamSelectLoop"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "React\\EventLoop\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.",+ "keywords": [+ "asynchronous",+ "event-loop"+ ],+ "support": {+ "issues": "https://github.com/reactphp/event-loop/issues",+ "source": "https://github.com/reactphp/event-loop/tree/v1.5.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2023-11-13T13:48:05+00:00"+ },+ {+ "name": "react/promise",+ "version": "v3.2.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/promise.git",+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63",+ "reference": "8a164643313c71354582dc850b42b33fa12a4b63",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1.0"+ },+ "require-dev": {+ "phpstan/phpstan": "1.10.39 || 1.4.10",+ "phpunit/phpunit": "^9.6 || ^7.5"+ },+ "type": "library",+ "autoload": {+ "files": [+ "src/functions_include.php"+ ],+ "psr-4": {+ "React\\Promise\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "A lightweight implementation of CommonJS Promises/A for PHP",+ "keywords": [+ "promise",+ "promises"+ ],+ "support": {+ "issues": "https://github.com/reactphp/promise/issues",+ "source": "https://github.com/reactphp/promise/tree/v3.2.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2024-05-24T10:39:05+00:00"+ },+ {+ "name": "react/promise-timer",+ "version": "v1.11.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/promise-timer.git",+ "reference": "4f70306ed66b8b44768941ca7f142092600fafc1"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/4f70306ed66b8b44768941ca7f142092600fafc1",+ "reference": "4f70306ed66b8b44768941ca7f142092600fafc1",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3",+ "react/event-loop": "^1.2",+ "react/promise": "^3.2 || ^2.7.0 || ^1.2.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"+ },+ "type": "library",+ "autoload": {+ "files": [+ "src/functions_include.php"+ ],+ "psr-4": {+ "React\\Promise\\Timer\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.",+ "homepage": "https://github.com/reactphp/promise-timer",+ "keywords": [+ "async",+ "event-loop",+ "promise",+ "reactphp",+ "timeout",+ "timer"+ ],+ "support": {+ "issues": "https://github.com/reactphp/promise-timer/issues",+ "source": "https://github.com/reactphp/promise-timer/tree/v1.11.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2024-06-04T14:27:45+00:00"+ },+ {+ "name": "react/socket",+ "version": "v1.16.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/socket.git",+ "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",+ "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1",+ "shasum": ""+ },+ "require": {+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",+ "php": ">=5.3.0",+ "react/dns": "^1.13",+ "react/event-loop": "^1.2",+ "react/promise": "^3.2 || ^2.6 || ^1.2.1",+ "react/stream": "^1.4"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",+ "react/async": "^4.3 || ^3.3 || ^2",+ "react/promise-stream": "^1.4",+ "react/promise-timer": "^1.11"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "React\\Socket\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP",+ "keywords": [+ "Connection",+ "Socket",+ "async",+ "reactphp",+ "stream"+ ],+ "support": {+ "issues": "https://github.com/reactphp/socket/issues",+ "source": "https://github.com/reactphp/socket/tree/v1.16.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2024-07-26T10:38:09+00:00"+ },+ {+ "name": "react/stream",+ "version": "v1.4.0",+ "source": {+ "type": "git",+ "url": "https://github.com/reactphp/stream.git",+ "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d",+ "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d",+ "shasum": ""+ },+ "require": {+ "evenement/evenement": "^3.0 || ^2.0 || ^1.0",+ "php": ">=5.3.8",+ "react/event-loop": "^1.2"+ },+ "require-dev": {+ "clue/stream-filter": "~1.2",+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "React\\Stream\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Christian Lück",+ "email": "[email protected]",+ "homepage": "https://clue.engineering/"+ },+ {+ "name": "Cees-Jan Kiewiet",+ "email": "[email protected]",+ "homepage": "https://wyrihaximus.net/"+ },+ {+ "name": "Jan Sorgalla",+ "email": "[email protected]",+ "homepage": "https://sorgalla.com/"+ },+ {+ "name": "Chris Boden",+ "email": "[email protected]",+ "homepage": "https://cboden.dev/"+ }+ ],+ "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP",+ "keywords": [+ "event-driven",+ "io",+ "non-blocking",+ "pipe",+ "reactphp",+ "readable",+ "stream",+ "writable"+ ],+ "support": {+ "issues": "https://github.com/reactphp/stream/issues",+ "source": "https://github.com/reactphp/stream/tree/v1.4.0"+ },+ "funding": [+ {+ "url": "https://opencollective.com/reactphp",+ "type": "open_collective"+ }+ ],+ "time": "2024-06-11T12:45:25+00:00"+ },+ {+ "name": "robertogallea/pulse-api",+ "version": "1.0.3",+ "source": {+ "type": "git",+ "url": "https://github.com/robertogallea/pulse-api.git",+ "reference": "ae0131dbce1a04dfdaea66aa20a742d681cba572"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/robertogallea/pulse-api/zipball/ae0131dbce1a04dfdaea66aa20a742d681cba572",+ "reference": "ae0131dbce1a04dfdaea66aa20a742d681cba572",+ "shasum": ""+ },+ "require": {+ "laravel/pulse": "^1.2"+ },+ "require-dev": {+ "larastan/larastan": "^2.0",+ "laravel/pint": "^1.18",+ "orchestra/testbench": "^9.5",+ "pestphp/pest": "^3.5"+ },+ "type": "library",+ "extra": {+ "laravel": {+ "providers": [+ "Robertogallea\\PulseApi\\PulseAPIServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Robertogallea\\PulseApi\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "authors": [+ {+ "name": "Roberto Gallea",+ "email": "[email protected]"+ }+ ],+ "description": "Add an API layer to Laravel Pulse metrics",+ "support": {+ "issues": "https://github.com/robertogallea/pulse-api/issues",+ "source": "https://github.com/robertogallea/pulse-api/tree/1.0.3"+ },+ "time": "2024-12-27T20:05:52+00:00"+ },+ {+ "name": "spatie/laravel-package-tools",+ "version": "1.18.0",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/laravel-package-tools.git",+ "reference": "8332205b90d17164913244f4a8e13ab7e6761d29"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/8332205b90d17164913244f4a8e13ab7e6761d29",+ "reference": "8332205b90d17164913244f4a8e13ab7e6761d29",+ "shasum": ""+ },+ "require": {+ "illuminate/contracts": "^9.28|^10.0|^11.0",+ "php": "^8.0"+ },+ "require-dev": {+ "mockery/mockery": "^1.5",+ "orchestra/testbench": "^7.7|^8.0|^9.0",+ "pestphp/pest": "^1.22|^2",+ "phpunit/phpunit": "^9.5.24|^10.5",+ "spatie/pest-plugin-test-time": "^1.1|^2.2"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Spatie\\LaravelPackageTools\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Freek Van der Herten",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "Tools for creating Laravel packages",+ "homepage": "https://github.com/spatie/laravel-package-tools",+ "keywords": [+ "laravel-package-tools",+ "spatie"],"support": {"issues": "https://github.com/spatie/laravel-package-tools/issues",- "source": "https://github.com/spatie/laravel-package-tools/tree/1.17.0"+ "source": "https://github.com/spatie/laravel-package-tools/tree/1.18.0"},"funding": [{@@ -4497,7 +5448,7 @@"type": "github"}],- "time": "2024-12-09T16:29:14+00:00"+ "time": "2024-12-30T13:13:39+00:00"},{"name": "spatie/temporary-directory",@@ -4678,12 +5629,12 @@},"type": "library","extra": {+ "thanks": {+ "url": "https://github.com/symfony/contracts",+ "name": "symfony/contracts"+ },"branch-alias": {"dev-main": "3.5-dev"- },- "thanks": {- "name": "symfony/contracts",- "url": "https://github.com/symfony/contracts"}},"autoload": {@@ -4985,12 +5936,12 @@},"type": "library","extra": {+ "thanks": {+ "url": "https://github.com/symfony/contracts",+ "name": "symfony/contracts"+ },"branch-alias": {"dev-main": "3.5-dev"- },- "thanks": {- "name": "symfony/contracts",- "url": "https://github.com/symfony/contracts"}},"autoload": {@@ -5208,12 +6159,12 @@},"type": "library","extra": {+ "thanks": {+ "url": "https://github.com/symfony/contracts",+ "name": "symfony/contracts"+ },"branch-alias": {"dev-main": "3.5-dev"- },- "thanks": {- "name": "symfony/contracts",- "url": "https://github.com/symfony/contracts"}},"autoload": {@@ -5266,16 +6217,16 @@},{"name": "symfony/finder",- "version": "v7.2.0",+ "version": "v7.2.2","source": {"type": "git","url": "https://github.com/symfony/finder.git",- "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49"+ "reference": "87a71856f2f56e4100373e92529eed3171695cfb"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/finder/zipball/6de263e5868b9a137602dd1e33e4d48bfae99c49",- "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49",+ "url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb",+ "reference": "87a71856f2f56e4100373e92529eed3171695cfb","shasum": ""},"require": {@@ -5310,7 +6261,7 @@"description": "Finds files and directories via an intuitive fluent interface","homepage": "https://symfony.com","support": {- "source": "https://github.com/symfony/finder/tree/v7.2.0"+ "source": "https://github.com/symfony/finder/tree/v7.2.2"},"funding": [{@@ -5326,20 +6277,20 @@"type": "tidelift"}],- "time": "2024-10-23T06:56:12+00:00"+ "time": "2024-12-30T19:00:17+00:00"},{"name": "symfony/http-foundation",- "version": "v7.2.0",+ "version": "v7.2.2","source": {"type": "git","url": "https://github.com/symfony/http-foundation.git",- "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744"+ "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e88a66c3997859532bc2ddd6dd8f35aba2711744",- "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744",+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/62d1a43796ca3fea3f83a8470dfe63a4af3bc588",+ "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588","shasum": ""},"require": {@@ -5388,7 +6339,7 @@"description": "Defines an object-oriented layer for the HTTP specification","homepage": "https://symfony.com","support": {- "source": "https://github.com/symfony/http-foundation/tree/v7.2.0"+ "source": "https://github.com/symfony/http-foundation/tree/v7.2.2"},"funding": [{@@ -5404,20 +6355,20 @@"type": "tidelift"}],- "time": "2024-11-13T18:58:46+00:00"+ "time": "2024-12-30T19:00:17+00:00"},{"name": "symfony/http-kernel",- "version": "v7.2.1",+ "version": "v7.2.2","source": {"type": "git","url": "https://github.com/symfony/http-kernel.git",- "reference": "d8ae58eecae44c8e66833e76cc50a4ad3c002d97"+ "reference": "3c432966bd8c7ec7429663105f5a02d7e75b4306"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d8ae58eecae44c8e66833e76cc50a4ad3c002d97",- "reference": "d8ae58eecae44c8e66833e76cc50a4ad3c002d97",+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3c432966bd8c7ec7429663105f5a02d7e75b4306",+ "reference": "3c432966bd8c7ec7429663105f5a02d7e75b4306","shasum": ""},"require": {@@ -5502,7 +6453,7 @@"description": "Provides a structured process for converting a Request into a Response","homepage": "https://symfony.com","support": {- "source": "https://github.com/symfony/http-kernel/tree/v7.2.1"+ "source": "https://github.com/symfony/http-kernel/tree/v7.2.2"},"funding": [{@@ -5518,7 +6469,7 @@"type": "tidelift"}],- "time": "2024-12-11T12:09:10+00:00"+ "time": "2024-12-31T14:59:40+00:00"},{"name": "symfony/mailer",@@ -6486,12 +7437,12 @@},"type": "library","extra": {+ "thanks": {+ "url": "https://github.com/symfony/contracts",+ "name": "symfony/contracts"+ },"branch-alias": {"dev-main": "3.5-dev"- },- "thanks": {- "name": "symfony/contracts",- "url": "https://github.com/symfony/contracts"}},"autoload": {@@ -6634,16 +7585,16 @@},{"name": "symfony/translation",- "version": "v7.2.0",+ "version": "v7.2.2","source": {"type": "git","url": "https://github.com/symfony/translation.git",- "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5"+ "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/translation/zipball/dc89e16b44048ceecc879054e5b7f38326ab6cc5",- "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5",+ "url": "https://api.github.com/repos/symfony/translation/zipball/e2674a30132b7cc4d74540d6c2573aa363f05923",+ "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923","shasum": ""},"require": {@@ -6709,7 +7660,7 @@"description": "Provides tools to internationalize your application","homepage": "https://symfony.com","support": {- "source": "https://github.com/symfony/translation/tree/v7.2.0"+ "source": "https://github.com/symfony/translation/tree/v7.2.2"},"funding": [{@@ -6725,7 +7676,7 @@"type": "tidelift"}],- "time": "2024-11-12T20:47:56+00:00"+ "time": "2024-12-07T08:18:10+00:00"},{"name": "symfony/translation-contracts",@@ -6746,12 +7697,12 @@},"type": "library","extra": {+ "thanks": {+ "url": "https://github.com/symfony/contracts",+ "name": "symfony/contracts"+ },"branch-alias": {"dev-main": "3.5-dev"- },- "thanks": {- "name": "symfony/contracts",- "url": "https://github.com/symfony/contracts"}},"autoload": {@@ -7452,16 +8403,16 @@"packages-dev": [{"name": "barryvdh/laravel-debugbar",- "version": "v3.14.9",+ "version": "v3.14.10","source": {"type": "git","url": "https://github.com/barryvdh/laravel-debugbar.git",- "reference": "2e805a6bd4e1aa83774316bb062703c65d0691ef"+ "reference": "56b9bd235e3fe62e250124804009ce5bab97cc63"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/2e805a6bd4e1aa83774316bb062703c65d0691ef",- "reference": "2e805a6bd4e1aa83774316bb062703c65d0691ef",+ "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/56b9bd235e3fe62e250124804009ce5bab97cc63",+ "reference": "56b9bd235e3fe62e250124804009ce5bab97cc63","shasum": ""},"require": {@@ -7520,7 +8471,7 @@],"support": {"issues": "https://github.com/barryvdh/laravel-debugbar/issues",- "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.14.9"+ "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.14.10"},"funding": [{@@ -7532,7 +8483,7 @@"type": "github"}],- "time": "2024-11-25T14:51:20+00:00"+ "time": "2024-12-23T10:10:42+00:00"},{"name": "fakerphp/faker",@@ -7799,16 +8750,16 @@},{"name": "laravel/pint",- "version": "v1.18.3",+ "version": "v1.19.0","source": {"type": "git","url": "https://github.com/laravel/pint.git",- "reference": "cef51821608239040ab841ad6e1c6ae502ae3026"+ "reference": "8169513746e1bac70c85d6ea1524d9225d4886f0"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/pint/zipball/cef51821608239040ab841ad6e1c6ae502ae3026",- "reference": "cef51821608239040ab841ad6e1c6ae502ae3026",+ "url": "https://api.github.com/repos/laravel/pint/zipball/8169513746e1bac70c85d6ea1524d9225d4886f0",+ "reference": "8169513746e1bac70c85d6ea1524d9225d4886f0","shasum": ""},"require": {@@ -7819,10 +8770,10 @@"php": "^8.1.0"},"require-dev": {- "friendsofphp/php-cs-fixer": "^3.65.0",- "illuminate/view": "^10.48.24",- "larastan/larastan": "^2.9.11",- "laravel-zero/framework": "^10.4.0",+ "friendsofphp/php-cs-fixer": "^3.66.0",+ "illuminate/view": "^10.48.25",+ "larastan/larastan": "^2.9.12",+ "laravel-zero/framework": "^10.48.25","mockery/mockery": "^1.6.12","nunomaduro/termwind": "^1.17.0","pestphp/pest": "^2.36.0"@@ -7861,7 +8812,7 @@"issues": "https://github.com/laravel/pint/issues","source": "https://github.com/laravel/pint"},- "time": "2024-11-26T15:34:00+00:00"+ "time": "2024-12-30T16:20:10+00:00"},{"name": "laravel/sail",diff --git a/config/broadcasting.php b/config/broadcasting.phpnew file mode 100644index 00000000..7ad80114--- /dev/null+++ b/config/broadcasting.php@@ -0,0 +1,82 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Broadcaster+ |--------------------------------------------------------------------------+ |+ | This option controls the default broadcaster that will be used by the+ | framework when an event needs to be broadcast. You may set this to+ | any of the connections defined in the "connections" array below.+ |+ | Supported: "reverb", "pusher", "ably", "redis", "log", "null"+ |+ */++ 'default' => env('BROADCAST_CONNECTION', 'null'),++ /*+ |--------------------------------------------------------------------------+ | Broadcast Connections+ |--------------------------------------------------------------------------+ |+ | Here you may define all of the broadcast connections that will be used+ | to broadcast events to other systems or over WebSockets. Samples of+ | each available type of connection are provided inside this array.+ |+ */++ 'connections' => [++ 'reverb' => [+ 'driver' => 'reverb',+ 'key' => env('REVERB_APP_KEY'),+ 'secret' => env('REVERB_APP_SECRET'),+ 'app_id' => env('REVERB_APP_ID'),+ 'options' => [+ 'host' => env('REVERB_HOST'),+ 'port' => env('REVERB_PORT', 443),+ 'scheme' => env('REVERB_SCHEME', 'https'),+ 'useTLS' => env('REVERB_SCHEME', 'https') === 'https',+ ],+ 'client_options' => [+ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html+ ],+ ],++ 'pusher' => [+ 'driver' => 'pusher',+ 'key' => env('PUSHER_APP_KEY'),+ 'secret' => env('PUSHER_APP_SECRET'),+ 'app_id' => env('PUSHER_APP_ID'),+ 'options' => [+ 'cluster' => env('PUSHER_APP_CLUSTER'),+ 'host' => env('PUSHER_HOST') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com',+ 'port' => env('PUSHER_PORT', 443),+ 'scheme' => env('PUSHER_SCHEME', 'https'),+ 'encrypted' => true,+ 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',+ ],+ 'client_options' => [+ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html+ ],+ ],++ 'ably' => [+ 'driver' => 'ably',+ 'key' => env('ABLY_KEY'),+ ],++ 'log' => [+ 'driver' => 'log',+ ],++ 'null' => [+ 'driver' => 'null',+ ],++ ],++];diff --git a/config/pulse.php b/config/pulse.phpindex 23bbd5f9..006573ab 100644--- a/config/pulse.php+++ b/config/pulse.php@@ -3,6 +3,8 @@use Laravel\Pulse\Http\Middleware\Authorize;use Laravel\Pulse\Pulse;use Laravel\Pulse\Recorders;+use Laravel\Reverb\Pulse\Recorders\ReverbConnections;+use Laravel\Reverb\Pulse\Recorders\ReverbMessages;return [@@ -246,5 +248,12 @@ return [\Denniseilander\LogFiles\Recorders\LogFiles::class => ['run_every_seconds' => 30, // 10 minutes],+ ReverbConnections::class => [+ 'sample_rate' => 1,+ ],++ ReverbMessages::class => [+ 'sample_rate' => 1,+ ],],];diff --git a/config/reverb.php b/config/reverb.phpnew file mode 100644index 00000000..3fead53b--- /dev/null+++ b/config/reverb.php@@ -0,0 +1,92 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Reverb Server+ |--------------------------------------------------------------------------+ |+ | This option controls the default server used by Reverb to handle+ | incoming messages as well as broadcasting message to all your+ | connected clients. At this time only "reverb" is supported.+ |+ */++ 'default' => env('REVERB_SERVER', 'reverb'),++ /*+ |--------------------------------------------------------------------------+ | Reverb Servers+ |--------------------------------------------------------------------------+ |+ | Here you may define details for each of the supported Reverb servers.+ | Each server has its own configuration options that are defined in+ | the array below. You should ensure all the options are present.+ |+ */++ 'servers' => [++ 'reverb' => [+ 'host' => env('REVERB_SERVER_HOST', '0.0.0.0'),+ 'port' => env('REVERB_SERVER_PORT', 8080),+ 'hostname' => env('REVERB_HOST'),+ 'options' => [+ 'tls' => [],+ ],+ 'max_request_size' => env('REVERB_MAX_REQUEST_SIZE', 10_000),+ 'scaling' => [+ 'enabled' => env('REVERB_SCALING_ENABLED', false),+ 'channel' => env('REVERB_SCALING_CHANNEL', 'reverb'),+ 'server' => [+ 'url' => env('REDIS_URL'),+ 'host' => env('REDIS_HOST', '127.0.0.1'),+ 'port' => env('REDIS_PORT', '6379'),+ 'username' => env('REDIS_USERNAME'),+ 'password' => env('REDIS_PASSWORD'),+ 'database' => env('REDIS_DB', '0'),+ ],+ ],+ 'pulse_ingest_interval' => env('REVERB_PULSE_INGEST_INTERVAL', 15),+ 'telescope_ingest_interval' => env('REVERB_TELESCOPE_INGEST_INTERVAL', 15),+ ],++ ],++ /*+ |--------------------------------------------------------------------------+ | Reverb Applications+ |--------------------------------------------------------------------------+ |+ | Here you may define how Reverb applications are managed. If you choose+ | to use the "config" provider, you may define an array of apps which+ | your server will support, including their connection credentials.+ |+ */++ 'apps' => [++ 'provider' => 'config',++ 'apps' => [+ [+ 'key' => env('REVERB_APP_KEY'),+ 'secret' => env('REVERB_APP_SECRET'),+ 'app_id' => env('REVERB_APP_ID'),+ 'options' => [+ 'host' => env('REVERB_HOST'),+ 'port' => env('REVERB_PORT', 443),+ 'scheme' => env('REVERB_SCHEME', 'https'),+ 'useTLS' => env('REVERB_SCHEME', 'https') === 'https',+ ],+ 'allowed_origins' => ['*'],+ 'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60),+ 'activity_timeout' => env('REVERB_APP_ACTIVITY_TIMEOUT', 30),+ 'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10_000),+ ],+ ],++ ],++];diff --git a/config/sanctum.php b/config/sanctum.phpindex 1cdef5eb..ce46f28b 100755--- a/config/sanctum.php+++ b/config/sanctum.php@@ -17,8 +17,11 @@ return ['stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf('%s%s',- // 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',+ 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',+ 'localhost:443','app.test:8080',+ 'localhost:8080',+ '0.0.0.0:8080',Sanctum::currentApplicationUrlWithPort()))),diff --git a/package-lock.json b/package-lock.jsonindex 05583b0b..5ec1765b 100755--- a/package-lock.json+++ b/package-lock.json@@ -51,9 +51,11 @@"eslint": "^9.14.0","eslint-config-prettier": "^9.1.0","eslint-plugin-vue": "^9.30.0",+ "laravel-echo": "^1.17.1","laravel-vite-plugin": "^1.0.0","postcss": "^8.4.47","prettier": "3.3.3",+ "pusher-js": "^8.4.0-rc2","tailwindcss": "^3.4.13","typescript": "~5.6.3","unplugin-icons": "^0.19.0",@@ -3922,6 +3924,16 @@"dev": true,"license": "MIT"},+ "node_modules/laravel-echo": {+ "version": "1.17.1",+ "resolved": "https://registry.npmjs.org/laravel-echo/-/laravel-echo-1.17.1.tgz",+ "integrity": "sha512-ORWc4vDfnBj/Oe5ThZ5kYyGItRjLDqAQUyhD/7UhehUOqc+s5x9HEBjtMVludNMP6VuXw6t7Uxt8bp63kaTofg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },"node_modules/laravel-vite-plugin": {"version": "1.1.1","resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.1.1.tgz",@@ -4673,6 +4685,16 @@"node": ">=6"}},+ "node_modules/pusher-js": {+ "version": "8.4.0-rc2",+ "resolved": "https://registry.npmjs.org/pusher-js/-/pusher-js-8.4.0-rc2.tgz",+ "integrity": "sha512-d87GjOEEl9QgO5BWmViSqW0LOzPvybvX6WA9zLUstNdB57jVJuR27zHkRnrav2a3+zAMlHbP2Og8wug+rG8T+g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "tweetnacl": "^1.0.3"+ }+ },"node_modules/queue-microtask": {"version": "1.2.3","resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",@@ -5368,6 +5390,13 @@"dev": true,"license": "0BSD"},+ "node_modules/tweetnacl": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz",+ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==",+ "dev": true,+ "license": "Unlicense"+ },"node_modules/type-check": {"version": "0.4.0","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",diff --git a/package.json b/package.jsonindex 798bb10a..936664fe 100755--- a/package.json+++ b/package.json@@ -48,9 +48,11 @@"eslint": "^9.14.0","eslint-config-prettier": "^9.1.0","eslint-plugin-vue": "^9.30.0",+ "laravel-echo": "^1.17.1","laravel-vite-plugin": "^1.0.0","postcss": "^8.4.47","prettier": "3.3.3",+ "pusher-js": "^8.4.0-rc2","tailwindcss": "^3.4.13","typescript": "~5.6.3","unplugin-icons": "^0.19.0",diff --git a/resources/js/components/cards/UserCard.vue b/resources/js/components/cards/UserCard.vueindex 0a55d56a..7122d492 100644--- a/resources/js/components/cards/UserCard.vue+++ b/resources/js/components/cards/UserCard.vue@@ -54,11 +54,7 @@ const props = defineProps<{ data: UserResource }>();<template #text> View Profile </template><template #icon> <ProiconsPersonCircle class="h-4 w-4" /></template></ButtonText>- <ButtonText- class="h-8 dark:!bg-neutral-950 disabled:opacity-60"- :title="'Set User Access Permissions'"- disabled- >+ <ButtonText class="h-8 dark:!bg-neutral-950 disabled:opacity-60" :title="'Set User Access Permissions'" disabled><template #text> Manage Permissions </template><template #icon> <ProiconsLockOpen class="h-4 w-4" /></template></ButtonText>@@ -104,7 +100,6 @@ const props = defineProps<{ data: UserResource }>();:textClasses="'text-rose-700 hover:text-rose-600'":colourClasses="'dark:hover:bg-neutral-800 hover:bg-gray-200'":label="'Remove User'"- disabled@click.stop.prevent="$emit('clickAction')"/></div>@@ -112,11 +107,7 @@ const props = defineProps<{ data: UserResource }>();<section class="flex flex-col sm:flex-row sm:justify-between w-full text-sm text-neutral-500 dark:text-neutral-400"><h3 class="w-full text-wrap truncate sm:text-nowrap" :title="`Date joined`">Date Joined:- {{- data.created_at- ? toFormattedDate(new Date(data.created_at), false, { year: 'numeric', month: 'short', day: 'numeric' })- : 'Unknown'- }}+ {{ data.created_at ? toFormattedDate(new Date(data.created_at), false, { year: 'numeric', month: 'short', day: 'numeric' }) : 'Unknown' }}</h3><h3 class="truncate sm:text-right w-full line-clamp-2 capitalize" v-show="data.last_active" title="Last date of activity">Last Active:diff --git a/resources/js/components/dashboard/DashboardUsers.vue b/resources/js/components/dashboard/DashboardUsers.vueindex 9a18edcc..32aac070 100644--- a/resources/js/components/dashboard/DashboardUsers.vue+++ b/resources/js/components/dashboard/DashboardUsers.vue@@ -1,7 +1,7 @@<script setup lang="ts">import type { UserResource } from '@/types/resources';-import { getActiveSessions, getUsers } from '@/service/siteAPI';+import { deleteUser, getActiveSessions, getUsers } from '@/service/siteAPI';import { computed, onMounted, ref } from 'vue';import { toast } from '@/service/toaster/toastService';@@ -83,10 +83,14 @@ const handleDelete = (id: number) => {const submitDelete = async () => {if (cachedID.value) {- // let request = await deleteRecord(cachedID.value);- let request = false;- if (request) toast.add('Success', { type: 'success', description: 'User deleted successfully!', life: 3000 });- else toast.add('Error', { type: 'warning', description: 'Unable to delete user. Please try again.', life: 3000 });+ try {+ await deleteUser(cachedID.value);+ toast.add('Success', { type: 'success', description: 'User deleted successfully!', life: 3000 });+ loadData();+ } catch (error) {+ toast.add('Error', { type: 'warning', description: 'Unable to delete user. Please try again.', life: 3000 });+ console.log(error);+ }}};diff --git a/resources/js/echo.js b/resources/js/echo.jsnew file mode 100644index 00000000..9349afae--- /dev/null+++ b/resources/js/echo.js@@ -0,0 +1,14 @@+import Echo from 'laravel-echo';++import Pusher from 'pusher-js';+window.Pusher = Pusher;++window.Echo = new Echo({+ broadcaster: 'reverb',+ key: import.meta.env.VITE_REVERB_APP_KEY,+ wsHost: import.meta.env.VITE_REVERB_HOST,+ wsPort: import.meta.env.VITE_REVERB_PORT ?? 80,+ wssPort: import.meta.env.VITE_REVERB_PORT ?? 443,+ forceTLS: (import.meta.env.VITE_REVERB_SCHEME ?? 'https') === 'https',+ enabledTransports: ['ws', 'wss'],+});diff --git a/resources/js/service/siteAPI.ts b/resources/js/service/siteAPI.tsindex a374fca9..4dc39ce1 100644--- a/resources/js/service/siteAPI.ts+++ b/resources/js/service/siteAPI.ts@@ -66,3 +66,7 @@ export function cancelTask(taskId: number) {export function deleteSubTask(taskId: number) {return API.delete(`/sub-tasks/${taskId}`);}++export function deleteUser(userId: number) {+ return API.delete(`/users/${userId}`);+}diff --git a/resources/js/views/VideoView.vue b/resources/js/views/VideoView.vueindex e2f0f914..0bee725b 100755--- a/resources/js/views/VideoView.vue+++ b/resources/js/views/VideoView.vue@@ -43,7 +43,7 @@ async function reload() {loading.value = true;- if (stateDirectory.value?.name && stateDirectory.value.name === URL_CATEGORY) {+ if (stateDirectory.value?.name && stateDirectory.value.name === URL_CATEGORY && URL_FOLDER) {await getFolder(URL_FOLDER);} else {await getCategory(URL_CATEGORY, URL_FOLDER);diff --git a/resources/views/vendor/pulse/dashboard.blade.php b/resources/views/vendor/pulse/dashboard.blade.phpindex 083c8aee..6e5a2d14 100644--- a/resources/views/vendor/pulse/dashboard.blade.php+++ b/resources/views/vendor/pulse/dashboard.blade.php@@ -22,4 +22,8 @@<livewire:pulse.log-files cols="6" rows="2" /><livewire:requests-graph cols="full" rows="2" />++ <livewire:reverb.connections cols="full" />++ <livewire:reverb.messages cols="full" /></x-pulse>\ No newline at end of filediff --git a/routes/channels.php b/routes/channels.phpnew file mode 100644index 00000000..df2ad287--- /dev/null+++ b/routes/channels.php@@ -0,0 +1,7 @@+<?php++use Illuminate\Support\Facades\Broadcast;++Broadcast::channel('App.Models.User.{id}', function ($user, $id) {+ return (int) $user->id === (int) $id;+});