Documentation
PHP / Laravel Website Integration
Connect PHP / Laravel to SoundSync customer access without replacing your existing website.
Keep the PHP client outside the document root
Use PHP 8.2+ with cURL and JSON. Serve public/ only; keep SoundSync.php, environment settings and sessions private. Merge public/router.php into your router. Laravel uses app/Services and routes/web.php, a private session driver and its normal CSRF token. Add mode, provider and externalEnvironment to services.soundsync; an expired 419 CSRF response is not a reason to disable protection.
Save callbacks that your application actually serves
The verification, reset, login, success and cancel callbacks are /api/soundsync/verify, /reset-password, /account, /checkout/complete and /checkout/cancel. Serve the actual routes and keep private account/API responses out of caches.
Choose the payment model before installing
The general framework download is configured for Full Store with SoundSync payments and tax. To keep an external provider, choose its separate Keep external checkout download and guide, or deliberately implement external mode with a matching connection. A framework choice never authorizes a different payment flow.
SoundSync
