<?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 "=== All Settings Keys ===\n";
    print_r(array_keys($settings->toArray()));
    echo "\n=== Values containing logo or store ===\n";
    foreach ($settings->toArray() as $key => $val) {
        if (is_string($val) && (strpos($val, 'logo') !== false || strpos($val, 'png') !== false || strpos($val, 'jpg') !== false)) {
            echo "{$key}: {$val}\n";
        }
    }
} else {
    echo "No settings found.\n";
}
