PHPackages                             monsat/ogp - 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. monsat/ogp

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

monsat/ogp
==========

CakePHP OGP Plugin

942.5k—0%2PHP

Since May 20Pushed 11y ago3 watchersCompare

[ Source](https://github.com/monsat/Ogp)[ Packagist](https://packagist.org/packages/monsat/ogp)[ RSS](/packages/monsat-ogp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Ogp
===

[](#ogp)

CakePHP OGP Plugin

USAGE
-----

[](#usage)

```
# view
$this->Ogp->title('page title');     // add title tag
$this->Ogp->image($post['Post']['author_image_url']);
// the other property
$this->Ogp->set(
  'description',                     // name="og:description"
  "stripped \n and tags",     // content
  // options
  array(
    'meta' => true,                  // add normal meta tag
  ),
);

# layout
$this->fetch('meta');
```

INSTALL
-------

[](#install)

### Download this code

[](#download-this-code)

download this code. and put them your plugin directory.

```
cd your_app
ls Plugin

Ogp
```

or clone / submodule add

```
cd your_app
git clone git://github.com/monsat/Ogp.git Plugin/Ogp
```

### Load plugin

[](#load-plugin)

```
# APP/Config/bootstrap.php
CakePlugin::load('Ogp');
```

```
# APP/Controller/AppController.php
$helpers = array( 'Html', 'Form', 'Ogp.Ogp');
```

### Default settings

[](#default-settings)

If you do not set values in views , default values are used.

```
# APP/Config/bootstrap.php
Configure::write('Site', array(
  'site_name' => 'My Site',
  'description' => 'My Site is awesome',
  'image' => '/img/image.png',
  'type' => 'website',
  'separator' => ' - ',
));
```

### Settings

[](#settings)

default settings

```
Configure::write('Ogp.settings', array(
  'base' => 'Site.',
  'autoKeys' => array('type'), // set by beforeLayout
));
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e24f9ce8b584780165f9bc6b221d079f87bebff3d34e37bb571190fdc281c8cb?d=identicon)[mon\_sat](/maintainers/mon_sat)

---

Top Contributors

[![monsat](https://avatars.githubusercontent.com/u/85702?v=4)](https://github.com/monsat "monsat (12 commits)")[![muneando](https://avatars.githubusercontent.com/u/2174971?v=4)](https://github.com/muneando "muneando (4 commits)")

### Embed Badge

![Health badge](/badges/monsat-ogp/health.svg)

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

###  Alternatives

[knplabs/knp-menu-bundle

This bundle provides an integration of the KnpMenu library

1.4k53.8M315](/packages/knplabs-knp-menu-bundle)[lipis/flag-icons

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k27.5k4](/packages/lipis-flag-icons)[graphp/graphviz

GraphViz graph drawing for the mathematical graph/network library GraPHP.

3232.1M49](/packages/graphp-graphviz)[davidpiesse/nova-map

Map field for Laravel Nova

114224.3k](/packages/davidpiesse-nova-map)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[php-mp4box/php-mp4box

PHP MP4Box, an Object Oriented library for easy file conversion with MP4 Box

16217.3k1](/packages/php-mp4box-php-mp4box)

PHPackages © 2026

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