PHPackages                             dottwatson/laravel-model-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dottwatson/laravel-model-meta

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

dottwatson/laravel-model-meta
=============================

A fast, configurable and smart tool to manage metat data on your models

v1.0(4y ago)16MITPHP

Since Mar 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dottwatson/laravel-model-meta)[ Packagist](https://packagist.org/packages/dottwatson/laravel-model-meta)[ RSS](/packages/dottwatson-laravel-model-meta/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Model Meta
==================

[](#laravel-model-meta)

*Extend your models with unlimited meta attributes*
---------------------------------------------------

[](#extend-your-models-with-unlimited-meta-attributes)

[![Build Status](https://camo.githubusercontent.com/dacafb09d4bf062fccb3dc244e5aaff769395d31d2cc8c61c9fee17d1b2ecdf6/68747470733a2f2f7472617669732d63692e6f72672f6a6f656d6363616e6e2f64696c6c696e6765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joemccann/dillinger)

Easly add meta data to your model, without change any logic. This package can gives you the ability to extend your laravel model with a configurable set of meta data. Each meta will be automatically inserted,upadted or deleted, following your model modifications and lifecycle.

Meta data will be treated exactly like attributes, so they can be cast, hidden, and have accessories and mutators available. You don't need to know any new syntax, as it is all manageable with the standard model conventions.

### Installation

[](#installation)

```
composer require dottwtson/laravel-model-meta

```

then publish config files

```
php artisan vendor:publish --tag=model-meta-config

```

##### File config/model-meta-types.php

[](#file-configmodel-meta-typesphp)

Here you can set all the available meta types. You can add any kind of meta type for all your needs

```
