PHPackages                             zyan/douyin-music - 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. zyan/douyin-music

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

zyan/douyin-music
=================

php抖音音乐解析

1.0.0(3y ago)08.0kMITPHPPHP &gt;=7.2|^8.0

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/aa24615/douyin-music)[ Packagist](https://packagist.org/packages/zyan/douyin-music)[ RSS](/packages/zyan-douyin-music/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

zyan/douyin-music
=================

[](#zyandouyin-music)

已实现获取视频中的

- 音乐连接
- 音乐名称
- 音乐图片
- 音乐缩略图
- 音乐作者

要求
--

[](#要求)

1. php &gt;= 7.3
2. Composer

安装
--

[](#安装)

```
composer require zyan/douyin-music -vvv
```

用法
--

[](#用法)

```
use Zyan\DouyinMusic\DouyinMusic;

//抖音
$music = DouyinMusic::get('https://v.Douyin.com/eeYy4Yo/');
```

获取所有信息

```
$music->getData();

/*
Array
(
    [music] => https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/7020997451465214728.mp3
    [img] => https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_a919f61807c59ed80652227436267782.jpeg?from=116350172
    [thumb] => https://p26.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_a919f61807c59ed80652227436267782~c5_168x168.jpeg?from=116350172
    [title] => @Scenery 阿健创作的原声一Scenery 阿健（原声中的歌曲：Birds Chatting Calmly-Silent Knights）
    [author] => Scenery 阿健
)
*/
```

单个获取

```
//获取title
$music->getTitle();

//获取img
$music->getImg();

//获取music
$music->getMusic();

//获取作者
$music->getAuthor();

//获取音乐缩略图
$music->getThumb();
```

参与贡献
----

[](#参与贡献)

1. fork 当前库到你的名下
2. 在你的本地修改完成审阅过后提交到你的仓库
3. 提交 PR 并描述你的修改，等待合并

License
-------

[](#license)

[MIT license](https://opensource.org/licenses/MIT)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

1310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbcdf7ec634eb735375fa4f6046f91646934f9eb07456f4b4dcbdec545c6435b?d=identicon)[aa24615](/maintainers/aa24615)

---

Top Contributors

[![aa24615](https://avatars.githubusercontent.com/u/33275679?v=4)](https://github.com/aa24615 "aa24615 (1 commits)")

---

Tags

抖音BGM

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/zyan-douyin-music/health.svg)

```
[![Health](https://phpackages.com/badges/zyan-douyin-music/health.svg)](https://phpackages.com/packages/zyan-douyin-music)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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