Files
ntspi-app/config/services.php
T
F4ilji 2d101dcdda feat: Refactor MainController and related tasks to follow Porto architecture
- Moved logic from MainController to dedicated action and task classes.
- Introduced GetMainPageDataAction, GetEducationsDataTask, GetRecentPostsTask, GetUpcomingEventsTask, and GetPageDataTask for better separation of concerns.
- Updated routes to use the new MainController from the Main container.
- Deprecated the old MainController with a clear message for future removal.
- Updated caching mechanisms to use the new task classes.
- Adjusted environment variable access to use config() instead of env() for better practice.
- Added new MainPageResource for structured data response.
- Updated .gitignore to exclude QWEN.md.
- Added Jenkins service to docker-compose for CI/CD integration.
2025-12-16 12:20:01 +05:00

55 lines
1.5 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
'scheme' => 'https',
],
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'yandex_metrika' => [
'id' => env('YANDEX_METRIKA_ID'),
],
'vk' => [
'app_id' => env('VK_APP_ID'),
'service_key' => env('SERVICE_ACCESS_VK_KEY'),
'wall_token' => env('WALL_ACCESS_VK_TOKEN'),
'public_id' => env('PUBLIC_ID'),
'public_domain' => env('PUBLIC_DOMAIN'),
'redirect_uri' => env('VK_REDIRECT_URI'),
'redirect_uri_after_auth' => env('VK_REDIRECT_URI_AFTER_AUTH'),
],
'vicon' => [
'token' => env('VICON_TOKEN'),
'api_url' => 'https://db-nica.ru/api/v1',
],
];