Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
CasperSleepPublic archive

About

Simple adapter to interface with Twilio's SMS messaging

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilixir Build Status

Twilixir is an Elixir Client to send SMS/MMS using Twilio.

Install

  1. Add twilixir to your list of dependencies in mix.exs:
def deps do
  [{:twilixir, "~> 1.0.0"}]
end
  1. Ensure twilixir is started before your application:
def application do
  [applications: [:twilixir]]
end

Configure

Add the following to your config.exs file:

config :twilixir,
  sid: "YOUR_TWILIO_SID",
  token: "YOUR_TWILIO_AUTH_TOKEN"

Send Messages

Twilixir.Messenger.create("from_number", "to_number", "body_text", "optional_media_url")

# e.g. Twilixir.Messenger.create("15005550006", "15005550001", "test text")

About

Simple adapter to interface with Twilio's SMS messaging

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages