{{ __('System Deployment') }} (v1.5.0)

{{-- Warning Banner (only when DEPLOY_ENABLED=true) --}} @if(config('app.deploy_enabled'))

Deployment Mode Active - Development tools (Sync, Fresh) are visible. Set DEPLOY_ENABLED=false in production to hide dangerous operations.

@endif {{-- Two Column Layout --}}
{{-- Left Column: Action Buttons --}}

Actions

{{-- Database Backup/Restore (always visible) --}}

Base de Données

Backup et restauration MySQL

Gérer les Backups
{{-- Clear Cache (production safe) --}}

Clear Cache

Clear config/route/view/cache

{{-- Optimize (production safe) --}}

Optimize

Cache config/route/view

@if(config('app.deploy_enabled')) {{-- Sync --}}

Sync

Safe

Run migrations + seeders (firstOrCreate)

{{-- Fresh --}}

Fresh

Very Destructive

DROP ALL + migrate + seed

@endif
{{-- Right Column: Database Status --}}

Database Status

Tables
{{ $status['tables_count'] }}
Migrations
{{ $status['migrations_count'] }}
Users
{{ $status['counts']['users'] }}
Roles
{{ $status['counts']['roles'] }}
Permissions
{{ $status['counts']['permissions'] }}
Residences
{{ $status['counts']['residences'] }}
Addresses
{{ $status['counts']['addresses'] }}
@if($status['last_migration'])
Last Migration:
{{ $status['last_migration']->migration }} (batch {{ $status['last_migration']->batch }})
@endif
{{-- Confirmation Modal --}} {{-- Result Modal --}} {{-- Migrations Modal --}} @push('scripts') @endpush