92 lines
3.7 KiB
PHP
92 lines
3.7 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'),
|
|
],
|
|
|
|
'ses' => [
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
|
],
|
|
|
|
'resend' => [
|
|
'key' => env('RESEND_KEY'),
|
|
],
|
|
|
|
'slack' => [
|
|
'notifications' => [
|
|
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
|
|
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
|
|
],
|
|
],
|
|
|
|
'traccar' => [
|
|
'api_url' => env('TRACCAR_API_URL', 'https://demo.traccar.org/api'),
|
|
'admin_username' => env('TRACCAR_ADMIN_USERNAME', 'admin'),
|
|
'admin_password' => env('TRACCAR_ADMIN_PASSWORD', 'admin'),
|
|
],
|
|
|
|
'maps' => [
|
|
'default_provider' => env('MAP_PROVIDER', 'openstreetmap'),
|
|
'providers' => [
|
|
'openstreetmap' => [
|
|
'name' => 'OpenStreetMap',
|
|
'free' => true,
|
|
'requires_api_key' => false,
|
|
'tile_url' => 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
|
'attribution' => '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
],
|
|
'google' => [
|
|
'name' => 'Google Maps',
|
|
'free' => false,
|
|
'requires_api_key' => true,
|
|
'api_key' => env('GOOGLE_MAPS_API_KEY'),
|
|
'enabled' => !empty(env('GOOGLE_MAPS_API_KEY'))
|
|
],
|
|
'mapbox' => [
|
|
'name' => 'Mapbox',
|
|
'free' => false,
|
|
'requires_api_key' => true,
|
|
'api_key' => env('MAPBOX_API_KEY'),
|
|
'enabled' => !empty(env('MAPBOX_API_KEY')),
|
|
'tile_url' => 'https://api.mapbox.com/styles/v1/mapbox/{style}/tiles/{z}/{x}/{y}?access_token={accessToken}',
|
|
'attribution' => '© <a href="https://www.mapbox.com/">Mapbox</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
],
|
|
'cartodb' => [
|
|
'name' => 'CartoDB',
|
|
'free' => true,
|
|
'requires_api_key' => false,
|
|
'styles' => [
|
|
'light' => 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',
|
|
'dark' => 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png',
|
|
'voyager' => 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png'
|
|
],
|
|
'attribution' => '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
],
|
|
'satellite' => [
|
|
'name' => 'Satellite (Esri)',
|
|
'free' => true,
|
|
'requires_api_key' => false,
|
|
'tile_url' => 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
'attribution' => 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
|
|
]
|
|
]
|
|
],
|
|
|
|
];
|