Download the PHP package pkc/video-call without Composer
On this page you can find all versions of the php package pkc/video-call. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pkc/video-call
More information about pkc/video-call
Files in pkc/video-call
Package video-call
Short Description Laravel video calling package using WebRTC and Laravel Reverb for real-time communication
License MIT
Homepage https://github.com/yourusername/laravel-video-call
Informations about the package video-call
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
- 🎥 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
- PHP 8.1 or higher
- Laravel 11.31
- Laravel Reverb for WebSocket support
- Modern browser with WebRTC support
Installation
-
Install the package via Composer:
-
Publish the package assets:
- Configure Laravel Reverb in your
.env
file:
Basic Usage
-
Include the necessary JavaScript in your layout:
-
Create a video call room:
- Start a video call:
Configuration
You can modify the package configuration in config/video-call.php
:
Events
The package broadcasts the following events:
VideoCallSignal
: Handles WebRTC signaling between peers
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
- Use HTTPS in production
- Configure TURN servers for reliable connectivity
- Implement proper user authorization
- Consider scaling WebSocket connections
- Monitor server resources
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This package is open-sourced software licensed under the MIT license.
Credits
- Author: Roktim Ariyan
- Built with Laravel and WebRTC
- Special thanks to the Laravel community
Support
For support, please create an issue in the GitHub repository or contact the author directly.
All versions of video-call with dependencies
illuminate/support Version ^11.31
illuminate/view Version ^11.31
laravel/reverb Version ^1.0