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 3d 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 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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://www.gravatar.com/avatar/6a17db0c54fa18f3098f8733212b6344fa4a021f817d900449c654c2d04d9978?d=identicon)[RevisionTen](/maintainers/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

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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