PHPackages                             f1ames/opengraph - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. f1ames/opengraph

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

f1ames/opengraph
================

Open Graph Protocol helper for PHP - A small library for making accessing of Open Graph Protocol data easier

19.2k3PHP

Since Feb 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/f1ames/opengraph)[ Packagist](https://packagist.org/packages/f1ames/opengraph)[ RSS](/packages/f1ames-opengraph/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

**A composer friendly fork of , available on packagist **

Open Graph Protocol helper for PHP
==================================

[](#open-graph-protocol-helper-for-php)

A small library for making accessing of Open Graph Protocol data easier.

Note
----

[](#note)

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

Required Extensions
-------------------

[](#required-extensions)

- DOM for parsing

Usage
-----

[](#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";
}

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e65a7f7ceb0f2ed62a34c2cd8865f16f378b7c6f418d9dc675702b4c9d6bc0c?d=identicon)[f1ames](/maintainers/f1ames)

---

Top Contributors

[![f1ames](https://avatars.githubusercontent.com/u/1061942?v=4)](https://github.com/f1ames "f1ames (7 commits)")[![scottmac](https://avatars.githubusercontent.com/u/50088?v=4)](https://github.com/scottmac "scottmac (4 commits)")[![MitchellMcKenna](https://avatars.githubusercontent.com/u/50337?v=4)](https://github.com/MitchellMcKenna "MitchellMcKenna (3 commits)")[![AramZS](https://avatars.githubusercontent.com/u/748069?v=4)](https://github.com/AramZS "AramZS (2 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (1 commits)")

### Embed Badge

![Health badge](/badges/f1ames-opengraph/health.svg)

```
[![Health](https://phpackages.com/badges/f1ames-opengraph/health.svg)](https://phpackages.com/packages/f1ames-opengraph)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
