composer require misfit/robi-sms๐น To publish the config, run from terminal
php artisan vendor:publish --provider='Misfit\Robisms\RobiSmsServiceProvider'๐น Its time to set your Robi Credentials in .env
ROBI_USERNAME=
ROBI_PASSWORD=
ROBI_SMS_NUMBER=
ROBI_SMS_TIMEOUT=๐น Now you can use the sms service anywhere in your project by calling robi_sms() method.
robi_sms(['mobile_no'=>'01xxxxxxxxx','msg'=>'Bismillah'])