PHPackages                             kristoffer1lundberg/ogcrawler - 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. kristoffer1lundberg/ogcrawler

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

kristoffer1lundberg/ogcrawler
=============================

Fetches some basic OpenGraph data from a URL.

01PHP

Since Apr 10Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ogCrawler
=========

[](#ogcrawler)

Fetches some basic OpenGraph data from a URL and makes it accessible from a Twig variable.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require kristoffer1lundberg/ogcrawler

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for ogCrawler.

Usage
-----

[](#usage)

```
{# Check OpenGraph data from a URL #}
{# If unsuccessful, your variable will return false #}
{% set ogData = craft.ogCrawler.getUrl('http://www.imdb.com/title/tt0056732/') %}

{% if ogData %}
	Print some data here, for example:
	{% if ogData.image is defined %}

	{% endif %}
{% endif %}
```

Available properties
--------------------

[](#available-properties)

`description`

`image`

`site_name`

`title`

`type`

Credit
------

[](#credit)

Based on the [OpenGraph Protocol Helper](https://github.com/scottmac/opengraph) by Scott MacVicar

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c13bf8a301ee3c22aba2b05e0c87444982290771eebb1c586bf8b111c22c820?d=identicon)[kristoffer1lundberg](/maintainers/kristoffer1lundberg)

### Embed Badge

![Health badge](/badges/kristoffer1lundberg-ogcrawler/health.svg)

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

###  Alternatives

[aristath/ari-color

A PHP library for color manipulation in themes and plugins

6128.6k](/packages/aristath-ari-color)[symfony/ux-notify

Native notification integration for Symfony

1274.7k](/packages/symfony-ux-notify)[thestringler/manipulator

An OOP approach to string manipulation.

345.5k2](/packages/thestringler-manipulator)[hauntd/yii2-vote

Votes, likes, favorites.

383.1k](/packages/hauntd-yii2-vote)

PHPackages © 2026

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