The AMP PHP Library is an open source and pure PHP Library that: Works with whole or partial HTML documents (or strings). Specifically, the AMP PHP Library: Reports compliance of a whole/partial HTML document with the AMP HTML specification. We implement an AMP HTML validator in pure PHP to report compliance of an arbitrary HTML document / HTML fragment with the AMP HTML standard. This validator i