@extends('install.layout') @section('content')

Step 1: Requirements Check

Before installation, verify PHP and writable directories.

@php $okGreen = 'border-emerald-200 bg-emerald-50 text-emerald-800 dark:border-emerald-900/40 dark:bg-emerald-950/20 dark:text-emerald-200'; $badRose = 'border-rose-200 bg-rose-50 text-rose-800 dark:border-rose-900/40 dark:bg-rose-950/20 dark:text-rose-200'; $cardClass = function(bool $ok) use ($okGreen,$badRose){ return $ok ? $okGreen : $badRose; }; @endphp
PHP 8.2+
Current: {{ defined('PHP_VERSION') ? PHP_VERSION : 'unknown' }}
{{ $phpOk ? 'OK' : 'Required' }}
storage is writable
Path: {{ storage_path() }}
{{ $storageWritable ? 'OK' : 'Required' }}
bootstrap/cache is writable
Path: {{ base_path('bootstrap/cache') }}
{{ $bootstrapCacheWritable ? 'OK' : 'Required' }}
If any requirement fails, adjust permissions in cPanel (File Manager) before continuing.
@endsection