2017 © Pedro Peláez
 

library omg

A fast open graph parser

image

jonathankowalski/omg

A fast open graph parser

  • Sunday, November 13, 2016
  • by jonathankowalski
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Open My Graph Build Status

A fast open graph parser, (*1)

Usage

$parser = new JonathanKowalksi\Omg\Parser;

$tab = $parser->parse('http://www.enkulte.fr');

echo $tab['og:image']; //http://www.enkulte.fr/enkulte.jpg

BTW

U can look for other meta tags if u want, just set it in constructor, (*2)


//twitter example $parserTwitter = new JonathanKowalski\Omg\Parser('twitter'); $tab = $parserTwitter->parse('http://www.enkulte.fr'); echo $tab['twitter:site']; //@Enkulte

Test with PhpUnit

curl -s https://getcomposer.org/installer | php
php composer.phar install --dev
./vendor/bin/phpunit

The Versions

13/11 2016

dev-master

9999999-dev

A fast open graph parser

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Jonathan Kowalski

facebook opengraph og opengraph protocol

13/11 2016

v1.0.2

1.0.2.0

A fast open graph parser

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Jonathan Kowalski

facebook opengraph og opengraph protocol

13/11 2016

v1.0.1

1.0.1.0

A fast open graph parser

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Jonathan Kowalski

facebook opengraph og opengraph protocol

12/11 2016

v1.0

1.0.0.0

A fast open graph parser

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Jonathan Kowalski

facebook opengraph og opengraph protocol