vendocrat/laravel-meta
最新稳定版本:v0.1.0
Composer 安装命令:
composer require vendocrat/laravel-meta
包简介
Simple and fluent meta data for Eloquent Models in Laravel 5.
README 文档
README
Meta
Simple and fluent meta data for Eloquent Models in Laravel 5.
Important Notice
This package is a work in progress, please use with care and feel free to report any issues or ideas you may have!
We've transferred this package to a new owner and therefor updated the namespaces to Lecturize\Meta. The config file is now config/lecturize.php.
Installation
Require the package from your composer.json file
Attention: This package is a work in progress, please use with care and be sure to report any issues!
"require": { "lecturize/laravel-meta": "dev-master" }
and run $ composer update or both in one with $ composer require lecturize/laravel-meta.
Next register the service provider and (optional) facade to your config/app.php file
'providers' => [ // Illuminate Providers ... // App Providers ... Lecturize\Meta\MetaServiceProvider::class ];
Configuration & Migration
$ php artisan vendor:publish --provider="Lecturize\Meta\MetaServiceProvider"
This will create a config/lecturize.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 in Vienna & Rome.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-05