Sms Tools
- Intro
- Examples
- composer require nmirceac/sms-tools
- php artisan vendor:publish
- php artisan migrate
- check config/sms.php (just in case)
- add your API details to .env
- php artisan smstools:setup
- check the examples below
- enjoy!
SMS_API_ENDPOINT="https://sms.weanswer.it/api/v1/sms" SMS_API_KEY="AAAAAAAAA" SMS_API_SECRET="ZZZZZZZZZZZZZZZZZZZ"
\App\SmsMessage::queue('27794770189', 'Hello text world!');
dd(\App\SmsMessage::cleanContent('Enter your desired content');