PHPackages                             dreamersdesire/laravel-live-streaming - 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. dreamersdesire/laravel-live-streaming

ActiveLibrary[API Development](/categories/api)

dreamersdesire/laravel-live-streaming
=====================================

A Laravel package for live streaming using WebRTC and Socket.io.

6212Blade

Since Nov 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jahid404/Laravel-Live-Streaming)[ Packagist](https://packagist.org/packages/dreamersdesire/laravel-live-streaming)[ RSS](/packages/dreamersdesire-laravel-live-streaming/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Broadcast Streaming (One to Many)
=========================================

[](#laravel-broadcast-streaming-one-to-many)

A robust, one-to-many live streaming application built with Laravel, featuring WebRTC and Socket.io for real-time broadcast streaming to multiple viewers.

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

[](#installation)

#### Install Package

[](#install-package)

```
  composer require dreamersdesire/laravel-live-streaming:dev-main

```

#### Publish vendor

[](#publish-vendor)

```
  php artisan vendor:publish --tag=live-streaming --force

```

#### Add Necessary Routes (`web.php`)

[](#add-necessary-routes-webphp)

```
  Route::get('/stream', [StreamController::class, 'createStream'])->name('stream.create');
  Route::get('/stream/screenshare', [StreamController::class, 'createScreenShareStream'])->name('stream.screenshare.create');
  Route::get('/stream/{stream_id}', [StreamController::class, 'watchStream'])->name('stream.watch');

```

#### Install `npm` dependencies

[](#install-npm-dependencies)

```
  npm install socket.io
  npm install webrtc-adapter
  npm install wrtc

```

Usage
-----

[](#usage)

#### Run Laravel Server

[](#run-laravel-server)

Run your laravel server at port `8000` (default)

```
  php artisan serve

```

#### Run node server

[](#run-node-server)

Run node server (server.js). It will automatically run from `6001` port

```
  node server.js

```

#### Additional Config (Optional)

[](#additional-config-optional)

If you'd like to share your local project over your network, then change socket url from `.env` file. For LAN, replace with your ip and socket port must be `6001`

```
  APP_SOCKET_URL=http://192.168.x.x:6001

```

That's it. now in browser, open laravel application and see what happens.

Features
--------

[](#features)

- **Streaming:**

    - Broadcast live video to multiple viewers with low latency, ensuring a smooth and engaging experience for audiences.
- **Screen Sharing:**

    - Share your screen in real-time during broadcasts, making it ideal for presentations, tutorials, or collaborative work.
- **Stream Record &amp; Download:**

    - Record live streams as they happen and provide download options, allowing streamers &amp; viewers to access sessions on demand.
    - Stream will be automatically record while streamer start broadcast.
- **Video on/off:**

    - Enable or disable video during the stream, allowing flexibility for streamers who may need to switch between video and audio-only modes.
- **Mic on/off:**

    - Toggle the microphone on or off as needed during the stream, providing control over audio input for smoother communication.

Author
------

[](#author)

- [@jahid404](https://www.github.com/jahid404)

License
-------

[](#license)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://raw.githubusercontent.com/jahid404/Laravel-Live-Streaming/refs/heads/main/LICENSE)

🤓 About Me
----------

[](#-about-me)

I'm a web developer with a focus on Laravel. My expertise lies in developing robust web applications, and I've actively contributed to various PHP-Laravel projects in the past. With a passion for problem-solving and a keen interest in crafting elegant solutions, I enjoy the challenges that web development brings.

If you're interested in connecting, discussing web development, or exploring potential collaborations, feel free to reach out. I'm open to new opportunities and always excited about creating innovative projects.

Let's build something amazing together!

Support
-------

[](#support)

If you have any feedback, please reach out to me at

Screenshots
-----------

[](#screenshots)

**Stream page with screen sharing**

[![App Screenshot](https://camo.githubusercontent.com/8b0ae39978c36734a12673d7a3ab125fe8bcaa6b1cd7f72478fa227437c673d1/68747470733a2f2f626c6f676765722e676f6f676c6575736572636f6e74656e742e636f6d2f696d672f622f523239765a32786c2f4156765873456a4e30756570673255736a64545858335461755342636968427a41626e6c74496c4636444f476165444d434579736a7065367177626b74507042457178436b6349666c466c466e6d5f34684a43436b336d646563346542784d76555669476a6e68506965667051324f4a4638685f6b426549326e6a35685150454c594437477a31325f546b46654536696867683572612d47556942674456784e41554f5f41727362504f6c37514c3073545766455a79354e76626f715f3753375f5659)](https://camo.githubusercontent.com/8b0ae39978c36734a12673d7a3ab125fe8bcaa6b1cd7f72478fa227437c673d1/68747470733a2f2f626c6f676765722e676f6f676c6575736572636f6e74656e742e636f6d2f696d672f622f523239765a32786c2f4156765873456a4e30756570673255736a64545858335461755342636968427a41626e6c74496c4636444f476165444d434579736a7065367177626b74507042457178436b6349666c466c466e6d5f34684a43436b336d646563346542784d76555669476a6e68506965667051324f4a4638685f6b426549326e6a35685150454c594437477a31325f546b46654536696867683572612d47556942674456784e41554f5f41727362504f6c37514c3073545766455a79354e76626f715f3753375f5659)

**Viewer page**

[![App Screenshot](https://camo.githubusercontent.com/a43bb59f4331ed10fd5c16b121eebae59b6b01734e366d9a14a45b0f27507b5a/68747470733a2f2f626c6f676765722e676f6f676c6575736572636f6e74656e742e636f6d2f696d672f622f523239765a32786c2f41567658734569355f4f567a6a4e543750704b703235376242716a766376677a47655f53417a49684f367334556f513868427a547657314d6f7a35796f65486e6b68596553365f6b795661454970564862726a46337545614b7a64704c512d726e6b724b38333471456c5950453277796b306a6f5179677469756d307862645a7862344b356e6d796879734547654f614c657176746d4878325a794a323433594e724b584e5a6641786661766e71435479445048376a71774f4741775f4d694d725077)](https://camo.githubusercontent.com/a43bb59f4331ed10fd5c16b121eebae59b6b01734e366d9a14a45b0f27507b5a/68747470733a2f2f626c6f676765722e676f6f676c6575736572636f6e74656e742e636f6d2f696d672f622f523239765a32786c2f41567658734569355f4f567a6a4e543750704b703235376242716a766376677a47655f53417a49684f367334556f513868427a547657314d6f7a35796f65486e6b68596553365f6b795661454970564862726a46337545614b7a64704c512d726e6b724b38333471456c5950453277796b306a6f5179677469756d307862645a7862344b356e6d796879734547654f614c657176746d4878325a794a323433594e724b584e5a6641786661766e71435479445048376a71774f4741775f4d694d725077)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88735185?v=4)[Jahidul Islam Jahid](/maintainers/jahid404)[@jahid404](https://github.com/jahid404)

---

Top Contributors

[![jahid404](https://avatars.githubusercontent.com/u/88735185?v=4)](https://github.com/jahid404 "jahid404 (18 commits)")

---

Tags

laravel-broadcastinglaravel-live-streaminglaravel-streaminglaravel-webrtcsocket-io

### Embed Badge

![Health badge](/badges/dreamersdesire-laravel-live-streaming/health.svg)

```
[![Health](https://phpackages.com/badges/dreamersdesire-laravel-live-streaming/health.svg)](https://phpackages.com/packages/dreamersdesire-laravel-live-streaming)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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