Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Lecturize/Laravel-Meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads License

Meta

Simple and fluent meta data for Eloquent Models in Laravel 5.

Installation

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
];

Configuration & Migration

$ 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 migrate

License

Licensed under MIT license.

Author

Handcrafted with love by Alexander Manfred Poellmann for vendocrat in Vienna & Rome.

About

Simple and fluent meta data for Eloquent Models in Laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages