trypost/config/trypost.php
Paulo Castellano 25c43a3906 refactor: rename TRYPOST_GOOGLE_AUTH_ENABLED to GOOGLE_AUTH_ENABLED
Aligns with existing Google env naming convention (GOOGLE_AUTH_CALLBACK).
2026-04-14 14:16:34 -03:00

78 lines
2.3 KiB
PHP

<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Self-Hosted Mode
|--------------------------------------------------------------------------
|
| When enabled, the application runs in self-hosted mode which skips
| payment/subscription requirements during onboarding.
|
*/
'self_hosted' => env('SELF_HOSTED', true),
/*
|--------------------------------------------------------------------------
| Google Authentication
|--------------------------------------------------------------------------
|
| Enable or disable "Login with Google" on the login and register pages.
| Disable this if you don't have Google OAuth credentials configured.
|
*/
'google_auth_enabled' => env('GOOGLE_AUTH_ENABLED', false),
/*
|--------------------------------------------------------------------------
| Social Platforms
|--------------------------------------------------------------------------
|
| Configure which social platforms are enabled in the application.
| Set to false to temporarily disable a platform (e.g., when credentials
| are revoked, expired, or pending approval).
|
*/
'platforms' => [
'linkedin' => [
'enabled' => env('TRYPOST_LINKEDIN_ENABLED', true),
],
'linkedin-page' => [
'enabled' => env('TRYPOST_LINKEDIN_PAGE_ENABLED', true),
],
'x' => [
'enabled' => env('TRYPOST_X_ENABLED', true),
],
'tiktok' => [
'enabled' => env('TRYPOST_TIKTOK_ENABLED', true),
],
'youtube' => [
'enabled' => env('TRYPOST_YOUTUBE_ENABLED', true),
],
'facebook' => [
'enabled' => env('TRYPOST_FACEBOOK_ENABLED', true),
],
'instagram' => [
'enabled' => env('TRYPOST_INSTAGRAM_ENABLED', true),
],
'threads' => [
'enabled' => env('TRYPOST_THREADS_ENABLED', true),
],
'pinterest' => [
'enabled' => env('TRYPOST_PINTEREST_ENABLED', true),
],
'bluesky' => [
'enabled' => env('TRYPOST_BLUESKY_ENABLED', true),
],
'mastodon' => [
'enabled' => env('TRYPOST_MASTODON_ENABLED', true),
],
],
];