├── .gitignore ├── .styleci.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── config └── alexa.php ├── database └── 2015_06_21_000000_create_alexa_devices_table.php ├── phpunit.xml ├── src ├── Alexa.php ├── AlexaApplication.php ├── Certificate │ ├── BaseCertificateProvider.php │ ├── CertificateTools.php │ ├── DatabaseCertificateProvider.php │ ├── EloquentCertificateProvider.php │ ├── FileCertificateProvider.php │ └── RedisCertificateProvider.php ├── Contracts │ ├── AlexaRequest.php │ ├── AmazonEchoDevice.php │ ├── CertificateProvider.php │ ├── DeviceProvider.php │ └── OutputSpeech.php ├── Device │ ├── DatabaseDeviceProvider.php │ ├── Device.php │ ├── EloquentDeviceProvider.php │ └── GenericDevice.php ├── Exceptions │ ├── AlexaException.php │ ├── InvalidAppIdException.php │ ├── InvalidCertificateException.php │ ├── InvalidRequestTimestamp.php │ └── InvalidSignatureChainException.php ├── Facades │ ├── Alexa.php │ └── AlexaRouter.php ├── Http │ ├── Middleware │ │ ├── AlexaAuthentication.php │ │ ├── Certificate.php │ │ └── Request.php │ └── Routing │ │ ├── AlexaRoute.php │ │ ├── AlexaRouter.php │ │ └── Matching │ │ └── AlexaValidator.php ├── Provider │ ├── AlexaServiceProvider.php │ ├── LaravelServiceProvider.php │ └── LumenServiceProvider.php ├── Request │ └── AlexaRequest.php └── Response │ ├── AlexaResponse.php │ ├── AudioFile.php │ ├── Card.php │ ├── Directives │ ├── AudioPlayer │ │ ├── AudioPlayer.php │ │ ├── ClearQueue.php │ │ ├── Play.php │ │ └── Stop.php │ ├── Connections │ │ ├── InSkillPurchase.php │ │ └── SendRequest.php │ ├── Dialog │ │ ├── ConfirmIntent.php │ │ ├── ConfirmSlot.php │ │ ├── Delegate.php │ │ ├── DialogDirective.php │ │ ├── ElicitSlot.php │ │ └── UpdateDynamicEntities.php │ ├── Directive.php │ ├── Display │ │ ├── RenderTemplate.php │ │ └── Templates │ │ │ ├── BodyTemplate6.php │ │ │ ├── Image.php │ │ │ ├── Template.php │ │ │ ├── Text.php │ │ │ └── TextContent.php │ └── RenderDocument │ │ ├── Document.php │ │ └── RenderDocument.php │ ├── Reprompt.php │ ├── SSML.php │ └── Speech.php └── tests ├── BaseTestCase.php ├── Unit ├── AlexaRequestTest.php └── Response │ └── Directives │ └── Dialog │ ├── ConfirmIntentDirectiveTest.php │ ├── ConfirmSlotDirectiveTest.php │ ├── DelegateDirectiveTest.php │ ├── DialogDirectiveTest.php │ └── ElicitSlotDirectiveTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- 1 | *.php~ 2 | vendor 3 | .idea 4 | .fuse_* -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/.styleci.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/composer.lock -------------------------------------------------------------------------------- /config/alexa.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/config/alexa.php -------------------------------------------------------------------------------- /database/2015_06_21_000000_create_alexa_devices_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/database/2015_06_21_000000_create_alexa_devices_table.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Alexa.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Alexa.php -------------------------------------------------------------------------------- /src/AlexaApplication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/AlexaApplication.php -------------------------------------------------------------------------------- /src/Certificate/BaseCertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/BaseCertificateProvider.php -------------------------------------------------------------------------------- /src/Certificate/CertificateTools.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/CertificateTools.php -------------------------------------------------------------------------------- /src/Certificate/DatabaseCertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/DatabaseCertificateProvider.php -------------------------------------------------------------------------------- /src/Certificate/EloquentCertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/EloquentCertificateProvider.php -------------------------------------------------------------------------------- /src/Certificate/FileCertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/FileCertificateProvider.php -------------------------------------------------------------------------------- /src/Certificate/RedisCertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Certificate/RedisCertificateProvider.php -------------------------------------------------------------------------------- /src/Contracts/AlexaRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Contracts/AlexaRequest.php -------------------------------------------------------------------------------- /src/Contracts/AmazonEchoDevice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Contracts/AmazonEchoDevice.php -------------------------------------------------------------------------------- /src/Contracts/CertificateProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Contracts/CertificateProvider.php -------------------------------------------------------------------------------- /src/Contracts/DeviceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Contracts/DeviceProvider.php -------------------------------------------------------------------------------- /src/Contracts/OutputSpeech.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Contracts/OutputSpeech.php -------------------------------------------------------------------------------- /src/Device/DatabaseDeviceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Device/DatabaseDeviceProvider.php -------------------------------------------------------------------------------- /src/Device/Device.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Device/Device.php -------------------------------------------------------------------------------- /src/Device/EloquentDeviceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Device/EloquentDeviceProvider.php -------------------------------------------------------------------------------- /src/Device/GenericDevice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Device/GenericDevice.php -------------------------------------------------------------------------------- /src/Exceptions/AlexaException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Exceptions/AlexaException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidAppIdException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Exceptions/InvalidAppIdException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidCertificateException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Exceptions/InvalidCertificateException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidRequestTimestamp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Exceptions/InvalidRequestTimestamp.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidSignatureChainException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Exceptions/InvalidSignatureChainException.php -------------------------------------------------------------------------------- /src/Facades/Alexa.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Facades/Alexa.php -------------------------------------------------------------------------------- /src/Facades/AlexaRouter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Facades/AlexaRouter.php -------------------------------------------------------------------------------- /src/Http/Middleware/AlexaAuthentication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Middleware/AlexaAuthentication.php -------------------------------------------------------------------------------- /src/Http/Middleware/Certificate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Middleware/Certificate.php -------------------------------------------------------------------------------- /src/Http/Middleware/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Middleware/Request.php -------------------------------------------------------------------------------- /src/Http/Routing/AlexaRoute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Routing/AlexaRoute.php -------------------------------------------------------------------------------- /src/Http/Routing/AlexaRouter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Routing/AlexaRouter.php -------------------------------------------------------------------------------- /src/Http/Routing/Matching/AlexaValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Http/Routing/Matching/AlexaValidator.php -------------------------------------------------------------------------------- /src/Provider/AlexaServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Provider/AlexaServiceProvider.php -------------------------------------------------------------------------------- /src/Provider/LaravelServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Provider/LaravelServiceProvider.php -------------------------------------------------------------------------------- /src/Provider/LumenServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Provider/LumenServiceProvider.php -------------------------------------------------------------------------------- /src/Request/AlexaRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Request/AlexaRequest.php -------------------------------------------------------------------------------- /src/Response/AlexaResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/AlexaResponse.php -------------------------------------------------------------------------------- /src/Response/AudioFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/AudioFile.php -------------------------------------------------------------------------------- /src/Response/Card.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Card.php -------------------------------------------------------------------------------- /src/Response/Directives/AudioPlayer/AudioPlayer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/AudioPlayer/AudioPlayer.php -------------------------------------------------------------------------------- /src/Response/Directives/AudioPlayer/ClearQueue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/AudioPlayer/ClearQueue.php -------------------------------------------------------------------------------- /src/Response/Directives/AudioPlayer/Play.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/AudioPlayer/Play.php -------------------------------------------------------------------------------- /src/Response/Directives/AudioPlayer/Stop.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/AudioPlayer/Stop.php -------------------------------------------------------------------------------- /src/Response/Directives/Connections/InSkillPurchase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Connections/InSkillPurchase.php -------------------------------------------------------------------------------- /src/Response/Directives/Connections/SendRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Connections/SendRequest.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/ConfirmIntent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/ConfirmIntent.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/ConfirmSlot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/ConfirmSlot.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/Delegate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/Delegate.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/DialogDirective.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/DialogDirective.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/ElicitSlot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/ElicitSlot.php -------------------------------------------------------------------------------- /src/Response/Directives/Dialog/UpdateDynamicEntities.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Dialog/UpdateDynamicEntities.php -------------------------------------------------------------------------------- /src/Response/Directives/Directive.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Directive.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/RenderTemplate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/RenderTemplate.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/Templates/BodyTemplate6.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/Templates/BodyTemplate6.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/Templates/Image.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/Templates/Image.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/Templates/Template.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/Templates/Template.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/Templates/Text.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/Templates/Text.php -------------------------------------------------------------------------------- /src/Response/Directives/Display/Templates/TextContent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/Display/Templates/TextContent.php -------------------------------------------------------------------------------- /src/Response/Directives/RenderDocument/Document.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/RenderDocument/Document.php -------------------------------------------------------------------------------- /src/Response/Directives/RenderDocument/RenderDocument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Directives/RenderDocument/RenderDocument.php -------------------------------------------------------------------------------- /src/Response/Reprompt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Reprompt.php -------------------------------------------------------------------------------- /src/Response/SSML.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/SSML.php -------------------------------------------------------------------------------- /src/Response/Speech.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/src/Response/Speech.php -------------------------------------------------------------------------------- /tests/BaseTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/BaseTestCase.php -------------------------------------------------------------------------------- /tests/Unit/AlexaRequestTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/AlexaRequestTest.php -------------------------------------------------------------------------------- /tests/Unit/Response/Directives/Dialog/ConfirmIntentDirectiveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/Response/Directives/Dialog/ConfirmIntentDirectiveTest.php -------------------------------------------------------------------------------- /tests/Unit/Response/Directives/Dialog/ConfirmSlotDirectiveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/Response/Directives/Dialog/ConfirmSlotDirectiveTest.php -------------------------------------------------------------------------------- /tests/Unit/Response/Directives/Dialog/DelegateDirectiveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/Response/Directives/Dialog/DelegateDirectiveTest.php -------------------------------------------------------------------------------- /tests/Unit/Response/Directives/Dialog/DialogDirectiveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/Response/Directives/Dialog/DialogDirectiveTest.php -------------------------------------------------------------------------------- /tests/Unit/Response/Directives/Dialog/ElicitSlotDirectiveTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevin-mitchell/alexa-app/HEAD/tests/Unit/Response/Directives/Dialog/ElicitSlotDirectiveTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 |