PHPackages                             wshafer/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. wshafer/opengraph

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

wshafer/opengraph
=================

Adds an Open Graph tag manager to the Reliv Content Manager.

0.0.4(9y ago)01.3kBSD-3-ClausePHP

Since Jul 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/wshafer/opengraph)[ Packagist](https://packagist.org/packages/wshafer/opengraph)[ Docs](http://www.reliv.com/)[ RSS](/packages/wshafer-opengraph/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Description
===========

[](#description)

This package adds an Open Graph tag manager to the Reliv Content Manager.

Install
=======

[](#install)

Composer:

```
$ composer require wshafer/opengraph
```

Config:

Add `WShafer\OpenGraph` to your config/application.config.php modules section.

DB Updates
==========

[](#db-updates)

Generate the SQL file needed to update your database with the needed tables. We use Docrine so a simple update should generate the needed sql file:

```
$ php pubic/index.php orm:schema-tool:update --dump-sql
```

Run the generated sql against your database.

Layouts
=======

[](#layouts)

To add the Open Graph tags, you'll need add the view helper to the header section of your layouts.

Start by removing any open graph tags currently in your view. Then add the following to your head section in the layouts where you want your OG tags to appear

```

```

Default Values
==============

[](#default-values)

The module contains some default values, but you'll want to customize these to your liking.

Add the following config to global.php or local.php and adust the values according to your needs:

```
return [
    'openGraph' => [
        'defaults' => [

            'facebook' => [
                'appId' => '1234',
            ],

            'general' => [
                'ogType' => 'website',
            ],

            'website' => [
                'title' => 'No Title',
                'image' => 'https://upload.wikimedia.org/wikipedia/commons/4/4b/Blank_License_Plate_Shape.jpg',
                'description' => '',
                'siteName' => '',
            ],

            'article' => [
                'title' => 'No Title',
                'image' => 'https://upload.wikimedia.org/wikipedia/commons/4/4b/Blank_License_Plate_Shape.jpg',
                'description' => '',
                'siteName' => '',
                'author' => '',
                'section' => ''
            ],
        ],
    ],
];
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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 ~0 days

Total

4

Last Release

3641d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1828455?v=4)[Westin Shafer](/maintainers/wshafer)[@wshafer](https://github.com/wshafer)

---

Tags

plugincontentmanagerrcmrelivopen-graph

### Embed Badge

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

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

###  Alternatives

[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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