Skip to content

vlahanas/HtmlAmpifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

An HTML to AMP markup converter for PHP

Usage:

Create a new instance of ampifier

$ampifier = new ContentAmpifier();

Grab your html content from any source

$html = "<html>...</html>";

Convert it to amp

$amp = $ampifier->ampify($html);

This code is free to use. Please feel free to comment, add your suggestions etc. And you happen to use it in any project, I would be happy to know.

About

An HTML to AMP converter for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages