PHPackages                             moeplayer/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. moeplayer/laravel-danmaku

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

moeplayer/laravel-danmaku
=========================

DPlayer Danmaku For Laravel 5

v1.0(7y ago)3013210[1 issues](https://github.com/MoePlayer/laravel-danmaku/issues)MITPHPPHP ^7.0

Since Jul 5Pushed 7y ago2 watchersCompare

[ Source](https://github.com/MoePlayer/laravel-danmaku)[ Packagist](https://packagist.org/packages/moeplayer/laravel-danmaku)[ Docs](https://github.com/MoePlayer/laravel-danmaku)[ RSS](/packages/moeplayer-laravel-danmaku/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (2)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 moeplayer/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

30

—

LowBetter than 64% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2868d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/278d951114ade2251afd77f0482df2875aaccdf0c99706fab7f15a97845ffc43?d=identicon)[kslr](/maintainers/kslr)

---

Top Contributors

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

---

Tags

danmakudplayerdplayerdanmakularavel-danmaku

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[illuminatech/balance

Provides support for Balance accounting system based on debit and credit principle

16137.4k](/packages/illuminatech-balance)[glhd/special

1929.4k](/packages/glhd-special)

PHPackages © 2026

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