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)0174Apache-2.0PHPPHP &gt;=5.5.0

Since Mar 26Pushed 9y 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 2d 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 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

3361d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3466594?v=4)[Amine BEN TURKIA](/maintainers/benturkia)[@benturkia](https://github.com/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

[drupal/core

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

21866.0M1.7k](/packages/drupal-core)[lullabot/amp

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

3793.0M11](/packages/lullabot-amp)[silverstripe/framework

The SilverStripe framework

7313.7M2.7k](/packages/silverstripe-framework)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M406](/packages/drupal-core-recommended)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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