Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
Full Changelog: https://github.com/cybercog/laravel-love/compare/9.0.0...10.0.0
Code has breaking changes because of Eloquent Model local scopes refactoring.
Follow upgrade instructions from v8 to v9 to migrate code.
whereReactedTo
model scope to Reacterable modelswhereNotReactedTo
model scope to Reacterable modelswhereReactedToBetween
model scope to Reacterable modelsReactableEloquentBuilderTrait
love:setup-reactable
generates migration with nullable column love_reactant_id
by defaultlove:setup-reactable
option --nullable
replaced with --not-nullable
love:setup-reacterable
generates migration with nullable column love_reacter_id
by defaultlove:setup-reacterable
option --nullable
replaced with --not-nullable
love:recount
use default queue connection if --queue-connection
option is not definedAsCommand
attributeFull Changelog: https://github.com/cybercog/laravel-love/compare/8.9.0...9.0.0
Full Changelog: https://github.com/cybercog/laravel-love/compare/8.8.1...8.9.0