@extends('install.layout', ['title' => 'Requirements Check', 'currentStep' => 1])
@section('header')
System Requirements
Checking if your server meets the minimum requirements to run Appy.
@endsection
@section('content')
|
Requirement
|
Status
|
@foreach ($dependencies as $name => $status)
|
{{ $name }}
|
@if ($status)
@else
@endif
|
@endforeach
@php
$passedCount = count(array_filter($dependencies, fn($status) => $status === true));
$totalCount = count($dependencies);
$allPassed = $passedCount === $totalCount;
@endphp
@if ($allPassed)
All requirements met!
@else
{{ $totalCount - $passedCount }} requirement(s) not met
@endif
{{ $passedCount }}/{{ $totalCount }} passed
@endsection
@section('footer')
Back
@if ($allPassed)
Next
@else
@endif
@endsection