Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ogp
 
 
 
 
 
 
 
 

README.md

PHP Open Graph Library

This is a very very simple PHP open graph parser.

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

Usage

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

Example:

	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:

composer require mapkyca/php-ogp

Author

See

About

Simple PHP Open Graph Protocol parser library

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.