diff --git a/web/app/Filament/Pages/PHPInfo.php b/web/app/Filament/Pages/PHPInfo.php index b294be5..a0b968d 100644 --- a/web/app/Filament/Pages/PHPInfo.php +++ b/web/app/Filament/Pages/PHPInfo.php @@ -1,22 +1,10 @@ $installedPHPVersions, + ]; + } + } diff --git a/web/resources/views/filament/pages/php-info.blade.php b/web/resources/views/filament/pages/php-info.blade.php index dfbd136..d497ccf 100644 --- a/web/resources/views/filament/pages/php-info.blade.php +++ b/web/resources/views/filament/pages/php-info.blade.php @@ -1,7 +1,44 @@ -
- Installed PHP Version: {{ phpversion() }} +
+
+ @if (!empty($installedPHPVersions)) +
+ Installed PHP Versions on server are: +
+
+ @foreach($installedPHPVersions as $phpVersion) + +
+ + + + PHP {{ $phpVersion }} +
+
+ @endforeach +
+ @else + No PHP versions found. + @endif +
+ +
+ +
+
+ + + +
+ Do you install another php version ? + + Click here to install another PHP version + +
+
+
+