-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathlaravel-subscriptions.php
executable file
·45 lines (37 loc) · 1.24 KB
/
laravel-subscriptions.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
38
39
40
41
42
43
44
45
<?php
declare(strict_types=1);
use Laravelcm\Subscriptions\Models\Feature;
use Laravelcm\Subscriptions\Models\Plan;
use Laravelcm\Subscriptions\Models\Subscription;
use Laravelcm\Subscriptions\Models\SubscriptionUsage;
return [
/*
|--------------------------------------------------------------------------
| Subscription Tables
|--------------------------------------------------------------------------
|
|
*/
'tables' => [
'plans' => 'plans',
'features' => 'features',
'subscriptions' => 'subscriptions',
'subscription_usage' => 'subscription_usage',
],
/*
|--------------------------------------------------------------------------
| Subscription Models
|--------------------------------------------------------------------------
|
| Models used to manage subscriptions. You can replace to use your own models,
| but make sure that you have the same functionalities or that your models
| extend from each model that you are going to replace.
|
*/
'models' => [
'plan' => Plan::class,
'feature' => Feature::class,
'subscription' => Subscription::class,
'subscription_usage' => SubscriptionUsage::class,
],
];