Basic features list:
Supported Elements:
Tested Elements:
Install with composer :
composer require elephantly/amp-converter-bundle
Then in your AppKernel.php file add:
new Elephantly\AmpConverterBundle\ElephantlyAmpConverterBundle(),
Finally, just use the service to access functions:
$converter = $this->get('elephantly.amp_converter');
$ampHtml = $converter->convert($html);
$ampScripts = $converter->getAmpScripts($html);
And you're done
Pull requests are very welcome :D Pleas do not hesitate to tell us if you wnat a feature, see any issue, or just want to discuss the future of the bundle...
How can I help you explore Laravel packages today?