<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
azmolla / fraud-checker-bd-courier-laravel example snippets
use FraudCheckerBdCourier;
// Input a standard 11-digit Bangladeshi mobile number
$report = FraudCheckerBdCourier::check('01*********');
dump($report);
use Azmolla\FraudCheckerBdCourier\Services\PathaoService;
use Azmolla\FraudCheckerBdCourier\Services\SteadfastService;
use Azmolla\FraudCheckerBdCourier\Services\RedxService;
use Azmolla\FraudCheckerBdCourier\Services\PaperflyService;
use Azmolla\FraudCheckerBdCourier\Services\CarrybeeService;
$steadfastData = (new SteadfastService())->getDeliveryStats('01*********');
$redxData = (new RedxService())->getDeliveryStats('01*********');
$pathaoData = (new PathaoService())->getDeliveryStats('01*********');
$paperflyData = (new PaperflyService())->getDeliveryStats('01*********');
$carrybeeData = (new CarrybeeService())->getDeliveryStats('01*********');
use Azmolla\FraudCheckerBdCourier\Helpers\CourierDataValidator;
CourierDataValidator::checkBdMobile('01*********');
// Throws InvalidArgumentException if formatting fails
bash
php artisan vendor:publish --tag="config"
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.