2017 © Pedro Peláez
 

library opengraph

Open Graph Protocol helper for PHP (forked from scottmac/opengraph)

image

uzura8/opengraph

Open Graph Protocol helper for PHP (forked from scottmac/opengraph)

  • Wednesday, August 19, 2015
  • by uzura8
  • Repository
  • 1 Watchers
  • 0 Stars
  • 971 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 115 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Open Graph Protocol helper for PHP

A small library for making accessing of Open Graph Protocol data easier, (*1)

Note

Keys with a dash (-) in the name are converted to _ for easy access as a property in PHP, (*2)

Required Extensions

  • DOM for parsing

Usage

require_once('OpenGraph.php');

$graph = OpenGraph::fetch('http://www.rottentomatoes.com/m/10011268-oceans/');
var_dump($graph->keys());
var_dump($graph->schema);

foreach ($graph as $key => $value) {
    echo "$key => $value";
}

The Versions

19/08 2015

dev-master

9999999-dev

Open Graph Protocol helper for PHP (forked from scottmac/opengraph)

  Sources   Download

Apache License Version 2.0

The Requires

  • php >=5.0.0

 

by Shingo Yamada

opengraph

19/08 2015

1.0

1.0.0.0

Open Graph Protocol helper for PHP (forked from scottmac/opengraph)

  Sources   Download

Apache License Version 2.0

The Requires

  • php >=5.0.0

 

by Shingo Yamada

opengraph