Installation
PHP 8.2+, Laravel 12 or 13, and Composer. For a single checklist with troubleshooting, use the Integration guide.1. Install Sanvex
php artisan migrate creates the sv_* tables (Sanvex migrations ship with sanvex/core and load automatically). You do not need a separate Sanvex migrate command.
Confirm:
2. Add drivers
php artisan sanvex:list again — the new driver should appear.
3. Configuration
Environment variables
Set driver variables in.env (see each driver’s Configuration page). Example for Gmail OAuth:
APP_URL must match your running app and the provider’s redirect URI in their console.
Publish config (optional)
config/sanvex.php in your app (custom drivers array, overrides). .env alone is enough for most installs.
Encryption key (optional)
.env as SANVEX_KEK=.... If omitted, Sanvex uses APP_KEY.
Per-driver details: Drivers. Core settings: Configuration.
4. Store credentials
API key drivers (GitHub, Notion internal, etc.):.env, then visit the built-in login URL (routes register when client ID is set):
See Gmail configuration and Notion configuration.
