-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.php
64 lines (58 loc) · 1.95 KB
/
config.example.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
$CONFIG = new stdClass;
$CONFIG->DB_ENGINE = 'mysql';
$CONFIG->DB_HOST = 'localhost';
$CONFIG->DB_USER = 'loc_fin_user';
$CONFIG->DB_PWD = 'some_password_here_';
$CONFIG->DB_NAME = 'easymalt';
$CONFIG->MYSQL_TIMEZONE = 'America/Montreal'; // PHP format
$CONFIG->SYSTEM_TIMEZONE = 'America/Montreal'; // PHP format
// The name of your default currency, and the symbol to use to display it.
// See the transactions table, currency column, for the currency name to use here.
$CONFIG->DEFAULT_CURRENCY = ['CAD' => '$'];
// This is the token you need to configure in easymalt.ini, in your local Downloader/Importer config
// Ref: [remote] section in https://github.com/gboudreau/easymalt-local/blob/master/easymalt.example.ini
$CONFIG->API_AUTH_ACCESS_TOKEN = 'some_random_string_here';
// Defines which categories/tags to display in the /taxes/ page
$CONFIG->TAXES_WHERE_CLAUSE = [
[
'category' => [
'Professional Licenses',
// OR
'Home: Insurance',
// OR
'Home: Electricity',
// OR
'Home: Repairs',
// OR
'Home: Phone',
// OR
'Home: Natural Gas',
// OR
'Home: Condo Fees',
// OR
'Taxes: Municipal',
]
],
// OR
[
'category' => 'Auto%',
// AND
'tag' => [
'%Highlander%',
// OR
'%Jane Doe%'
]
],
];
// Open a free Plaid account, and request Development access; that gives you 100 connections at no cost
$CONFIG->PLAID_CLIENT_ID = '...';
$CONFIG->PLAID_SECRET = '...';
$CONFIG->PLAID_ENVIRONMENT = 'development';
$CONFIG->PLAID_USER = (object) [
'name' => "Your Name",
'phone' => "+15145551212", // in E.164 format: +{country_code}{number}. For example: '+14151234567'
'email' => "[email protected]",
'language' => 'en',
'countries' => ['US', 'CA'],
];