PHPackages                             pkc/video-call - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pkc/video-call

ActiveLibrary[API Development](/categories/api)

pkc/video-call
==============

Laravel video calling package using WebRTC and Laravel Reverb for real-time communication

v1.0.2(1y ago)091MITJavaScriptPHP ^8.1

Since May 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/laradevsumon/video-call)[ Packagist](https://packagist.org/packages/pkc/video-call)[ Docs](https://github.com/yourusername/laravel-video-call)[ RSS](/packages/pkc-video-call/feed)WikiDiscussions dev Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

Laravel Video Call Package
==========================

[](#laravel-video-call-package)

A robust Laravel package for implementing video calling functionality using WebRTC and Laravel Reverb for signaling. This package provides a simple way to add peer-to-peer video calls to your Laravel application without relying on external services like Pusher.

Features
--------

[](#features)

- 🎥 Real-time video and audio calls using WebRTC
- 🔄 Laravel Reverb for WebSocket signaling
- 🔒 Private channels for secure communication
- 🎛️ Mute audio/video controls
- 📱 Responsive design
- 🚀 No external service dependencies
- 🛠️ Easy to customize and extend

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Laravel 11.31
- Laravel Reverb for WebSocket support
- Modern browser with WebRTC support

Installation
------------

[](#installation)

1. Install the package via Composer:

```
composer require kpr/video-call
```

2. Publish the package assets:

```
php artisan vendor:publish --provider="kpr\VideoCall\VideoCallServiceProvider"
```

3. Configure Laravel Reverb in your `.env` file:

```
BROADCAST_DRIVER=reverb
REVERB_APP_ID=your-app-id
REVERB_APP_KEY=your-app-key
REVERB_APP_SECRET=your-app-secret
REVERB_HOST=127.0.0.1
REVERB_PORT=8080
REVERB_SCHEME=http
```

Basic Usage
-----------

[](#basic-usage)

1. Include the necessary JavaScript in your layout:

```

    window.Echo = new Echo({
        broadcaster: 'reverb',
        key: '{{ config('broadcasting.connections.reverb.key') }}',
        wsHost: window.location.hostname,
        wsPort: 8080,
        forceTLS: false,
        enabledTransports: ['ws', 'wss'],
    });

```

2. Create a video call room:

```
Route::get('/video-call/{room}', function($room) {
    return view('video-call::room', [
        'room' => $room,
        'targetUserId' => request()->query('target_user'),
    ]);
})->middleware(['auth']);
```

3. Start a video call:

```
// In your blade view

    Start Video Call

```

Configuration
-------------

[](#configuration)

You can modify the package configuration in `config/video-call.php`:

```
return [
    'stun_servers' => [
        'stun:stun.l.google.com:19302',
        'stun:stun1.l.google.com:19302',
    ],
    'turn_servers' => [
        // Add your TURN servers here
        // [
        //     'urls' => 'turn:your-turn-server.com:3478',
        //     'username' => 'username',
        //     'credential' => 'credential'
        // ]
    ],
    'video_constraints' => [
        'width' => 640,
        'height' => 480,
        'frameRate' => 30,
    ],
];
```

Events
------

[](#events)

The package broadcasts the following events:

- `VideoCallSignal`: Handles WebRTC signaling between peers

Security
--------

[](#security)

- Uses private channels for signaling
- All routes are protected by authentication middleware
- WebRTC connections are encrypted by default
- TURN servers should be configured in production for NAT traversal

Production Considerations
-------------------------

[](#production-considerations)

1. Use HTTPS in production
2. Configure TURN servers for reliable connectivity
3. Implement proper user authorization
4. Consider scaling WebSocket connections
5. Monitor server resources

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

Credits
-------

[](#credits)

- Author: [Roktim Ariyan](mailto:laradev.sumon@gmail.com)
- Built with Laravel and WebRTC
- Special thanks to the Laravel community

Support
-------

[](#support)

For support, please create an issue in the GitHub repository or contact the author directly.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance46

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

408d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/602640?v=4)[pkc](/maintainers/pkc)[@pkc](https://github.com/pkc)

---

Top Contributors

[![sumonyahoo24](https://avatars.githubusercontent.com/u/24988784?v=4)](https://github.com/sumonyahoo24 "sumonyahoo24 (5 commits)")

---

Tags

laravelreal-timeWebRTCvideo-chatvideo-calllaravel-reverb

### Embed Badge

![Health badge](/badges/pkc-video-call/health.svg)

```
[![Health](https://phpackages.com/badges/pkc-video-call/health.svg)](https://phpackages.com/packages/pkc-video-call)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[binarytorch/larecipe

Generate gorgeous recipes for your Laravel applications using MarkDown

2.5k2.9M17](/packages/binarytorch-larecipe)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[webwizo/laravel-shortcodes

Wordpress like shortcodes for Laravel 11, 12 and 13

217700.9k8](/packages/webwizo-laravel-shortcodes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
