PNLCS Install Wizard
Open-source hosting billing platform
@php $steps = [ ['key' => 'requirements', 'label' => 'Requirements'], ['key' => 'database', 'label' => 'Database'], ['key' => 'admin', 'label' => 'Admin'], ['key' => 'app', 'label' => 'App'], ['key' => 'finish', 'label' => 'Finish'], ]; $current = $step ?? 'requirements'; $currentIdx = collect($steps)->search(fn($s) => $s['key'] === $current); @endphp @foreach($steps as $i => $s) @php $done = $i < $currentIdx; $active = $i === $currentIdx; @endphp
{{ $done ? '✓' : ($i + 1) }}
{{ $s['label'] }}
@if($i < count($steps) - 1)
@endif
@endforeach
@if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
@foreach($errors->all() as $err)
{{ $err }}
@endforeach
@endif @yield('content')
github.com/Panelica/pnlcs
·
Docker Hub