diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 326b9cd0c..d60e131fd 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -175,6 +175,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -370,6 +371,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -565,6 +567,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -760,6 +763,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -955,6 +959,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -1150,6 +1155,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -1345,6 +1351,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -1540,6 +1547,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -1735,6 +1743,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -1930,6 +1939,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, @@ -2125,6 +2135,7 @@ 'encrypter' => \Illuminate\Encryption\Encrypter::class, 'events' => \Illuminate\Events\Dispatcher::class, 'filament' => \Filament\FilamentManager::class, + 'filament-versions-manager' => \FilamentVersions\FilamentVersionsManager::class, 'files' => \Illuminate\Filesystem\Filesystem::class, 'filesystem' => \Illuminate\Filesystem\FilesystemManager::class, 'filesystem.cloud' => \Illuminate\Filesystem\FilesystemAdapter::class, diff --git a/app/Providers/FilamentServiceProvider.php b/app/Providers/FilamentServiceProvider.php index 8fca51662..bb83c675f 100644 --- a/app/Providers/FilamentServiceProvider.php +++ b/app/Providers/FilamentServiceProvider.php @@ -5,6 +5,7 @@ use App\Models\User; use Filament\Facades\Filament; use Filament\Navigation\NavigationItem; +use FilamentVersions\Facades\FilamentVersions; use Illuminate\Support\ServiceProvider; use RyanChandler\FilamentLog\Logs; @@ -31,6 +32,8 @@ public function boot() return true; }); + FilamentVersions::addItem('Speedtest Tracker', 'v0.4.2'); + Filament::serving(function () { Filament::registerNavigationGroups([ 'Settings', diff --git a/composer.json b/composer.json index 7cbfa21cc..c2bc6a32d 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,7 @@ "require": { "php": "^8.0.2", "amvisor/filament-failed-jobs": "^0.6.0", + "awcodes/filament-versions": "^1.0", "doctrine/dbal": "^3.4", "dragonmantank/cron-expression": "^3.3", "filament/filament": "^2.0", diff --git a/composer.lock b/composer.lock index 87a45e783..e8a92cbe9 100644 --- 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": "67d47af73396f1919490e24b9367ce0b", + "content-hash": "0584afc1f7ba6574c9b8496afbdfcdf0", "packages": [ { "name": "akaunting/laravel-money", @@ -127,6 +127,63 @@ ], "time": "2022-10-06T09:21:49+00:00" }, + { + "name": "awcodes/filament-versions", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/awcodes/filament-versions.git", + "reference": "3c8e0b5141a265e39a6911c58e735d1b985ffae4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/awcodes/filament-versions/zipball/3c8e0b5141a265e39a6911c58e735d1b985ffae4", + "reference": "3c8e0b5141a265e39a6911c58e735d1b985ffae4", + "shasum": "" + }, + "require": { + "filament/filament": "^2.0", + "php": "^8.0.2", + "spatie/laravel-package-tools": "^1.9.2" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "FilamentVersions\\FilamentVersionsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "FilamentVersions\\": "src/", + "FilamentVersions\\Database\\Seeders\\": "database/seeders/", + "FilamentVersions\\Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adam Weston", + "email": "awcodes1@gmail.com", + "role": "Developer" + } + ], + "description": "A mostly useless package to display framework versions at the bottom of the navigation panel.", + "keywords": [ + "filament", + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/awcodes/filament-versions/issues", + "source": "https://github.com/awcodes/filament-versions/tree/v1.0.6" + }, + "time": "2022-08-24T16:09:51+00:00" + }, { "name": "blade-ui-kit/blade-heroicons", "version": "1.3.1",