PHPackages                             quintype/meta - 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. [Templating &amp; Views](/categories/templating)
4. /
5. quintype/meta

ActiveLibrary[Templating &amp; Views](/categories/templating)

quintype/meta
=============

A package that makes it easy to add meta tags to your views. Includes easy Laravel integration.

2.1.1(7y ago)015.7kMITPHPPHP &gt;=5.3.0

Since Mar 13Pushed 7y ago59 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (19)Used By (0)

\#Meta

A package that makes it easy to add meta tags to your views.

This package will work in any PHP application, and Facades and Service Providers are provided to make it easy to integrate with Laravel 4.

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

[](#installation)

#### General

[](#general)

Run the following Composer command in your terminal, or simply add `'Quintype/meta': '1.1.*'` to your composer.json file:

```
composer require Quintype/meta:'1.1.*'

```

Then update Composer from the terminal:

```
composer update

```

#### Laravel Specific

[](#laravel-specific)

This package also includes Laravel facades and service providers to make integration with Laravel easy.

Once complete, you now have to add the the service provider to the providers array in `app/config/app.php`:

```
'Quintype\Meta\MetaServiceProvider'

```

Finally, add the following entry entry to the aliases array in `app/config/app.php`:

```
'Meta' => 'Quintype\Meta\Facades\Meta'

```

That's it!

Usage
-----

[](#usage)

#### General

[](#general-1)

To set meta tag values, you will use the `set(array())` method on the Meta instance. Just pass this Meta object around to persist the set values.

```
$meta = new \Quintype\Meta\Meta;

// Example #1 - Basic setting of values
$meta->set(array('title' => 'Page Title', 'description' => 'Page Description', 'keywords' => array('great', 'site')));

// Example #2 - Setting nested values. This will render tags with names like og:title and og:description
$meta->set(array('title' => 'Page Title', 'og' => array('title' => 'OG Title', 'description' => 'OG Description')));

```

To display your meta tags using the set values, you will use the `display(array())` function on your Meta object.:

```
$meta->display();

// Displaying Example #1 from above

// Displaying Example #2 from above

```

#### Laravel Specific

[](#laravel-specific-1)

To set meta tag values, you will use the `Meta::set(array())` function. Any set values will persist through the entire request of the application:

```
// Example #1 - Basic setting of values
Meta::set(array('title' => 'Page Title', 'description' => 'Page Description', 'keywords' => array('great', 'site')));

// Example #2 - Setting nested values. This will render tags with names like og:title and og:description
Meta::set(array('title' => 'Page Title', 'og' => array('title' => 'OG Title', 'description' => 'OG Description')));

```

To display your meta tags using the set values, you will use the `Meta::display(array())` function. This will normally be done in your layout or in other views:

```
Meta::display();

// Displaying Example #1 from above

// Displaying Example #2 from above

```

The display function also accepts an array of default values. These will be used when displaying your meta tags if a value is not set already using `set()`.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.5% 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 ~104 days

Recently: every ~152 days

Total

17

Last Release

2781d ago

Major Versions

1.1.4 → 2.0.02016-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/7149c6ca9a46e2a9b4ce5300eaffea9cbf632b313f4f4d3440573f93cd54f8c4?d=identicon)[quintype](/maintainers/quintype)

---

Top Contributors

[![RyanNielson](https://avatars.githubusercontent.com/u/794694?v=4)](https://github.com/RyanNielson "RyanNielson (24 commits)")[![anagh-p](https://avatars.githubusercontent.com/u/14992025?v=4)](https://github.com/anagh-p "anagh-p (6 commits)")[![PriyankaBasnet](https://avatars.githubusercontent.com/u/22210327?v=4)](https://github.com/PriyankaBasnet "PriyankaBasnet (5 commits)")[![munirajun](https://avatars.githubusercontent.com/u/8831098?v=4)](https://github.com/munirajun "munirajun (3 commits)")[![millar](https://avatars.githubusercontent.com/u/19176?v=4)](https://github.com/millar "millar (1 commits)")[![bogdanghervan](https://avatars.githubusercontent.com/u/585130?v=4)](https://github.com/bogdanghervan "bogdanghervan (1 commits)")[![adamgoose](https://avatars.githubusercontent.com/u/611068?v=4)](https://github.com/adamgoose "adamgoose (1 commits)")

---

Tags

laravelviewmeta

### Embed Badge

![Health badge](/badges/quintype-meta/health.svg)

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

###  Alternatives

[ryannielson/meta

A package that makes it easy to add meta tags to your views. Includes easy Laravel integration.

3023.2k1](/packages/ryannielson-meta)[itstructure/laravel-grid-view

Grid view for laravel framework

2546.6k2](/packages/itstructure-laravel-grid-view)[ycs77/inertia-laravel-ssr-head

Simple SSR Head for Inertia Laravel

3211.5k](/packages/ycs77-inertia-laravel-ssr-head)[leitsch/kirby-blade

Enable Laravel Blade Template Engine for Kirby 4 and Kirby 5

219.2k](/packages/leitsch-kirby-blade)[delatbabel/viewpages

Support rendering/view of Laravel pages and templates from a database.

121.4k](/packages/delatbabel-viewpages)

PHPackages © 2026

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