2017 © Pedro Peláez
 

library php-ogp

Simple PHP Open Graph Protocol parser library

image

mapkyca/php-ogp

Simple PHP Open Graph Protocol parser library

  • Sunday, February 4, 2018
  • by mapkyca
  • Repository
  • 4 Watchers
  • 14 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 250 % Grown

The README.md

PHP Open Graph Library

This is a very very simple PHP open graph parser., (*1)

Pass it the contents of a web page, and it'll spit back an associated array of open graph tags and the value., (*2)

Usage

Include the library and call Parser's ::parse() function., (*3)

Example:, (*4)


require_once('ogp/Parser.php'); $content = file_get_contents("https://www.youtube.com/watch?v=EIGGsZZWzZA"); print_r(\ogp\Parser::parse($content));

Installation

To install this in your project:, (*5)

composer require mapkyca/php-ogp

Author

See

The Versions

04/02 2018

dev-master

9999999-dev

Simple PHP Open Graph Protocol parser library

  Sources   Download

GPL2 GPL-2.0-only

The Requires

  • php >=5.6.0

 

opengraph