PHPackages                             maxbeckers/amazon-alexa-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. maxbeckers/amazon-alexa-bundle

ActiveSymfony-bundle[API Development](/categories/api)

maxbeckers/amazon-alexa-bundle
==============================

Symfony Bundle for amazon alexa skills.

2.0.0(7mo ago)132.1k2MITPHPPHP &gt;=8.2

Since Sep 28Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/maxbeckers/amazon-alexa-bundle)[ Packagist](https://packagist.org/packages/maxbeckers/amazon-alexa-bundle)[ RSS](/packages/maxbeckers-amazon-alexa-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (12)Used By (0)

Amazon alexa symfony bundle
===========================

[](#amazon-alexa-symfony-bundle)

This bundle is a simple 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).

Requirements
------------

[](#requirements)

- PHP 8.2+
- Symfony 6.4+

Install via composer
--------------------

[](#install-via-composer)

Require the bundle via composer:

```
composer require maxbeckers/amazon-alexa-bundle

```

Enable the Bundle
-----------------

[](#enable-the-bundle)

Add the bundle to your `config/bundles.php`:

```
return [
    // ...existing bundles...
    MaxBeckers\AmazonAlexaBundle\MaxBeckersAmazonAlexaBundle::class => ['all' => true],
];
```

Enable Routing
--------------

[](#enable-routing)

Then add the Bundle endpoint for alexa to `config/routes.yaml`.

```
# config/routes.yaml
maxbeckers_amazon_alexa:
    path: /alexa/
    controller: MaxBeckers\AmazonAlexaBundle\Controller\AmazonAlexaController::amazonRequestAction
```

Create handlers
---------------

[](#create-handlers)

To add Handlers for alexa, create them as a service and tag them with `maxbeckers_amazon_alexa.request_handler`. How to create a handler see [maxbeckers/amazon-alexa-php](https://github.com/maxbeckers/amazon-alexa-php).

```
# config/services.yaml
services:
    Example\MyIntentHandler:
        arguments:
            - '@MaxBeckers\AmazonAlexa\Helper\ResponseHelper'
        tags:
            - 'maxbeckers_amazon_alexa.request_handler'
```

Generate ssml
-------------

[](#generate-ssml)

For ssml use the `MaxBeckers\AmazonAlexa\Helper\SsmlGenerator` service to create valid ssml.

```
use MaxBeckers\AmazonAlexa\Helper\SsmlGenerator;

class MyService
{
    public function __construct(
        private readonly SsmlGenerator $ssmlGenerator
    ) {
    }

    public function generateSsml(): string
    {
        // add a message
        $this->ssmlGenerator->say('Hello World');
        $ssml = $this->ssmlGenerator->getSsml();
        // $ssml === 'Hello World'

        return $ssml;
    }
}
```

For backward compatibility, you can still use the service ID:

```
$ssmlGenerator = $this->container->get('maxbeckers_amazon_alexa.ssml_generator');
```

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance62

Regular maintenance activity

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~292 days

Recently: every ~651 days

Total

11

Last Release

231d ago

Major Versions

0.0.6 → 1.0.02018-08-13

1.2.0 → 2.0.02025-09-30

PHP version history (3 changes)0.0.1PHP &gt;=7.0

1.2.0PHP &gt;=7.2.5

2.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/784c9320748c5fd9fc27bd716af8d2fdb735ddd6b465a6ba330fcbf36271fe9c?d=identicon)[maxbeckers](/maintainers/maxbeckers)

---

Top Contributors

[![maxbeckers](https://avatars.githubusercontent.com/u/11738128?v=4)](https://github.com/maxbeckers "maxbeckers (30 commits)")

---

Tags

alexaalexa-sdkalexa-skillalexa-skills-kitamazon-alexa-bundleamazon-alexa-phpamazon-alexa-skillamazon-echocomposerecho-apisymfony-bundlephpsymfonybundleAlexaAmazon Echoskillamazon-alexaalexa-skillssml

### Embed Badge

![Health badge](/badges/maxbeckers-amazon-alexa-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/maxbeckers-amazon-alexa-bundle/health.svg)](https://phpackages.com/packages/maxbeckers-amazon-alexa-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[maxbeckers/amazon-alexa-php

Php library for amazon echo (alexa) skill development.

11554.0k2](/packages/maxbeckers-amazon-alexa-php)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[pentatrion/vite-bundle

Vite integration for your Symfony app

2755.3M13](/packages/pentatrion-vite-bundle)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

7014.0M62](/packages/scheb-2fa-bundle)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
