PHPackages                             revision-ten/cms-amp - 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. [Templating &amp; Views](/categories/templating)
4. /
5. revision-ten/cms-amp

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

revision-ten/cms-amp
====================

AMP templates and functions for revision-ten/cms

065JavaScript

Since Feb 11Pushed 6y agoCompare

[ Source](https://github.com/RevisionTen/cms-amp)[ Packagist](https://packagist.org/packages/revision-ten/cms-amp)[ RSS](/packages/revision-ten-cms-amp/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

revision-ten/cms-amp
====================

[](#revision-tencms-amp)

[![Latest Version](https://camo.githubusercontent.com/a7d3cc2179d5a50b59c812d204753edbfe4caf1479a581a072131c066d6a4896/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265766973696f6e2d74656e2f636d732d616d702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/revision-ten/cms-amp)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/RevisionTen/cms-amp/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/edf19740d269cbfff16b8cf2305f477a142a48620665a40747b5dd4182d8cf5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7265766973696f6e2d74656e2f636d732d616d702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/revision-ten/cms-amp)

Installation
------------

[](#installation)

#### Install via composer

[](#install-via-composer)

The preferred method of installation is via [Packagist](https://packagist.org/packages/revision-ten/cms) and [Composer](http://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer req revision-ten/cms-amp
```

#### Add the new bundles to the kernel

[](#add-the-new-bundles-to-the-kernel)

Add the bundle to your config/bundles.php **before the CmsBundle**.

```
RevisionTen\CMS_AMP\CmsAmpBundle::class => ['all' => true],
RevisionTen\CMS\CmsBundle::class => ['all' => true],
```

#### Add routes

[](#add-routes)

Add the routes to your /config/routes.yaml:

```
cmsampbundle:
    resource: "@CmsAmpBundle/Resources/config/routes.yaml"
    prefix:   /
```

#### AMP bind brackets

[](#amp-bind-brackets)

Do not use the brackets syntax. Use data attributes syntax instead.

```
Wrong:

Correct:

```

#### Transform AMP on the server

[](#transform-amp-on-the-server)

```
npm install @ampproject/toolbox-cli --save -g
npx amp optimize input.html > output.html

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38556227?v=4)[RevisionTen](/maintainers/RevisionTen)[@RevisionTen](https://github.com/RevisionTen)

---

Top Contributors

[![TAR5](https://avatars.githubusercontent.com/u/67231872?v=4)](https://github.com/TAR5 "TAR5 (31 commits)")

### Embed Badge

![Health badge](/badges/revision-ten-cms-amp/health.svg)

```
[![Health](https://phpackages.com/badges/revision-ten-cms-amp/health.svg)](https://phpackages.com/packages/revision-ten-cms-amp)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)[muratbsts/mail-template

This package is a easy to use mail template collection for Laravel 5.x.

191.3k](/packages/muratbsts-mail-template)

PHPackages © 2026

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