PHPackages                             dutkan/followers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dutkan/followers

AbandonedLibrary

dutkan/followers
================

012PHP

Since May 14Pushed 11y agoCompare

[ Source](https://github.com/olgundutkan/follower)[ Packagist](https://packagist.org/packages/dutkan/followers)[ RSS](/packages/dutkan-followers/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 4 Basic Follower Package
================================

[](#laravel-4-basic-follower-package)

This Laravel 4 package provides a command. These generator include:

`follow:model`

Package Inslallation
--------------------

[](#package-inslallation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `dutkan/followers`.

```
"require": {
	"laravel/framework": "4.1.*",
	"dutkan/followers": "dev-develop"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

```
'Dutkan\Followers\FollowersServiceProvider'

```

Migrations
----------

[](#migrations)

You can installing the package' s migration file into your application, by running the follwing command:

```
php artisan migrate --package="dutkan/followers"

```

Create Model
------------

[](#create-model)

That's it! You're all set to go. Run the `artisan` command from the Terminal to see the new `follow:model` commands.

```
php artisan follow:model Follow

```

Configuration
-------------

[](#configuration)

After installing, you can publish the package's configuration file into your application, by running the following command:

```
php artisan config:publish dutkan/followers

```

This will publish the config file to app/config/packages/dutkan/followers/config.php where you modify the package configuration.

Use
---

[](#use)

To add the current user's followers

```
try {

	$follow = Follower::followTo(1);

	return Redirect::to('/');

	} catch (Dutkan\Followers\Exceptions\AuthenticationException $e) {

		return $e->getMessage();

	}

```

or remove the current user's followers

```
try {

	$follow = Follower::unfollowFrom(1);

	return Redirect::to('/');

	} catch (Dutkan\Followers\Exceptions\AuthenticationException $e) {

		return $e->getMessage();

	}

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2865224?v=4)[Olgun DUTKAN](/maintainers/olgundutkan)[@olgundutkan](https://github.com/olgundutkan)

---

Top Contributors

[![hdtkn](https://avatars.githubusercontent.com/u/249548299?v=4)](https://github.com/hdtkn "hdtkn (20 commits)")[![olgundutkan](https://avatars.githubusercontent.com/u/2865224?v=4)](https://github.com/olgundutkan "olgundutkan (6 commits)")

### Embed Badge

![Health badge](/badges/dutkan-followers/health.svg)

```
[![Health](https://phpackages.com/badges/dutkan-followers/health.svg)](https://phpackages.com/packages/dutkan-followers)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
