PHPackages                             xtazii/amp-library - 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. xtazii/amp-library

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

xtazii/amp-library
==================

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

1.1.1(9y ago)0173Apache-2.0PHPPHP &gt;=5.5.0

Since Mar 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/benturkia/amp-library)[ Packagist](https://packagist.org/packages/xtazii/amp-library)[ Docs](https://github.com/Lullabot/amp-library)[ RSS](/packages/xtazii-amp-library/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (8)Versions (22)Used By (0)

[![Build Status](https://camo.githubusercontent.com/bb6d16f70d0a7a62daf000b4c494463ed0cb390ec161eb62b3bbdfa3987f4b5b/68747470733a2f2f7472617669732d63692e6f72672f4c756c6c61626f742f616d702d6c6962726172792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Lullabot/amp-library)

AMP PHP Library
===============

[](#amp-php-library)

Instalation
-----------

[](#instalation)

```
$ composer require xtazii/amp-library
```

An open source PHP library and console utility to convert HTML to [AMP HTML](https://www.ampproject.org/) and report HTML compliance with the AMP HTML specification.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 91.2% 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 ~19 days

Recently: every ~61 days

Total

21

Last Release

3314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c54be84cb646a6e97b412ae26cfae18682f1d6843687cf2ca50335256b86c713?d=identicon)[benturkia](/maintainers/benturkia)

---

Top Contributors

[![sidkshatriya](https://avatars.githubusercontent.com/u/638477?v=4)](https://github.com/sidkshatriya "sidkshatriya (625 commits)")[![FuzzyTree](https://avatars.githubusercontent.com/u/6363454?v=4)](https://github.com/FuzzyTree "FuzzyTree (16 commits)")[![sebastianbenz](https://avatars.githubusercontent.com/u/380472?v=4)](https://github.com/sebastianbenz "sebastianbenz (12 commits)")[![aminebenturkia](https://avatars.githubusercontent.com/u/62598270?v=4)](https://github.com/aminebenturkia "aminebenturkia (10 commits)")[![obeyer](https://avatars.githubusercontent.com/u/1790156?v=4)](https://github.com/obeyer "obeyer (5 commits)")[![Deuh](https://avatars.githubusercontent.com/u/9964374?v=4)](https://github.com/Deuh "Deuh (3 commits)")[![takeit](https://avatars.githubusercontent.com/u/562536?v=4)](https://github.com/takeit "takeit (2 commits)")[![mayrop](https://avatars.githubusercontent.com/u/495985?v=4)](https://github.com/mayrop "mayrop (2 commits)")[![pkailasu](https://avatars.githubusercontent.com/u/46669067?v=4)](https://github.com/pkailasu "pkailasu (2 commits)")[![mtift](https://avatars.githubusercontent.com/u/733479?v=4)](https://github.com/mtift "mtift (1 commits)")[![keskinbu](https://avatars.githubusercontent.com/u/8066404?v=4)](https://github.com/keskinbu "keskinbu (1 commits)")[![adonisfigueroa](https://avatars.githubusercontent.com/u/3927270?v=4)](https://github.com/adonisfigueroa "adonisfigueroa (1 commits)")[![renzit](https://avatars.githubusercontent.com/u/10967937?v=4)](https://github.com/renzit "renzit (1 commits)")[![Cashewz](https://avatars.githubusercontent.com/u/8376652?v=4)](https://github.com/Cashewz "Cashewz (1 commits)")[![benturkia](https://avatars.githubusercontent.com/u/3466594?v=4)](https://github.com/benturkia "benturkia (1 commits)")[![les-lim](https://avatars.githubusercontent.com/u/7660876?v=4)](https://github.com/les-lim "les-lim (1 commits)")[![sirkitree](https://avatars.githubusercontent.com/u/28543?v=4)](https://github.com/sirkitree "sirkitree (1 commits)")

---

Tags

drupalampmobile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xtazii-amp-library/health.svg)

```
[![Health](https://phpackages.com/badges/xtazii-amp-library/health.svg)](https://phpackages.com/packages/xtazii-amp-library)
```

###  Alternatives

[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3802.9M10](/packages/lullabot-amp)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[magyarandras/amp-converter

A library to convert HTML articles, blog posts or similar content to AMP (Accelerated Mobile Pages).

65150.3k](/packages/magyarandras-amp-converter)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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