PHPackages                             wearejust/metadata - 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. wearejust/metadata

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

wearejust/metadata
==================

A package that simplifies the implementation of common metadata

2.0.0(9y ago)36.4k1MITPHP

Since Jan 12Pushed 4y ago2 watchersCompare

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

READMEChangelog (6)Dependencies (3)Versions (10)Used By (0)

[![Build Status](https://camo.githubusercontent.com/0c6aec2da5db8c1fc3d2bc99895497882c2e65763b531b90edb02dae86e619fd/68747470733a2f2f7472617669732d63692e6f72672f77656172656a7573742f6d657461646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wearejust/metadata)

MetaData
========

[](#metadata)

This package allow you to simplify the process of adding meta tags to your HTML. It basically allows you to use a simple to use API.

Installlation
-------------

[](#installlation)

Laravel 5 integration
---------------------

[](#laravel-5-integration)

This package ships with a Laravel 5 Service Provider to simplify the process. Also a ViewComposer is registered automatically so that there always is a variable `$metaData` in the in the config specified views

app.php

```
'providers' => [
    ...
    ...
    Just\MetaData\Laravel\MetaDataServiceProvider::class,
]

'aliases' => [
    ...
    ...
    'MetaData'  => Just\MetaData\Laravel\Facades\MetaData::class,
]
```

You can publish the (default) config by fire the following command

```
php artisan vendor:publish --provider="Just\MetaData\Laravel\MetaDataServiceProvider"
```

### Example

[](#example)

```
Route::get('/', function (Just\MetaData\MetaDataWrapper $manager) {
    ...
    $images = [];

    $manager->fromData('Title', 'Desription', $images);
    //OR
    $object = new SometingWithFollowingInterface(MetaDataInterface);
    $manager->fromInterface($object);

    // You may also use the Facade
    $object = MetaData::fromInterface($object);

    return view('welcome');
});
```

### API of the $metaData object in view

[](#api-of-the-metadata-object-in-view)

```
    /**
     * @return string
     */
    public function getTitle();

    /**
     * @return string
     */
    public function getDescription();

    /**
     * @return array
     */
    public function getImages();

    /**
     * @return string
     */
    public function getBaseUrl();

    /**
     * @return string
     */
    public function getCurrentUrl();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

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

Recently: every ~443 days

Total

9

Last Release

1767d ago

Major Versions

1.0.2 → 2.0.02016-07-07

1.1 → v2.x-dev2017-02-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/bef9d0ea8588b933583205c0891a6b2ca95d96cf7544a1fb336a2cdb8ea3e830?d=identicon)[ceesvanegmond](/maintainers/ceesvanegmond)

![](https://www.gravatar.com/avatar/7664d78f4cc4cb4bccfc323a1587ea35d34f09d1f1960be30fc3c109554ca8b2?d=identicon)[johnhout](/maintainers/johnhout)

![](https://www.gravatar.com/avatar/ccc8a56a9ed5b517e9877c54f74125598a06dea5b1d7cc076e2ae270d2ce5091?d=identicon)[wearejust](/maintainers/wearejust)

---

Top Contributors

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

---

Tags

laravelmetadataphp

### Embed Badge

![Health badge](/badges/wearejust-metadata/health.svg)

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

###  Alternatives

[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)[illuminate/redis

The Illuminate Redis package.

8314.0M314](/packages/illuminate-redis)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)

PHPackages © 2026

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