1. Go to this page and download the library: Download sms-proxima/notifier library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sms-proxima / notifier example snippets
use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\TexterInterface;
class OrderController
{
public function confirm(TexterInterface $texter): void
{
$texter->send(new SmsMessage(
'+33612345678',
'Votre commande est confirmée !'
));
}
}
use Symfony\Component\Notifier\Bridge\SmsProxima\SmsProximaOptions;
use Symfony\Component\Notifier\Message\SmsMessage;
$sms = new SmsMessage('+33612345678', 'Votre message');
$sms->options((new SmsProximaOptions())
->sandbox(true) // Test mode — no SMS sent, no credits deducted
->stop(false) // Disable STOP mention (transactional only)
->timeToSend('2026-12-25 10:00') // Schedule for later
->idempotencyKey('unique-uuid-here') // Prevent duplicate sends
);
$texter->send($sms);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.