Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php require_once 'vendor/autoload.php'; use Vonage\Client\Credentials\Basic; use Vo..

Decoded Output download

<?php 
require_once 'vendor/autoload.php'; 
 
use Vonage\Client\Credentials\Basic; 
use Vonage\Client; 
 
$apiKey = 'YOUR_API_KEY';      // Ganti dengan API Key Anda 
$apiSecret = 'YOUR_API_SECRET'; // Ganti dengan API Secret Anda 
 
$basic  = new Basic($apiKey, $apiSecret); 
$client = new Client($basic); 
 
$response = $client->sms()->send( 
    new \Vonage\SMS\Message\SMS('RECIPIENT_PHONE_NUMBER', 'SENDER_NAME', 'Hello from Vonage SMS API!') 
); 
 
$message = $response->current(); 
 
if ($message->getStatus() == 0) { 
    echo "The message was sent successfully
"; 
} else { 
    echo "The message failed with status: " . $message->getStatus() . "
"; 
} ?>

Did this file decode correctly?

Original Code

<?php
require_once 'vendor/autoload.php';

use Vonage\Client\Credentials\Basic;
use Vonage\Client;

$apiKey = 'YOUR_API_KEY';      // Ganti dengan API Key Anda
$apiSecret = 'YOUR_API_SECRET'; // Ganti dengan API Secret Anda

$basic  = new Basic($apiKey, $apiSecret);
$client = new Client($basic);

$response = $client->sms()->send(
    new \Vonage\SMS\Message\SMS('RECIPIENT_PHONE_NUMBER', 'SENDER_NAME', 'Hello from Vonage SMS API!')
);

$message = $response->current();

if ($message->getStatus() == 0) {
    echo "The message was sent successfully\n";
} else {
    echo "The message failed with status: " . $message->getStatus() . "\n";
}

Function Calls

None

Variables

None

Stats

MD5 f94da09410caefe5187fbb4721d02cb9
Eval Count 0
Decode Time 48 ms