Stu Mason
Stu Mason

Activity

Pull Request Opened

PR #62 opened: feat: add Laravel Kick integration

Summary

Adds optional integration with laravel-kick for enhanced application introspection.

When an app has KICK_TOKEN and KICK_ENABLED=true in its Coolify environment variables, a new Kick tab appears in the dashboard.

Features

Overview Tab

  • Health checks (database, cache, storage, redis) with latency
  • System stats (CPU, memory, disk, uptime)
  • Queue status summary

Logs Tab

  • File selector with size
  • Level filtering (DEBUG through EMERGENCY)
  • Search functionality
  • Configurable line count
  • Auto-refresh

Queue Tab

  • Queue sizes by name
  • Failed job count
  • Failed job details with exception messages

Artisan Tab

  • Whitelisted command list
  • Command execution
  • Output display with exit codes

Configuration

// config/coolify.php
'kick' => [
    'enabled' => env('COOLIFY_KICK_ENABLED', true),
    'cache_ttl' => env('COOLIFY_KICK_CACHE_TTL', 60),
    'timeout' => env('COOLIFY_KICK_TIMEOUT', 10),
],

Setup for Apps

Add to the app's environment in Coolify:

KICK_ENABLED=true
KICK_TOKEN=your-secure-token

Test Plan

  • PHPStan passes
  • All 230 tests pass
  • Frontend builds successfully
  • Manual test with devtrends (has kick v0.3.1)
+2922
additions
-85
deletions
30
files changed