<?php
require __DIR__ . '/vendor/autoload.php';

$rules = \App\Core\Database::select("SELECT id, company_id, session_id, is_active FROM chatbot_rules");
echo "All Rules:\n";
print_r($rules);

$sessionKeys = \App\Core\Database::select("SELECT id, session_key, company_id FROM whatsapp_sessions");
echo "\nAll Sessions:\n";
print_r($sessionKeys);
