Skip to content

johnancelet/server-notifications-laravel

 
 

Repository files navigation

Twilio

Server Notifications & Alerts with Twilio and Laravel

Build Status

Use Twilio to create SMS alerts so that you never miss a critical issue.

Read the full tutorial here!

Local Development

  1. Grab latest source

    $ git clone [email protected]:TwilioDevEd/server-notifications-laravel.git
  2. Copy the sample configuration file and edit it to match your configuration.

    $ cp .env.example .env

You can find your TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN under your Twilio Account Settings. You can buy Twilio phone numbers at Twilio numbers TWILIO_NUMBER should be set to the phone number you purchased above. TWILIO_RR_NUMBER should be set to a Twilio number too.

  1. Customize config/administrators.json with your name and phone number.

  2. Install the dependencies with Composer.

    $ composer install
  3. Generate an APP_KEY.

    $ php artisan key:generate
  4. Start the server.

    $ php artisan serve

How To Demo?

Visit the application's error route at http://localhost:8000/error. You'll soon get a message informing you of an error.

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

demo application demonstrating SMS notifications for Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.5%
  • HTML 4.5%