akira/laravel-followable

A lightweight and flexible Laravel package that adds follow/unfollow functionality to Eloquent models. With an intuitive API, it allows users to follow other users, track entities, and manage relationships effortlessly.

0.1.0 2025-02-09 21:27 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Laravel Followable is a lightweight and flexible Laravel package that adds follow/unfollow functionality to Eloquent models. With an intuitive API, it allows users to follow other users, track entities, and manage relationships effortlessly.

Installation

You can install the package via composer:

composer require akira-io/laravel-followable

You can publish and run the migrations with:

php artisan vendor:publish --tag="followable-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="followable-config"

Documentation

You'll find installation instructions and full documentation on Followable website.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.