Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lecturize/laravel-followers
Build a Follower system or simply associate Eloquent models in Laravel.
https://github.com/lecturize/laravel-followers
Last synced: 3 months ago
JSON representation
Build a Follower system or simply associate Eloquent models in Laravel.
- Host: GitHub
- URL: https://github.com/lecturize/laravel-followers
- Owner: Lecturize
- License: mit
- Created: 2015-09-03T14:13:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T20:24:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T16:04:48.099Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 51.8 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Latest Stable Version](https://poser.pugx.org/lecturize/laravel-followers/v/stable)](https://packagist.org/packages/lecturize/laravel-followers)
[![Total Downloads](https://poser.pugx.org/lecturize/laravel-followers/downloads)](https://packagist.org/packages/lecturize/laravel-followers)
[![License](https://poser.pugx.org/lecturize/laravel-followers/license)](https://packagist.org/packages/lecturize/laravel-followers)# Laravel Followers
Build a poly-morph follower system or simply associate Eloquent models in Laravel.
## Installation
Require the package from your `composer.json` file
```php
"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
```bash
$ 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:
```bash
$ 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](http://opensource.org/licenses/MIT).
## Author
**Handcrafted with love by [Alexander Manfred Poellmann](https://twitter.com/AMPoellmann) in Vienna & Rome.**