Checking Interactions | Laravel Like
Learn how to check if users have interacted with content in your Laravel application using the Laravel Like package.
Learn how to check if users have interacted with content in your Laravel application using the Laravel Like package.
Learn how to count and aggregate interactions (likes, dislikes, loves) in your Laravel application using the Laravel Like package.
Learn how to customize user interactions in the Laravel Like package, including custom interaction models, custom user models, and extending default behavior.
Learn how to filter and sort your content based on interaction counts (likes, dislikes, loves) using the Laravel Like package.
Full API reference for the LikeManager class and the Like / Love facades in the Laravel Like package.
Learn how to add like, dislike, and love interactions to your Eloquent models using the Laravel Like package.
Understand query-cost guarantees, N+1 prevention, and performance optimisation for the Laravel Like package.
Learn how to query and filter interactable content with the Laravel Like package, using relationships, whereHas, withCount, and custom scopes.
Learn how to use the toggle() method to switch between like, dislike, and neutral states with the Laravel Like package.
Learn how to remove interactions (unlike, undislike, unlove) from content in your Laravel application using the Laravel Like package.
Learn how to use the UserHasInteraction trait in your User model to track and manage user interactions with the Laravel Like package.