-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgamify.php
37 lines (27 loc) · 879 Bytes
/
gamify.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
return [
// Model which will be having points, generally it will be User
'payee_model' => '\App\Models\User',
// Reputation model
'reputation_model' => '\QCod\Gamify\Reputation',
// Allow duplicate reputation points
'allow_reputation_duplicate' => true,
// Broadcast on private channel
'broadcast_on_private_channel' => true,
// Channel name prefix, user id will be suffixed
'channel_name' => 'user.reputation.',
// Badge model
'badge_model' => '\QCod\Gamify\Badge',
// Where all badges icon stored
'badge_icon_folder' => 'images/badges/',
// Extention of badge icons
'badge_icon_extension' => '.svg',
// All the levels for badge
'badge_levels' => [
'beginner' => 1,
'intermediate' => 2,
'advanced' => 3,
],
// Default level
'badge_default_level' => 1
];