Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Retrieve and Send Live Bitcoin Rates Every Day Using CEX.io, Twilio SMS, and PHP

Blog post from Twilio

Post Details
Company
Date Published
Author
Precious Opusunju
Word Count
1,007
Language
English
Hacker News Points
-
Summary

The tutorial guides the reader through setting up a daily Bitcoin price alert system using Laravel, Twilio SMS, and CEX.io API. The system automatically sends an SMS with the current Bitcoin rate to a specified phone number every day at 3 am. The process involves creating a new Laravel project, installing required modules, configuring Twilio API credentials, and defining a controller to retrieve the Bitcoin price and send it via SMS. Additionally, a command is created to run the task daily using a scheduler in the Kernel.php file. The reader can test the system by running the command and set up a cron job to run the command automatically every 24 hours.