Content-Length: 262523 | pFad | https://github.com/mapkyca/php-ogp

6A GitHub - mapkyca/php-ogp: Simple PHP Open Graph Protocol parser library
Skip to content

mapkyca/php-ogp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mapkyca/php-ogp

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy