PHPackages                             anhnguyenbk/php-livestream - 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. anhnguyenbk/php-livestream

ActiveLibrary

anhnguyenbk/php-livestream
==========================

PHP Livestream

071PHP

Since Jun 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/anhnguyenbk/php-livestream)[ Packagist](https://packagist.org/packages/anhnguyenbk/php-livestream)[ RSS](/packages/anhnguyenbk-php-livestream/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Live Event
==================

[](#laravel-live-event)

Laravel package for managing livestream events with the associated streaming platform. Currently the package only supports [Zoom](https://zoom.us/) platform.

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

[](#installation)

### 1. Via Private Packagist

[](#1-via-private-packagist)

### 2. Via github

[](#2-via-github)

Structure
---------

[](#structure)

### Database migrations

[](#database-migrations)

```
database\migrations\create_live_event_table
database\migrations\create_register_event_table

```

### Model

[](#model)

```
Model\LiveEvent
Model\RegisterEvent

```

Usages
------

[](#usages)

### With Zoom platform (currently supports)

[](#with-zoom-platform-currently-supports)

1. Create your Zoom JWT application `https://marketplace.zoom.us/docs/guides/build/jwt-app`. Store your apiKey and apiSecret, the package will use that later for authentication.
2. Run `php artisan migrate` to generate package's tables (`live_events` and `register_event` table).
3. Create an livestream event example in `routes\web.php`

    ```
    use anhnguyenbk\PHPLivestream\LivestreamServiceFactory;

    ```

    ```
    Route::get('/createLiveStream', function () {
        $livestreamServiceFactory = new LivestreamServiceFactory();
        $apiKey = 'your-api-key';
        $apiSecret = 'your-api-sercret';

        $zoomService = $livestreamServiceFactory->createZoomService ($apiKey, $apiSecret);
        $livestream = new \stdClass();
        $livestream->topic = "Example livestream topic";
        $livestream->startTime = "2021-05-31T20:30:00";
        $livestream->duration = "60";
        $livestream->password = "111111";

        $userId= 1;
        $classId = 5;
        $response = $zoomService->createLivestream($userId, $classId, $livestream);
        return $response->toJson();
    });

    ```

    If the process is successful, a new record with be added to the `live_events` table.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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/112672?v=4)[anhnguyen](/maintainers/anhnguyen)[@anhnguyen](https://github.com/anhnguyen)

---

Top Contributors

[![anhnguyenbk](https://avatars.githubusercontent.com/u/11974238?v=4)](https://github.com/anhnguyenbk "anhnguyenbk (10 commits)")

### Embed Badge

![Health badge](/badges/anhnguyenbk-php-livestream/health.svg)

```
[![Health](https://phpackages.com/badges/anhnguyenbk-php-livestream/health.svg)](https://phpackages.com/packages/anhnguyenbk-php-livestream)
```

PHPackages © 2026

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