PHPackages                             muzidudu/laravel-danmaku - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. muzidudu/laravel-danmaku

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

muzidudu/laravel-danmaku
========================

DPlayer Danmaku For Laravel 5

02PHP

Since Jan 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/muzidudu/laravel-danmaku)[ Packagist](https://packagist.org/packages/muzidudu/laravel-danmaku)[ RSS](/packages/muzidudu-laravel-danmaku/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Danmaku
===============

[](#laravel-danmaku)

[![GitHub license](https://camo.githubusercontent.com/671a6ea7c22a6ac7bcd7ab1433414a2b6a81e98cd3ccdb584b107a94b443a0ef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4d6f65506c617965722f6c61726176656c2d64616e6d616b752e737667)](https://github.com/MoePlayer/laravel-danmaku/blob/master/LICENSE)

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

[](#installation)

You can install the package via composer:

```
composer require muzidudu/laravel-danmaku
```

Copy the package migration to your local migration with the publish command:

```
php artisan vendor:publish --tag danmaku
php artisan migrate

```

Add danmakuv2 to the csrf whitelist

```
// app\Http\Middleware\VerifyCsrfToken.php
protected $except = [
     'danmakuv2'
];
```

Usage
-----

[](#usage)

```
const dp = new DPlayer({
    container: document.getElementById('dplayer'),
    screenshot: true,
    video: {
        url: 'demo.mp4',
        pic: 'demo.jpg',
        thumbnails: 'thumbnails.jpg'
    },
    danmaku: {
        id: 'demo',
        api: 'http://domain/danmakuv2',
        user: 'dog'
    }
});
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55.6% 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/5866038?v=4)[kaisenlee](/maintainers/kaisenlee)[@KaisenLee](https://github.com/KaisenLee)

---

Top Contributors

[![kslr](https://avatars.githubusercontent.com/u/5516323?v=4)](https://github.com/kslr "kslr (5 commits)")[![muzidudu](https://avatars.githubusercontent.com/u/9375220?v=4)](https://github.com/muzidudu "muzidudu (4 commits)")

### Embed Badge

![Health badge](/badges/muzidudu-laravel-danmaku/health.svg)

```
[![Health](https://phpackages.com/badges/muzidudu-laravel-danmaku/health.svg)](https://phpackages.com/packages/muzidudu-laravel-danmaku)
```

###  Alternatives

[jaybizzle/hasmeta

Access model meta data as if it was a property on your model

291.9k](/packages/jaybizzle-hasmeta)[adesin-fr/inertiajs-tables-laravel-query-builder

Inertia.js Front-end Components for Spatie's Laravel Query Builder

261.7k](/packages/adesin-fr-inertiajs-tables-laravel-query-builder)

PHPackages © 2026

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