PHPackages                             nu1ww/loyalty - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nu1ww/loyalty

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nu1ww/loyalty
=============

Total loyalty management module

v0.2(4y ago)03MITPHPPHP &gt;=5.5.9

Since Apr 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nu1ww/loyalty)[ Packagist](https://packagist.org/packages/nu1ww/loyalty)[ RSS](/packages/nu1ww-loyalty/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

PHP Loyalty
===========

[](#php-loyalty)

Loyalty system for laravel 5 +

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

[](#installation)

First, pull in the package through Composer.

```
composer require nu1ww/loyalty
```

And then include the service provider within `app/config/app.php`.

```
'providers' => [
    Loyalty\LoyaltyServiceProvider::class
];
```

At last you need to publish and run the migration.

```
php artisan vendor:publish --provider="Loyalty\LoyaltyServiceProvider" && php artisan migrate

```

---

### Setup a Model

[](#setup-a-model)

```
