{"id":14984101,"url":"https://github.com/maxbeckers/amazon-alexa-bundle","last_synced_at":"2025-04-10T19:43:38.683Z","repository":{"id":57016599,"uuid":"105156545","full_name":"maxbeckers/amazon-alexa-bundle","owner":"maxbeckers","description":"Symfony Bundle for amazon alexa skills.","archived":false,"fork":false,"pushed_at":"2023-05-25T08:19:10.000Z","size":20,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T20:06:28.580Z","etag":null,"topics":["alexa","alexa-sdk","alexa-skill","alexa-skills-kit","amazon-alexa-bundle","amazon-alexa-php","amazon-alexa-skill","amazon-echo","composer","echo-api","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxbeckers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-28T14:10:03.000Z","updated_at":"2024-04-23T20:06:28.581Z","dependencies_parsed_at":"2024-09-12T12:33:19.629Z","dependency_job_id":null,"html_url":"https://github.com/maxbeckers/amazon-alexa-bundle","commit_stats":{"total_commits":23,"total_committers":4,"mean_commits":5.75,"dds":0.4782608695652174,"last_synced_commit":"85e06ee5b602044c189551a6a3cb692847044f7c"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeckers%2Famazon-alexa-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeckers%2Famazon-alexa-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeckers%2Famazon-alexa-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbeckers%2Famazon-alexa-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxbeckers","download_url":"https://codeload.github.com/maxbeckers/amazon-alexa-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alexa","alexa-sdk","alexa-skill","alexa-skills-kit","amazon-alexa-bundle","amazon-alexa-php","amazon-alexa-skill","amazon-echo","composer","echo-api","symfony-bundle"],"created_at":"2024-09-24T14:08:26.738Z","updated_at":"2025-04-10T19:43:38.656Z","avatar_url":"https://github.com/maxbeckers.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Amazon alexa symfony bundle\nThis bundle is a simlpe helper to create an Amazon Echo (Alexa) endpoint to your symfony project. You only need to add the Bundle to your project and create some handlers for the alexa requests, configured in [amazon alexa backend](https://developer.amazon.com/alexa).\n\n## Install via composer\nRequire the bundle via composer:\n```\ncomposer require maxbeckers/amazon-alexa-bundle\n```\n## Enable Routing\nThen add the Bundle endpoint for alexa to `config/routes.yaml`.\n```\n# config/routes.yaml\nmaxbeckers_amazon_alexa:\n    path:     /alexa/ # the url, the alexa endpoint should be available \n    defaults: { _controller: MaxBeckers\\AmazonAlexaBundle\\Controller\\AmazonAlexa::amazonRequest }\n```\n## Create handlers\nTo add Handlers for alexa, create them as a service and tag them with `maxbeckers_amazon_alexa.request_handler`.\nHow to create a handler see [maxbeckers/amazon-alexa-php](https://github.com/maxbeckers/amazon-alexa-php).\n```\nservices:\n    example.my_handler:\n        class: Example\\MyIntentHandler\n        arguments:\n            - '@maxbeckers_amazon_alexa.response_helper' # ResponseHelper\n        tags:\n            - 'maxbeckers_amazon_alexa.request_handler'\n```\n## Generate ssml\nFor ssml use the `maxbeckers_amazon_alexa.ssml_generator` service to create valid ssml. \n```php\n$ssmlGenerator = $this-\u003eget('maxbeckers_amazon_alexa.ssml_generator');\n\n// add a message\n$ssmlGenerator-\u003esay('Hallo World');\n$ssml = $ssmlGenerator-\u003egetSsml();\n// $ssml === '\u003cspeak\u003eHallo World\u003c/speak\u003e'\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeckers%2Famazon-alexa-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxbeckers%2Famazon-alexa-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbeckers%2Famazon-alexa-bundle/lists"}