Simple and fluent meta data for Eloquent Models in Laravel 5.
Require the package from your composer.json file
"require": {
"vendocrat/laravel-meta": "dev-master"
}and run $ composer update or both in one with $ composer require vendocrat/laravel-meta.
Next register the service provider and (optional) facade to your config/app.php file
'providers' => [
// Illuminate Providers ...
// App Providers ...
vendocrat\Meta\MetaServiceProvider::class
];'providers' => [
// Illuminate Facades ...
'Meta' => vendocrat\Meta\Facades\Meta::class
];$ php artisan vendor:publish --provider="vendocrat\Meta\MetaServiceProvider"This will create a config/meta.php and a migration file. In the config file you can customize the table names, finally you'll have to run migration like so:
$ php artisan migrateLicensed under MIT license.
Handcrafted with love by Alexander Manfred Poellmann for vendocrat in Vienna & Rome.