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 yesterday

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://avatars.githubusercontent.com/u/13978601?v=4)[Kristoffer Lundberg](/maintainers/kristoffer1lundberg)[@kristoffer1lundberg](https://github.com/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

[onapp/onapp-php-wrapper-external

OnApp PHP Client Library

2616.6k](/packages/onapp-onapp-php-wrapper-external)[humanmade/popup

An popup and tooltip dialog block utility, multiple trigger options, and supports anchor placements

146.6k](/packages/humanmade-popup)[yii2mod/yii2-link-preview

LinkPreview widget renders page preview

271.7k](/packages/yii2mod-yii2-link-preview)[jumper423/yii2-captcha

Распознавание капч для всех популярных сервисов rucaptcha.com, 2captcha.com, pixodrom.com, captcha24.com, socialink.ru, anti-captcha.com

172.6k2](/packages/jumper423-yii2-captcha)[codein/ibexa-seo-toolkit

Ibexa Toolkit to advise users on best SEO practices.

112.5k](/packages/codein-ibexa-seo-toolkit)

PHPackages © 2026

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