File: /mnt/data/ghayatcom/ghayatcom-api/config/services.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'),
],
'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'),
],
'sendgrid' => [
'api_key' => env('SENDGRID_API_KEY'),
],
'fhir' => [
'base_url' => env('FHIR_BASE_URL', 'https://server.fire.ly/r4'),
'auth_type' => env('FHIR_AUTH_TYPE', ''), // 'basic', 'oauth2', 'token'
'auth_credentials' => [
'username' => env('FHIR_USERNAME', ''),
'password' => env('FHIR_PASSWORD', ''),
'client_id' => env('FHIR_CLIENT_ID', ''),
'client_secret' => env('FHIR_CLIENT_SECRET', ''),
'token' => env('FHIR_ACCESS_TOKEN', ''),
],
'default_headers' => [
'Accept' => 'application/fhir+json',
'Content-Type' => 'application/fhir+json',
],
'timeout' => 30,
],
];