<?php
require 'vendor/autoload.php';
$app = require_once 'bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

use App\Models\Setting;

$settings = Setting::first();
if ($settings) {
    echo "=== Settings Data ===\n";
    foreach ($settings->toArray() as $key => $val) {
        if (strpos($key, 'logo') !== false || strpos($key, 'store') !== false || strpos($key, 'icon') !== false) {
            echo "{$key}: {$val}\n";
        }
    }
} else {
    echo "No settings found.\n";
}
