Skip to content

A framework-agnostic wrapper for the Amazon Alexa Skills API written in PHP.

Notifications You must be signed in to change notification settings

briward/amazon-alexa-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alexa Skill

A framework-agnostic wrapper for the Amazon Alexa Skills API written in PHP.

Not ready for public use.

Usage

Install via composer:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/briward/amazon-alexa-skill"
        }
    ],
    "require": {
        "briward/amazon-alexa-skill": "dev-master"
    }
}
use AmazonAlexaSkill\Request\Request;
use AmazonAlexaSkill\AmazonAlexaSkill;

$alexa = new AmazonAlexaSkill();

$alexa->handleRequest(function(AmazonAlexaSkill $alexa, Request $request) {
    return $alexa->respond()->withOutputSpeech("PlainText", "Hey!");
});

return json_encode($alexa->getResponse());

About

A framework-agnostic wrapper for the Amazon Alexa Skills API written in PHP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages