PHPackages                             mediusware/affiliate - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. mediusware/affiliate

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

mediusware/affiliate
====================

This is a user affiliate package

v1.1.0(7y ago)024MITHTML

Since Apr 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/shaheen2013/affiliate-package)[ Packagist](https://packagist.org/packages/mediusware/affiliate)[ RSS](/packages/mediusware-affiliate/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel User Affiliate
======================

[](#laravel-user-affiliate)

This is not ready project
-------------------------

[](#this-is-not-ready-project)

This package provides user wise affiliate program.

Models can:
-----------

[](#models-can)

- Request for affiliate
- Admin Accept/Deny Requests
- Commission based affiliate
- User affiliate dashboard

Installation
------------

[](#installation)

First, install the package through Composer.

```
composer require mediusware/affiliate
```

If you are using Laravel &lt; 5.5, you need to add Mediusware\\Affiliate\\AffiliateServiceProvider to your `config/app.php` providers array:

```
Mediusware\Affiliate\AffiliateServiceProvider::class,
```

Publish config and migrations

```
php artisan vendor:publish --provider="Mediusware\Affiliate\AffiliateServiceProvider"

```

Configure the published config in

```
config\affiliate.php

```

Finally, migrate the database

```
php artisan migrate

```

Setup Affiliate
---------------

[](#setup-affiliate)

User affiliate registration link (Add this in your website where you want to show link)

```
{{ url('affiliate') }}
or
Affiliate

```

Add this in your user panel where you want to show user Affiliate link

```
Affiliate

```

Add this in your admin master template navigation section

```

     Affiliate

         Dashboard
         Affiliate Users
         Affiliate Request
         Banner

```

Add this in your views/layout/app.blade.php head section for Affiliate banner share

```
@if(isset($affiliate))
    @if(!empty($affiliate->activeBanner))
        {{$affiliate->activeBanner->banner_heading}}

    @endif
@else
    AIMSTAR.GG

@endif

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

2572d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0358ee04d018e8f206df7e45d1c54e29aaa6c10552f640d1c8f8502cc3f6141?d=identicon)[shaheen2013](/maintainers/shaheen2013)

---

Top Contributors

[![sudip-mediusware](https://avatars.githubusercontent.com/u/55208985?v=4)](https://github.com/sudip-mediusware "sudip-mediusware (28 commits)")[![shaheen2013](https://avatars.githubusercontent.com/u/5777245?v=4)](https://github.com/shaheen2013 "shaheen2013 (1 commits)")

### Embed Badge

![Health badge](/badges/mediusware-affiliate/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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