New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

thezeroday/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.
1,250
Install
composer require thezeroday/laravel-likeable
Latest Version:v1.1
PHP:^8.2
Laravel:11
Older releases:8 · 9 · 10
License:MIT
Last Updated:Mar 13, 2024
Links: GitHub  ·  Packagist
Maintainer: thezeroday

Installation

Publish config and migration

php artisan vendor:publish --provider=\Zeroday\Likeable\LikeableServiceProvider --tag=migration
php artisan vendor:publish --provider=\Zeroday\Likeable\LikeableServiceProvider --tag=config

import trait "Likeable" in model

Related Packages

turahe/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'f...

1,887 9
batuhan/laravel-flaggable

Trait for Laravel Eloquent models to allow easy implementation of a 'flag' featu...

16 0
christiankuri/laravel-favorite

Allows Laravel Eloquent models to implement a 'favorite' or 'remember' or 'follo...

501,267 226
cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

365,537 1,202
mintbridge/eloquent-favourites

An eloquent package for favouriting eloquent models.

370 6

Version History

Version Released PHP Laravel License
v1.1 ^8.2 >=11.0 MIT
v1.0.3 ^8.2 >=10.0 MIT
v1.0.2 ^8.2 >=10.0 MIT
v1.0.1 ^8.0 >=8.0 MIT
v1.0 ^8.0 >=8.0 MIT