Skip to content

cludy-me/laravel-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluent Meta Data for Eloquent Models

HasMetaData Trait adds the ability to access meta data as if it is a property on your model. HasMetaData is Fluent, just like using an eloquent model attribute you can set or unset metas. Follow along the documentation to find out more.

Requirements

  • PHP >= 7.0
  • Laravel >= 5.5

Installation

Add laravel-metadata to your composer.json file:

"require": {
    "cludy-me/laravel-metadata": "dev-master"
}

or get composer to install the package:

$ composer require cludy-me/laravel-metadata

After updating composer, add the service provider to the providers array in config/app.php

CludyMe\MetaData\MetaDataServiceProvider::class,

About

Fluent Meta Data for Eloquent Models, as if it is a property on your model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages