kithkin/config/services.php

55 lines
1.8 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.
|
*/
"postmark" => [
"token" => env("POSTMARK_TOKEN"),
],
"resend" => [
"key" => env("RESEND_KEY"),
],
"ses" => [
"key" => env("AWS_ACCESS_KEY_ID"),
"secret" => env("AWS_SECRET_ACCESS_KEY"),
"region" => env("AWS_DEFAULT_REGION", "us-east-1"),
],
"slack" => [
"notifications" => [
"bot_user_oauth_token" => env("SLACK_BOT_USER_OAUTH_TOKEN"),
"channel" => env("SLACK_BOT_USER_DEFAULT_CHANNEL"),
],
],
/* custom geocoding service values */
"geocoding" => [
"provider" => env("GEOCODER", "arcgis"),
"timeout" => (int) env("GEOCODER_TIMEOUT", 20),
"user_agent" => env("GEOCODER_USER_AGENT", "Kithkin/LocalDev"),
"arcgis" => [
"api_key" => env("ARCGIS_API_KEY"),
"store" => (bool) env("ARCGIS_STORE_RESULTS", true),
"endpoint" =>
"https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer",
"country_code" => env("GEOCODER_COUNTRY", "USA"),
"categories" => env("GEOCODER_CATEGORIES", "POI,Address"),
"out_fields" =>
"Match_addr,Addr_type,PlaceName,Place_addr,Address,City,Region,Postal,CountryCode,LongLabel",
"max_results" => 1,
],
],
];