PHPackages                             dishark/metaeloquent - 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. [Database &amp; ORM](/categories/database)
4. /
5. dishark/metaeloquent

ActiveLibrary[Database &amp; ORM](/categories/database)

dishark/metaeloquent
====================

Meta Eloquent is an eloquent booster that allows it to easily manage HTTP Meta tags

v1.0(10y ago)5201MITPHP

Since May 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dishark/metaeloquent)[ Packagist](https://packagist.org/packages/dishark/metaeloquent)[ Docs](http://dishark.github.io/metaeloquent)[ RSS](/packages/dishark-metaeloquent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Meta Eloquent
=============

[](#meta-eloquent)

[![Latest Stable Version](https://camo.githubusercontent.com/c122369f15d8f5fdeb87c40a0fd25ae211dd62831b7b4df3f9a511ea529e9e69/68747470733a2f2f706f7365722e707567782e6f72672f6469736861726b2f6d657461656c6f7175656e742f762f737461626c65)](https://packagist.org/packages/dishark/metaeloquent) [![Total Downloads](https://camo.githubusercontent.com/57cd3af78e53ea5d7ff3c43de243e409a8359de6c71bb2729706a5078b5ba537/68747470733a2f2f706f7365722e707567782e6f72672f6469736861726b2f6d657461656c6f7175656e742f646f776e6c6f616473)](https://packagist.org/packages/dishark/metaeloquent) [![Latest Unstable Version](https://camo.githubusercontent.com/df452f274fe4af115a00acdbe58fd75ca4ee69b277bcb773b7f421dc30233e15/68747470733a2f2f706f7365722e707567782e6f72672f6469736861726b2f6d657461656c6f7175656e742f762f756e737461626c65)](https://packagist.org/packages/dishark/metaeloquent) [![License](https://camo.githubusercontent.com/29265ffc29129aedbde17b70a4a1f3b53d6eb30655f1f7d58c1b8406cd3df470/68747470733a2f2f706f7365722e707567782e6f72672f6469736861726b2f6d657461656c6f7175656e742f6c6963656e7365)](https://packagist.org/packages/dishark/metaeloquent)

Meta Eloquent is an eloquent booster that allows it to easily manage HTTP Meta tags.

Installation
============

[](#installation)

1. Dependecy
------------

[](#1-dependecy)

Using composer, execute the following command to automatically update your composer.json:

```
composer require dishark/metaeloquent

```

or manually update your composer.json file

```
{
    "require": {
        "dishark/metaeloquent": "dev-master"
    }
}

```

2. Provider
-----------

[](#2-provider)

You need to update your application configuration in order to register the package, so it can be loaded by Laravel. Just update your config/app.php file adding the following code at the end of your 'providers' section:

```
// file START omitted
    'providers' => [
        // other providers omitted
        'Dishark\Metaeloquent\MetaEloquentServiceProvider',
    ],
// file END omitted
```

\#Usage

Make sure to use `Dishark\Metaeloquent\Traits\MetaTrait` in your model. Then declare the `$metaAttributes` property specifying the metatag as the key and the column as the value.

Example 1:

```
