'https://fapi.bitunix.com/', 'bitunix-api.api_key' => $apiKey, 'bitunix-api.api_secret' => $apiSecret, 'bitunix-api.language' => $language, ]); echo "🔧 Configuration Test:\n"; echo " Base URI: " . config('bitunix-api.future_base_uri') . "\n"; echo " API Key: " . substr(config('bitunix-api.api_key'), 0, 8) . "...\n"; echo " API Secret: " . substr(config('bitunix-api.api_secret'), 0, 8) . "...\n"; echo " Language: " . config('bitunix-api.language') . "\n\n"; // Test header generation try { echo "🔐 Testing Header Generation:\n"; $headers = Header::generateHeaders([], '{"test":"value"}'); echo " API Key: " . $headers['api-key'] . "\n"; echo " Sign: " . substr($headers['sign'], 0, 16) . "...\n"; echo " Nonce: " . $headers['nonce'] . "\n"; echo " Timestamp: " . $headers['timestamp'] . "\n"; echo " Language: " . $headers['language'] . "\n"; echo " Content-Type: " . $headers['Content-Type'] . "\n\n"; echo "✅ Configuration is working correctly!\n"; echo "You can now use the Bitunix API package in your application.\n"; } catch (Exception $e) { echo "❌ Error generating headers: " . $e->getMessage() . "\n"; exit(1); }