PHP SDK generates optimized JavaScript automatically. Code in PHP, stream everywhere. More languages coming soon.
Integrate streaming into your app
Ready-to-use streaming platform
From setup to go-live in 3 simple steps. No complex infrastructure needed.
Include our PHP SDK, configure your credentials, and it generates the JavaScript automatically.
WLSDK::setup([
'backendUrl' => '_HOSTED_BACKEND_ENDPOINT_',
'user_id' => '_AUTH_USER_ID_',
'password' => '_AUTH_PASSWORD_'
]);
PHP methods generate secure JavaScript and iframe with built-in chat, analytics, and payments.
WLSDK::iframe([
'hostLabel' => 'live',
'streamer' => '_STREAMER_USER_ID_',
'attrs' => ['class' => 'player-frame']
]);
Start streaming with automatic viewer analytics, chat moderation, and payment collection.
🎥 Live + 💬 Chat + 💰 Payments
Server-side token generation with origin allowlist and short-lived tokens.
Live viewer metrics, engagement tracking, and revenue reporting dashboard.
Moderated chat, emoji reactions, and custom commands built-in.
Stripe integration for tips, subscriptions, and pay-per-view content.
Developer-first live streaming for your applications
PHP backend that generates JavaScript frontend automatically
✓ Secure iframe-based embedding for maximum compatibility
<?php
require_once __DIR__ . '/vendor/autoload.php';
use WebLiveHub\SDK\WLSDK;
WLSDK::setup([
'backendUrl' => '_HOSTED_BACKEND_ENDPOINT_',
'user_id' => '_AUTH_USER_ID_',
'password' => '_AUTH_PASSWORD_'
]);
?>
<!DOCTYPE html>
<html>
<head>
<?= WLSDK::script(); // Generates JavaScript ?>
</head>
<body>
<?= WLSDK::iframe([
'hostLabel' => 'connect', //live or live-client
'streamer' => '_STREAMER_USER_ID_',
'attrs' => ['class' => 'player-frame']
]); // Generates iframe ?>
</body>
</html>
PHP SDK that automatically generates optimized JavaScript code for secure iframe embedding.
Origin allowlist, short-lived tokens, and secure integrations.
Monitor usage, generate keys, and track performance.
1,000 free calls/month, then just $0.0005 per call.
Build your branded live streaming platform in minutes. No technical background needed, save time, and focus on your core business.
Rigorously tested streaming technology, 99.9% stability, and professional support ensure smooth live streams every time.
From logo to color scheme, create a professional live streaming experience to enhance customer trust and business results.
Real-time audience data and analytics reports help you fine-tune strategies and ensure maximum return on investment.
Clear subscription plans, a 7-day free trial, and no hidden costs provide a worry-free investment environment.
Quickly set up branded live streams with no technical knowledge required.
Engage your audience with live chat and Q&A features.
Supports various uses like live selling, training, and meetings.
Professional-grade data encryption to protect your business.
Whether you're a developer looking to integrate or need a complete platform, we've got you covered.
Embed-first, pay as you go
Complete streaming solution