PHPackages                             techworker/ssml - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. techworker/ssml

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

techworker/ssml
===============

A PHP library to generate SSML.

v1.1.0(6y ago)1110.1k↓61.3%4[1 issues](https://github.com/Techworker/ssml/issues)[1 PRs](https://github.com/Techworker/ssml/pulls)1MITHTMLPHP &gt;=7.1

Since May 3Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Techworker/ssml)[ Packagist](https://packagist.org/packages/techworker/ssml)[ RSS](/packages/techworker-ssml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

techworker/ssml
===============

[](#techworkerssml)

This library allows you to easily generate Speech Synthesis Markup Language (SSML) with PHP.

Usage
-----

[](#usage)

This library provides a fluent interface to build SSML strings. It tries to offer all elements that are defined in the specification, but since most of the synthesizers are satisfied with a "simple" SSML subset or some are bending the specification to it's own needs, this library does not force you into the specification and even offers you ways to go beyond the specification.

It ships with a SSML validator for Amazon Alexa.

*So in short:*

> You are able to generate the SSML that adhere's to the SSML specification, but it is simple to avoid the rules and generate what you need.

Code peek
---------

[](#code-peek)

```
