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

Allows Laravel Eloquent models to implement a 'favorite', 'like', 'remember' and 'follow' features.

Results 8 laravel-favorite issues
Sort by recently updated
recently updated
newest added

I am trying to show the different colors for liked and non-liked users on the view file. I am using laravel 7, how to use `$post->isFavorited()` on laravel view file,...

## Detailed description Hi there! When i check if article is favorited by auth user `$article->isFavorited()` the debugbar gives me `Model: App\Models\Article => Relation: ChristianKuri\LaravelFavorite\Models\Favorite - You should add with(ChristianKuri\LaravelFavorite\Models\Favorite)...

## Missing column `id` in default favorites table migration when i try to add some model to favorites it generates following query, which requires `id` column ```SQL: insert into "favorites"...

## Description This patch will filter out null items of the subject (the ones that are favoriting) when the items are no longer available through Eloquent collection. ## Motivation and...

## Detailed description Provide a detailed description of the change or addition you are proposing. Make it clear if the issue is a bug, an enhancement or just a question....

## Description up uuid ## Motivation and context no why https://github.com/ChristianKuri/laravel-favorite/issues/20 ## How has this been tested? ## Types of changes What types of changes does your code introduce? Put...

When I tried to store the data in the favorites table, I encountered the problem of the foreign key, which caused the PostgreSQL database to give an error. I made...

## Detailed description How can the user->favorite() function get me an array of the favoriteable items? thank you! I'm getting a collection with the favoriteable id as an index and...