PHPackages                             daryl/php-aplayer - 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. daryl/php-aplayer

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

daryl/php-aplayer
=================

A php package of Aplayer.

1.2.0(9y ago)20637MITPHPPHP &gt;=5.6.0

Since May 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Daryl-L/php-aplayer)[ Packagist](https://packagist.org/packages/daryl/php-aplayer)[ RSS](/packages/daryl-php-aplayer/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

php-aplayer
===========

[](#php-aplayer)

[![Latest Stable Version](https://camo.githubusercontent.com/5a4dcf207d16b0a82eab21536ade8cd0959de539e442526ef7148b9a4fafa687/68747470733a2f2f706f7365722e707567782e6f72672f646172796c2f7068702d61706c617965722f762f737461626c65)](https://packagist.org/packages/daryl/php-aplayer)[![Total Downloads](https://camo.githubusercontent.com/8580b34f4cee36b144c4d709ff134c9ba8a443cec41cdc0535fb77972d55e795/68747470733a2f2f706f7365722e707567782e6f72672f646172796c2f7068702d61706c617965722f646f776e6c6f616473)](https://packagist.org/packages/daryl/php-aplayer)[![Latest Unstable Version](https://camo.githubusercontent.com/ed1ebd4b667c3f66c8b9741f4bd6e03d8cdd8206af644b26d87fd5468609b26d/68747470733a2f2f706f7365722e707567782e6f72672f646172796c2f7068702d61706c617965722f762f756e737461626c65)](https://packagist.org/packages/daryl/php-aplayer)[![License](https://camo.githubusercontent.com/2d817a74b445d41df899789cfec93dbda5bdddf32127ba622e117d1786e08d1b/68747470733a2f2f706f7365722e707567782e6f72672f646172796c2f7068702d61706c617965722f6c6963656e7365)](https://packagist.org/packages/daryl/php-aplayer)

A php package for Aplayer.

And thank @metowolf with his [Meting](https://github.com/metowolf/Meting)

**Only netease music provided now, others is comming soon**

How to use
----------

[](#how-to-use)

```
composer require daryl/php-aplayer
```

```
$aplayer = new Aplayer\Aplayer();
$aplayer->out();
```

Methods
-------

[](#methods)

```
Aplayer::setSong($songId); //Id of the netease music, default 22817183, one of my favirote music.
Aplayer::setPlaylist($playlistId); //Id of the netease music, default 476998713, one of my favirote playlist.
Aplayer::setSongType('song' or 'playlist') //To choose song or playlist.
Aplayer::setElementId($elementId) //To set the id of the aplayer element, default player1.
```

Others are the setters of the option which in Aplayer.

TODO
----

[](#todo)

- netease music
- playlist for netease music
- multi elements in one page

Just enjoy it!

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~2 days

Total

8

Last Release

3328d ago

Major Versions

0.9 → 1.02017-05-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2386271?v=4)[Daryl Ginn](/maintainers/daryl)[@daryl](https://github.com/daryl)

---

Top Contributors

[![Daryl-L](https://avatars.githubusercontent.com/u/5457564?v=4)](https://github.com/Daryl-L "Daryl-L (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/daryl-php-aplayer/health.svg)

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

###  Alternatives

[selvinortiz/flux

Fluent regular expressions in PHP.

3372.1k3](/packages/selvinortiz-flux)

PHPackages © 2026

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