lecturize/laravel-followers

Build a poly-morph Follower system or simply associate Eloquent models in Laravel 5.
1,400 12
Install
composer require lecturize/laravel-followers
Latest Version:v1.1.0
PHP:^8.0
Laravel:9 · 10
Older releases:5 – 8
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

sofa/hookable

Laravel Eloquent hooks system.

2,047,024 65
volosyuk/simple-eloquent

Adaptation of eloquent for retrieving its attributes

116,877 55
gzero/eloquent-tree

Eloquent Tree is a tree model for Laravel Eloquent ORM.

59,422 131
martinbean/laravel-sluggable-trait

A trait you can apply to Eloquent models to have slugs automatically generated o...

49,105 24
isswp101/elasticsearch-eloquent

Elasticsearch functionality like Laravel Eloquent models.

25,142 112

Version History

Version Released PHP Laravel License
v1.1.0 ^8.0 ^9.0|^10.0 MIT
v1.0.0 ^7.2.5|^8.0 ^6.0|^7.0|^8.0 MIT
v0.1.0 >=5.6.4|^7.0 >=5.3 MIT
v0.0.1 >=5.5.9 >=5.1 MIT