I have recently implemented a 2-factor verification solution with SMS messages. It uses Chilkat with their REST API for Twilio and it was really straightforward and quick to make.