2015-02-06 04:39:52 +01:00
|
|
|
<?php
|
2024-11-25 04:18:55 +01:00
|
|
|
|
2017-10-21 08:40:00 +02:00
|
|
|
/**
|
|
|
|
|
* app.php
|
2020-03-17 16:06:30 +00:00
|
|
|
* Copyright (c) 2019 james@firefly-iii.org.
|
2017-10-21 08:40:00 +02:00
|
|
|
*
|
2019-10-02 06:38:00 +02:00
|
|
|
* This file is part of Firefly III (https://github.com/firefly-iii).
|
2017-10-21 08:40:00 +02:00
|
|
|
*
|
2019-10-02 06:38:00 +02: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 08:40:00 +02:00
|
|
|
*
|
2019-10-02 06:38:00 +02:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
2017-10-21 08:40:00 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2019-10-02 06:38:00 +02:00
|
|
|
* GNU Affero General Public License for more details.
|
2017-10-21 08:40:00 +02:00
|
|
|
*
|
2019-10-02 06:38:00 +02: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 08:40:00 +02:00
|
|
|
*/
|
|
|
|
|
|
2017-09-14 17:40:02 +02:00
|
|
|
declare(strict_types=1);
|
2019-08-10 15:09:44 +02:00
|
|
|
|
2025-05-25 07:01:31 +02:00
|
|
|
use FireflyIII\Support\Facades\AccountForm;
|
|
|
|
|
use FireflyIII\Support\Facades\CurrencyForm;
|
|
|
|
|
use FireflyIII\Support\Facades\ExpandedForm;
|
|
|
|
|
use FireflyIII\Support\Facades\PiggyBankForm;
|
|
|
|
|
use FireflyIII\Support\Facades\RuleForm;
|
|
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
|
use Illuminate\Support\Facades\Config;
|
2025-05-26 06:07:21 +02:00
|
|
|
use Illuminate\Support\Facades\Lang;
|
2025-05-25 07:01:31 +02:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
use Illuminate\Support\Facades\Session;
|
|
|
|
|
use Illuminate\Support\Facades\URL;
|
|
|
|
|
use Spatie\Html\Facades\Html;
|
2023-05-29 13:56:55 +02:00
|
|
|
|
2015-02-06 04:39:52 +01:00
|
|
|
return [
|
2026-04-24 05:45:42 +02:00
|
|
|
'name' => env_default_when_empty(env('APP_NAME'), 'Firefly III'),
|
|
|
|
|
'env' => env_default_when_empty(env('APP_ENV'), 'production'),
|
2016-11-12 20:41:15 +01:00
|
|
|
'debug' => env('APP_DEBUG', false),
|
2026-04-24 05:45:42 +02:00
|
|
|
'url' => env_default_when_empty(env('APP_URL'), 'http://localhost'),
|
|
|
|
|
'timezone' => env_default_when_empty(env('TZ'), 'UTC'),
|
|
|
|
|
'locale' => env_default_when_empty(env('DEFAULT_LANGUAGE'), 'en_US'),
|
2015-12-19 20:54:27 +01:00
|
|
|
'fallback_locale' => 'en_US',
|
2017-11-27 19:07:57 +01:00
|
|
|
'key' => env('APP_KEY'),
|
2016-11-12 20:41:15 +01:00
|
|
|
'cipher' => 'AES-256-CBC',
|
2025-05-24 19:48:09 +02:00
|
|
|
'aliases' => [
|
2025-05-25 07:01:31 +02:00
|
|
|
'Auth' => Auth::class,
|
|
|
|
|
'Route' => Route::class,
|
|
|
|
|
'Config' => Config::class,
|
|
|
|
|
'Session' => Session::class,
|
|
|
|
|
'URL' => URL::class,
|
|
|
|
|
'Html' => Html::class,
|
2025-05-26 20:03:38 +02:00
|
|
|
'Lang' => Lang::class,
|
2025-05-25 07:01:31 +02:00
|
|
|
'AccountForm' => AccountForm::class,
|
|
|
|
|
'CurrencyForm' => CurrencyForm::class,
|
|
|
|
|
'ExpandedForm' => ExpandedForm::class,
|
|
|
|
|
'PiggyBankForm' => PiggyBankForm::class,
|
|
|
|
|
'RuleForm' => RuleForm::class,
|
2025-05-24 19:48:09 +02:00
|
|
|
],
|
2017-12-23 20:46:52 +01:00
|
|
|
|
2025-11-09 09:08:03 +01:00
|
|
|
'asset_url' => env('ASSET_URL'),
|
2020-06-06 22:25:52 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Faker Locale
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This locale will be used by the Faker PHP library when generating fake
|
|
|
|
|
| data for your database seeds. For example, this will be used to get
|
|
|
|
|
| localized telephone numbers, street address information and more.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2025-05-25 07:05:40 +02:00
|
|
|
'faker_locale' => 'en_US',
|
2015-02-06 04:39:52 +01:00
|
|
|
];
|