twiliodeved / ivr-phone-tree-laravel Goto Github PK
View Code? Open in Web Editor NEWCreate an IVR phone tree with PHP and Laravel 10
Home Page: https://www.twilio.com/docs/tutorials/walkthrough/ivr-phone-tree/php/laravel
Create an IVR phone tree with PHP and Laravel 10
Home Page: https://www.twilio.com/docs/tutorials/walkthrough/ivr-phone-tree/php/laravel
Everything else in the IVR worked for me except this selection:
When I call +12013409912 I get the standard Twilio error message.
You can either fix the number you created for this tutorial, or use the ones from the Rails port:
I spotted a few bootstrap dependencies in the project. Since this app doesn't have a UI, we should remove those to make this repo as simple as possible.
The rails implementation has a really simple response when someone visits the /
URL:
http://ivr-phone-tree-rails-2.herokuapp.com/
Can we add something like that to this app? Right now it 404s when someone tries to visit the home page, which could be confusing when a new developer is setting up the app for the first time.
I'm not very experienced with PHP, but I had some trouble setting up this project because the README didn't mention copying the .env.example
file to .env
.
Can you add a note about that?
I also had to run php artisan key:generate
before the app would work, so maybe we need to add that to the README instructions also.
Format README based on new standards
I was noticing that Twilio connects to the app fine, but often calls immediately disconnect. I dug into the logs at Twilio and saw that it was being caused by a 403 error at amazonaws: "All access to this object has been disabled" (et-phone.mp3). I guess they rate limit the access to that file.
I ran into errors following the README because it told me to run composer update
instead of composer install
. composer update
kept erroring out for me.
I double-checked this with some other PHP experts at Twilio, and when a developer is cloning a repo for the first time, we should ask them to run composer install
instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.