Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Followable Laravel Package

x-laravel/followable

A Laravel package that adds follow and unfollow behavior to your models. Attach polymorphic follower relationships, check whether a model is followed, and query followers or followings with a simple, reusable trait.

View on GitHub
Deep Wiki
Context7

x-laravel/followable adds a lightweight follow system to any Laravel model. Attach the provided trait to users or other entities and instantly get polymorphic followers and following relationships, powered by a single pivot table.

  • Polymorphic by design — follow users, teams, tags, or any Eloquent model
  • Simple follow(), unfollow(), and toggleFollow() APIs
  • Ready-made followers() and following() relationships with counts
  • Helper checks like isFollowing() and follows()
  • Configurable migrations and model customization
$user->follow($post->author);
$user->isFollowing($author); // true
$author->followers()->count();
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections