PHPackages                             jonathankowalski/omg - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. jonathankowalski/omg

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

jonathankowalski/omg
====================

A fast open graph parser

v1.0.2(9y ago)1452MITPHPPHP &gt;=5.6

Since Nov 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jonathankowalski/omg)[ Packagist](https://packagist.org/packages/jonathankowalski/omg)[ RSS](/packages/jonathankowalski-omg/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Open My Graph [![Build Status](https://camo.githubusercontent.com/78bb0ed048b871d052331c7ab68c5dfac3f534b6c26e4cf04c2e98390d84e2c2/68747470733a2f2f7472617669732d63692e6f72672f6a6f6e617468616e6b6f77616c736b692f6f6d672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jonathankowalski/omg)
=========================================================================================================================================================================================================================================================================================================

[](#open-my-graph-)

A fast open graph parser

Usage
-----

[](#usage)

```
$parser = new JonathanKowalksi\Omg\Parser;

$tab = $parser->parse('http://www.enkulte.fr');

echo $tab['og:image']; //http://www.enkulte.fr/enkulte.jpg
```

BTW
---

[](#btw)

U can look for other meta tags if u want, just set it in constructor

```
//twitter example
$parserTwitter = new JonathanKowalski\Omg\Parser('twitter');
$tab = $parserTwitter->parse('http://www.enkulte.fr');

echo $tab['twitter:site']; //@Enkulte
```

Test with PhpUnit
-----------------

[](#test-with-phpunit)

```
curl -s https://getcomposer.org/installer | php
php composer.phar install --dev
./vendor/bin/phpunit

```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3556d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/673625?v=4)[Jonathan Kowalski](/maintainers/jonathankowalski)[@jonathankowalski](https://github.com/jonathankowalski)

---

Top Contributors

[![jonathankowalski](https://avatars.githubusercontent.com/u/673625?v=4)](https://github.com/jonathankowalski "jonathankowalski (13 commits)")

---

Tags

facebookopengraphogOpenGraph Protocol

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonathankowalski-omg/health.svg)

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

###  Alternatives

[euskadi31/opengraph

A PHP 5.3+ framework for OpenGraph Protocol

93523.3k5](/packages/euskadi31-opengraph)[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

337472.8k4](/packages/arcanedev-seo-helper)[social-links/social-links

PHP library to generate share buttons

102359.3k2](/packages/social-links-social-links)[tractorcow/silverstripe-opengraph

Implementation of the Facebook Open Graph protocol for SilverStripe

50148.1k6](/packages/tractorcow-silverstripe-opengraph)[mapkyca/php-ogp

Simple PHP Open Graph Protocol parser library

2622.3k1](/packages/mapkyca-php-ogp)[splashlab/yii-facebook-opengraph

Yii1 Extension for the Facebook Open Graph 2.x and PHP SDK 5.x

4346.6k](/packages/splashlab-yii-facebook-opengraph)

PHPackages © 2026

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