Repository navigation
Expand file tree
/
Copy pathconfig.php.example
More file actions
64 lines (52 loc) · 2.31 KB
/
Copy pathconfig.php.example
File metadata and controls
64 lines (52 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* SEOIndicator - application configuration.
*
* Copy this file to `config.php` and fill in your own values.
* `config.php` is gitignored: never commit real credentials.
*
* @see .gitignore
*/
// ---------------------------------------------------------------------------
// AI provider selection
// ---------------------------------------------------------------------------
/**
* Which AI provider to use for analysis.
* 'vercel' -> Vercel AI Gateway (https://ai-gateway.vercel.sh)
* 'openrouter'-> OpenRouter (https://openrouter.ai)
*/
define('AI_PROVIDER', 'vercel');
// ---------------------------------------------------------------------------
// Vercel AI Gateway
// ---------------------------------------------------------------------------
/** Vercel AI Gateway API key. Create one at https://vercel.com/ai-gateway */
define('VERCEL_AI_GATEWAY_API_KEY', 'your-vercel-ai-gateway-key');
/** Model slug passed to the gateway, e.g. 'openai/gpt-4o-mini'. */
define('VERCEL_AI_MODEL', 'openai/gpt-4o-mini');
// ---------------------------------------------------------------------------
// OpenRouter
// ---------------------------------------------------------------------------
/** OpenRouter API key. Create one at https://openrouter.ai/keys */
define('OPENROUTER_API_KEY', 'your-openrouter-api-key');
/**
* Model slug passed to OpenRouter.
* Models ending in ':free' are free to use, e.g. 'baidu/ernie-5.5-flash-preview:free'
*/
define('OPENROUTER_MODEL', 'baidu/ernie-5.5-flash-preview:free');
// ---------------------------------------------------------------------------
// Google
// ---------------------------------------------------------------------------
/** Google PageSpeed Insights API key. Create one in the Cloud console. */
define('GOOGLE_PAGESPEED_API_KEY', 'your-google-api-key');
// ---------------------------------------------------------------------------
// Database
// ---------------------------------------------------------------------------
//
// The canonical database configuration for the Laravel backend lives in
// `backend/.env` (see `backend/.env.example`). These constants are kept for
// the legacy plain-PHP endpoints under `api/`.
//
// define('DB_HOST', 'localhost');
// define('DB_USER', 'root');
// define('DB_PASS', 'your-database-password');
// define('DB_NAME', 'seo');