lecturize/laravel-followers

Build a poly-morph Follower system or simply associate Eloquent models in Laravel 5.
1,399 12
Install
composer require lecturize/laravel-followers
Latest Version:v1.1.0
PHP:^8.0
License:MIT
Last Updated:Feb 21, 2023
Links: GitHub  ·  Packagist
Maintainer: AlexanderPoellmann

Latest Stable Version Total Downloads License

Laravel Followers

Build a poly-morph follower system or simply associate Eloquent models in Laravel.

Installation

Require the package from your composer.json file

"require": {
    "lecturize/laravel-followers": "dev-master"
}

and run $ composer update or both in one with $ composer require lecturize/laravel-followers.

Next register the service provider and (optional) facade to your config/app.php file

Configuration & Migration

$ php artisan vendor:publish --provider="Lecturize\Followers\FollowersServiceProvider"

This will publish a config/lecturize.php and some migration files, that you'll have to run:

$ php artisan migrate

For migrations to be properly published ensure that you have added the directory database/migrations to the classmap in your projects composer.json.

License

Licensed under MIT license.

Author

Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome.

Related Packages

multicaret/laravel-acquaintances

This light package, with no dependencies, gives Eloquent models the ability to m...

289,710 849
rennokki/befriended

Eloquent Befriended brings social media-like features like following, blocking a...

93,350 761
laravelme/laravel-acquaintance

This package gives Eloquent models the ability to manage friendships (with group...

0 3
hootlex/laravel-friendships

This package gives Eloquent models the ability to manage their friendships.

119,502 700
spatie/laravel-sluggable

Generate slugs when saving Eloquent models

13,300,010 1,552