PHP SDK
bash
composer require vineeid/php-sdkphp
use Vine\VineClient;
$vine = new VineClient($_ENV['VINE_API_KEY']);
$result = $vine->initFlow([
'vid' => '657787756543',
'request_type' => 'login',
'scope' => ['profile.read'],
]);
// Persist $result['flow_secret'] on the server only.Call getFlowStatus($flowId, $flowSecret) from a backend route. The package also supports flow listing, metrics, and notification resend. Catch VineException to handle missing data and API failures.