server-notifications-laravel
server-notifications-laravel copied to clipboard
demo application demonstrating SMS notifications for Laravel
Server Notifications & Alerts with Twilio and Laravel
Use Twilio to create SMS alerts so that you never miss a critical issue.
Local Development
-
Grab latest source
git clone [email protected]:TwilioDevEd/server-notifications-laravel.git
-
Copy the sample configuration file and edit it to match your configuration.
cp .env.example .env
You can find your
TWILIO_ACCOUNT_SID
andTWILIO_AUTH_TOKEN
under your Twilio Account Settings. You can buy Twilio phone numbers at Twilio numbersTWILIO_NUMBER
should be set to the phone number you purchased above.TWILIO_RR_NUMBER
should be set to a Twilio number too. -
Customize
config/administrators.json
with your name and phone number. -
Install the dependencies with Composer.
composer install
-
Generate an
APP_KEY
.php artisan key:generate
-
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.