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.
Fund package maintenance!
Akira
Requires
- php: ^8.3
- illuminate/contracts: ^10||^11.0||^12.0
- pinkary-project/type-guard: ^0.1.0
- spatie/laravel-package-tools: ^1.19
Requires (Dev)
- larastan/larastan: ^2.9 || ^3.0
- laravel/pint: ^1.20
- nunomaduro/collision: ^8.6.1
- orchestra/testbench: ^9.9.0
- peckphp/peck: ^0.1.2
- pestphp/pest: ^3.7.4
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.1
- pestphp/pest-plugin-type-coverage: ^3.2.3
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan-deprecation-rules: ^1.2.1
- phpstan/phpstan-phpunit: ^1.4.2 || ^1.5.0
- rector/rector: ^1.2.10 || ^2.0
- spatie/laravel-ray: ^1.39.1
This package is auto-updated.
Last update: 2025-02-14 18:28:38 UTC
README
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.