PHP code example of malico / mobile-cm-php
1. Go to this page and download the library: Download malico/mobile-cm-php 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/ */
malico / mobile-cm-php example snippets
lico\MobileCM\Network;
$phone = '00237653956703';
// $phone = '+237653956703';
// $phone = '237653956703';
// $phone = '653956703';
echo Network::check($phone);
// nexttel | mtn | orange | camtel
if (Network::isOrange($phone)) {
echo 'Orange';
}
if (Network::IsNexttel($phone)) {
echo 'Nextel';
}
if (Network::isCamtel($phone)) {
echo 'Camtel';
}
bash
composer