@extends('layouts.admin')
@section('title', 'Settings')
@section('content')
System Settings
Current environment configuration (read-only — edit .env file to change)
| Admin Username |
{{ env('ADMIN_USERNAME', 'admin') }} |
| Admin Password |
••••••••••• (set in .env) |
| App Environment |
{{ app()->environment() }}
|
| Debug Mode |
{{ config('app.debug') ? 'ON (development)' : 'OFF (production)' }}
|
| App URL |
{{ config('app.url') }} |
| Flights Module |
Enabled
|
| Car Rental Module |
Enabled
|
| Hotels Module |
Disabled (Scope Lock)
|
| API Key |
@if(env('AMADEUS_API_KEY'))
Configured
@else
Not set
@endif
|
| API Secret |
@if(env('AMADEUS_API_SECRET'))
Configured
@else
Not set
@endif
|
| Sandbox Mode |
{{ env('AMADEUS_SANDBOX_MODE', true) ? 'Sandbox ON' : 'Live Mode' }}
|
| Endpoint |
{{ env('AMADEUS_SANDBOX_MODE', true) ? 'test.api.amadeus.com' : 'api.amadeus.com' }} |
| Access Token |
@if(env('MAPBOX_ACCESS_TOKEN'))
Configured
@else
Not set
@endif
|
| Connection |
{{ config('database.default') }} |
| Database |
{{ config('database.connections.' . config('database.default') . '.database') }} |
To change settings: Edit the .env file in your project root, then run
php artisan config:clear to apply the changes. Settings marked "Not set" should be configured
before activating the related provider.
@endsection