PHPackages                             bnacci/gamio - 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. bnacci/gamio

ActiveLibrary

bnacci/gamio
============

Gamio: a lightweight Laravel package for user XP, leveling and gamification.

v1.0.0(7mo ago)01MITPHPPHP &gt;=8.4

Since Sep 29Pushed 7mo agoCompare

[ Source](https://github.com/bnacci/gamio)[ Packagist](https://packagist.org/packages/bnacci/gamio)[ RSS](/packages/bnacci-gamio/feed)WikiDiscussions main Synced 1mo ago

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

Gamio Level System and Xp
=========================

[](#gamio-level-system-and-xp)

I spent a lot of time trying to find a simple package that would provide me with an effective level and xp system and according to what I was looking for, I tried using some (they are good, but not for me) so I decided to create my own and from that desire Gamio was born.

Features
--------

[](#features)

- Level and XP
- Badges
- Leaderboard
- User rank

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

[](#installation)

IInstall the package via Composer:

```
  composer require bnacci/gamio
```

Publish the config file:

```
    php artisan vendor:publish --provider="Bnacci\Gamio\Providers\GamioProvider" --tag="gamio-config"
```

Publish the migration files:

```
    php artisan vendor:publish --provider="Bnacci\Gamio\Providers\GamioProvider" --tag="gamio-migrations"
```

Publish the view files:

```
    php artisan vendor:publish --provider="Bnacci\Gamio\Providers\GamioProvider" --tag="gamio-views"
```

Then just add Leveable Trait (Bnacci\\Gamio\\Traits\\Leveable) to User Model:

```
