laravel-meta icon indicating copy to clipboard operation
laravel-meta copied to clipboard

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

Results 10 laravel-meta issues
Sort by recently updated
recently updated
newest added

If you are using laravel events https://laravel.com/docs/5.2/eloquent#events with metable in model, While creating or updating the record model event is executing twice as metable is updating the record with metafield...

Hi I have 2 type of metas, config metas and content metas. I would like to create a CRUD for each one, but I will need to find a way...

when trying to use metable with laravel-stapler package i get a collision of method getattribute and i have to disable laravel-meta or laravel-stapler in order for one of them to...

There is problem when id name is altered in mysql query, then 'id' si searched and not found, this will fix calls to primary key meta.

`$post = Post::with(['metas'])->get();` here can we specify the list of meta attributes to return instead of returning all the attributes?

Plaese, if you can fixed this Thanks

If I create a table seeder for a table that uses metable, the meta columns don't get translated into key/value pairs on the related table. For example: In database/factories/ModelFactory.php: ```...

Instead of: ``` $post = Post::meta() ->where(function($query){ $query->where('posts_meta.key', '=', 'revision') ->where('posts_meta.value', '=', 'draft'); }) ``` It would be really helpful/nice to have something like this: ` $post = Post::whereMeta(['revision'=>'draft']) `

Hi, Can this be used on tables with a primary key of type uuid?