- Added fonts:sync-google command (uses GOOGLE_FONTS_API_KEY, generates /public/fonts/google files, manifest, CSS, cache flush) and
exposed manifest via new GET /api/v1/tenant/fonts endpoint with fallbacks for existing local fonts.
- Imported generated fonts CSS, added API client + font loader hook, and wired branding page font fields to searchable selects (with
custom override) that auto-load selected fonts.
- Invites layout editor now offers font selection per element with runtime font loading for previews/export alignment.
- New tests cover font sync command and font manifest API.
Tests run: php artisan test --filter=Fonts --testsuite=Feature.
Note: repository already has other modified files (e.g., EventPublicController, SettingsStoreRequest, guest components, etc.); left
untouched. Run php artisan fonts:sync-google after setting the API key to populate /public/fonts/google.
75 lines
2.2 KiB
PHP
75 lines
2.2 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'),
|
|
],
|
|
|
|
'google_fonts' => [
|
|
'key' => env('GOOGLE_FONTS_API_KEY'),
|
|
],
|
|
|
|
'pexels' => [
|
|
'key' => env('PEXELS_API_KEY'),
|
|
],
|
|
|
|
'ses' => [
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
|
],
|
|
|
|
'stripe' => [
|
|
'model' => App\Models\User::class,
|
|
'key' => env('STRIPE_KEY'),
|
|
'secret' => env('STRIPE_SECRET'),
|
|
],
|
|
|
|
'paypal' => [
|
|
'client_id' => env('PAYPAL_CLIENT_ID'),
|
|
'secret' => env('PAYPAL_SECRET'),
|
|
'sandbox' => env('PAYPAL_SANDBOX', true),
|
|
],
|
|
|
|
'paddle' => [
|
|
'api_key' => env('PADDLE_API_KEY'),
|
|
'client_id' => env('PADDLE_CLIENT_ID'),
|
|
'sandbox' => env('PADDLE_SANDBOX', false),
|
|
'webhook_secret' => env('PADDLE_WEBHOOK_SECRET'),
|
|
],
|
|
|
|
'google' => [
|
|
'client_id' => env('GOOGLE_CLIENT_ID'),
|
|
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
|
|
'redirect' => env('GOOGLE_REDIRECT_URI', rtrim(env('APP_URL', ''), '/').'/checkout/auth/google/callback'),
|
|
],
|
|
|
|
'revenuecat' => [
|
|
'webhook' => env('REVENUECAT_WEBHOOK_SECRET', ''),
|
|
'product_mappings' => env('REVENUECAT_PRODUCT_MAPPINGS', ''),
|
|
'app_user_prefix' => env('REVENUECAT_APP_USER_PREFIX', 'tenant'),
|
|
'queue' => env('REVENUECAT_WEBHOOK_QUEUE', 'webhooks'),
|
|
],
|
|
|
|
];
|