Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TonsOfLaz's avatar

How to build a basic Alexa interaction using Laravel

Hi, I am not sure if this is the right place, but I have been looking for solid info on how to conect a Laravel app with Alexa, and I haven't found anything as good as a Jeffrey Way tutorial would be.

I would love to see something on here, thank you for your time!

0 likes
8 replies
Cronix's avatar

Explain what you are tying to do exactly. What does connect a Laravel app with Alexa mean to you? You want to speak a command to Alexa and have it load your laravel app in a web browser or what are you trying to do?

TonsOfLaz's avatar

Hi @Cronix , here is the interaction I am thinking, specifically:

User: "Alexa, APPNAME Update" Alexa: "Today there have been 5 new MODELNAMES and 3 new scheduled meetings"

This information I have in mind is generic to all users of the app, and just gives them some background on the shared info. They can then log in as normal through a browser if they want to see details.

It just needs to hit a route in my app, run some small query, and return a string of what to say. No specific input (yet) or back and forth, or Auth requirements, just a quick way for someone to get a generic update of what has happened today with the app.

TonsOfLaz's avatar

Hi @hardik thanks for the link. I did see that, I have just been hoping I can find a good screencast! The developer there mentions that he will make some at some point, but there aren't any yet.

lordkirin's avatar

I agree with TonsOfLaz there is now much information on Laravel and Alexa. Current I am trying to learn the laravel passport and the https://github.com/develpr/alexa-app that hardik mentioned. Right now I am just trying to get passport working.

It would get great to see a laravel tutorial on how to use Alexa with laravel.

Moenchfracht's avatar

Hi, I'm also using develpr/alexa and try to make my first steps with it. For me it's also very confusing how my routes should look like. I tried this:

AlexaRoute::intent('/GetTerminIntent', 'GetTerminIntent', 'TermineController@index');

With this controller:

    public function index() {
        return Alexa::say("Hallo Welt")->withCard(new Card("Hello world"))->endSession();
    }

When I try to run the Service Simulator on amazon-developer site, I only recieve a 404. Can someone tell me what I'm doing wrong?

TonsOfLaz's avatar

thanks @memdev , I haven't had a chance to go through the screencast yet, but it looks promising!

Please or to participate in this conversation.