@vite(['resources/css/app.css', 'resources/js/app.js']) @fluxAppearance
@php $stepKeys = array_map(fn ($step) => $step['key'], $steps); $currentIndex = array_search($currentStep, $stepKeys, true); $requirementsPassed = collect($requirements)->every(fn ($requirement) => ($requirement['blocking'] ?? true) === false ? true : ($requirement['passed'] ?? false)); $dependenciesPassed = collect($dependencies)->every(fn ($dependency) => $dependency['passed'] ?? false); @endphp

Welcome to the {{ config('app.name', 'Ticaga') }} installer

Follow the guided steps to prepare your environment, configure your database, and create the first superadmin account.

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())

We encountered some issues

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if ($currentStep === 'requirements')

System requirements

Ensure that the server meets the minimum software requirements. Blocking issues must be resolved before continuing. Warnings highlight optional enhancements.

@foreach ($requirements as $requirement) @php $passed = $requirement['passed'] ?? false; $status = $requirement['status'] ?? ($passed ? 'passed' : 'failed'); $blocking = $requirement['blocking'] ?? true; $badgeClasses = [ 'inline-flex items-center rounded-full px-3 py-1 text-xs font-medium', 'bg-emerald-100 text-emerald-700 dark:bg-gray-900 dark:text-emerald-200' => $passed, 'bg-amber-100 text-amber-700 dark:bg-gray-900 dark:text-amber-200' => (! $passed && ! $blocking) || $status === 'warning', 'bg-sky-100 text-sky-700 dark:bg-gray-900 dark:text-sky-200' => $status === 'pending', 'bg-rose-100 text-rose-700 dark:bg-gray-900 dark:text-rose-200' => ! $passed && $blocking && $status !== 'pending' && $status !== 'warning', ]; @endphp

{{ $requirement['label'] }}

{{ $requirement['details'] }}

@if ($passed) Ready @elseif ($status === 'pending') Pending @elseif ($status === 'warning' || ! $blocking) Warning @else Needs attention @endif
@endforeach
@csrf
@elseif ($currentStep === 'dependencies')

Install application dependencies

Composer and Node dependencies are required for the application to run correctly. Install them automatically or ensure they are already available.

@foreach ($dependencies as $dependency) @php $passed = $dependency['passed'] ?? false; $status = $dependency['status'] ?? ($passed ? 'passed' : 'failed'); $badgeClasses = [ 'inline-flex items-center rounded-full px-3 py-1 text-xs font-medium', 'bg-emerald-100 text-emerald-700 dark:bg-gray-900 dark:text-emerald-200' => $status === 'passed', 'bg-sky-100 text-sky-700 dark:bg-gray-900 dark:text-sky-200' => $status === 'pending', 'bg-rose-100 text-rose-700 dark:bg-gray-900 dark:text-rose-200' => $status === 'failed', ]; $label = match ($status) { 'passed' => 'Installed', 'pending' => 'Pending', default => 'Missing', }; @endphp

{{ $dependency['label'] }}

{{ $dependency['details'] }}

{{ $label }}
@endforeach
@csrf
@if (! $dependenciesPassed) @endif
@elseif ($currentStep === 'database')

Connect to your MySQL database

Provide the connection details for the MySQL database that will store your Ticaga data. These credentials will be written to the environment configuration file.

@if ($connectionStatus['connected'])
A database connection is currently available. If you need to switch databases, update the details below.
@elseif ($connectionStatus['error'])
{{ $connectionStatus['error'] }}
@endif
@csrf

Leave blank to keep the stored password if it has already been provided.

@elseif ($currentStep === 'application')

Configure application settings

Set the URL that users will use to reach Ticaga. A trial license will be automatically requested and activated when you continue.

Trial License Information

When you click "Continue", Ticaga will automatically contact our licensing server to request a trial license for your installation. This requires an active internet connection.

@csrf

The full URL where Ticaga will be accessible (e.g., https://support.yourcompany.com)

← Back to database
@elseif ($currentStep === 'administrator')

Create the first administrator

This account will receive the superadmin role and full access to Ticaga. Use a secure password and store the credentials safely.

@csrf

Passwords must be at least 15 characters and include letters, numbers, and symbols.

@endif