firefly-iii/config/services.php

64 lines
1.9 KiB
PHP
Raw Permalink Normal View History

2015-02-05 21:39:52 -06:00
<?php
2017-10-21 01:40:00 -05:00
/**
* services.php
2020-03-17 11:06:30 -05:00
* Copyright (c) 2019 james@firefly-iii.org.
2017-10-21 01:40:00 -05:00
*
* This file is part of Firefly III (https://github.com/firefly-iii).
2017-10-21 01:40:00 -05:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
2017-10-21 01:40:00 -05:00
*
* This program is distributed in the hope that it will be useful,
2017-10-21 01:40:00 -05:00
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
2017-10-21 01:40:00 -05:00
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2017-10-21 01:40:00 -05:00
*/
2017-09-14 10:40:02 -05:00
declare(strict_types=1);
2024-03-09 23:17:31 -06:00
use FireflyIII\User;
2017-09-14 10:40:02 -05:00
2015-02-05 21:39:52 -06:00
return [
2015-06-27 01:06:24 -05:00
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
2016-09-15 23:19:40 -05:00
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
2015-06-27 01:06:24 -05:00
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
|
*/
2015-02-05 21:39:52 -06:00
'mailgun' => [
2020-03-17 11:06:30 -05:00
'domain' => env('MAILGUN_DOMAIN'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
'secret' => env('MAILGUN_SECRET'),
2015-06-27 01:06:24 -05:00
],
2015-02-05 21:39:52 -06:00
'ses' => [
2017-11-15 04:33:07 -06:00
'key' => env('SES_KEY'),
'secret' => env('SES_SECRET'),
2015-06-27 01:06:24 -05:00
'region' => 'us-east-1',
],
2015-02-05 21:39:52 -06:00
2016-09-15 23:19:40 -05:00
'sparkpost' => [
'secret' => env('SPARKPOST_SECRET'),
],
'stripe' => [
'model' => User::class,
2017-11-15 04:33:07 -06:00
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
2015-06-27 01:06:24 -05:00
],
'mandrill' => [
2018-06-16 00:23:54 -05:00
'secret' => env('MANDRILL_SECRET'),
],
2015-02-05 21:39:52 -06:00
];