2017 © Pedro Peláez
 

symfony-bundle amp-converter-bundle

Amp Converter for Symfony

image

elephantly/amp-converter-bundle

Amp Converter for Symfony

  • Monday, June 11, 2018
  • by PurpleBabar
  • Repository
  • 4 Watchers
  • 3 Stars
  • 609 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 15 Versions
  • 30 % Grown

The README.md

AmpConverter Bundle

Packagist PHP Symfony2 Packagist Packagist Travis Code Climate Code Climate, (*1)

Features

Basic features list:, (*2)

  • Convert Classic Html to AmpHtml
  • Get The list of needed scripts for AmpHtml

Supported Elements:, (*3)

  • amp-iframe
  • amp-audio
  • amp-brightcove
  • amp-dailymotion
  • amp-image
  • amp-video
  • amp-vimeo
  • amp-youtube
  • amp-facebook
  • amp-instagram
  • amp-pinterest
  • amp-twitter, (*4)

    Tested Elements:, (*5)

  • [ ] amp-iframe, (*6)

  • [ ] amp-audio
  • [ ] amp-brightcove
  • [x] amp-dailymotion
  • [x] amp-image
  • [ ] amp-video
  • [ ] amp-vimeo
  • [ ] amp-youtube
  • [ ] amp-facebook
  • [ ] amp-instagram
  • [ ] amp-pinterest
  • [x] amp-twitter

Install

Install with composer :, (*7)

composer require elephantly/amp-converter-bundle

Then in your AppKernel.php file add:, (*8)

new Elephantly\AmpConverterBundle\ElephantlyAmpConverterBundle(),

Finally, just use the service to access functions:, (*9)

$converter  = $this->get('elephantly.amp_converter');
$ampHtml    = $converter->convert($html);
$ampScripts = $converter->getAmpScripts($html);

And you're done, (*10)

Pull Requests:

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..., (*11)

Todo

  • [ ] Complete Contributing guide
  • [ ] Test all Elements
  • [ ] Create Empty Converter to clone

Stuff used to make this:

The Versions

11/06 2018

dev-master

9999999-dev

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

21/03 2018

v1.0.5

1.0.5.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

16/02 2018

v1.0.4

1.0.4.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

07/02 2018

v1.0.3

1.0.3.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

06/02 2018

v1.0.1

1.0.1.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

17/01 2018

v0.0.13

0.0.13.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

17/01 2018

v0.0.12

0.0.12.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

16/01 2018

v0.0.10

0.0.10.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

12/10 2017

v0.0.7

0.0.7.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

02/08 2017

v0.0.6

0.0.6.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar PurpleBabar

bundle html converter convert amp

12/06 2017

v0.0.5

0.0.5.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar PurpleBabar

bundle html converter convert amp

31/05 2017

v0.0.4

0.0.4.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar PurpleBabar

bundle html converter convert amp

24/05 2017

v0.0.3

0.0.3.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar PurpleBabar

bundle html converter convert amp

24/05 2017

v0.0.1

0.0.1.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar PurpleBabar

bundle html converter convert amp

24/05 2017

v0.0.2

0.0.2.0

Amp Converter for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar PurpleBabar

bundle html converter convert amp