PHPackages                             astrotomic/laravel-medialibrary-hls - 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. [Image &amp; Media](/categories/media)
4. /
5. astrotomic/laravel-medialibrary-hls

ActiveLibrary[Image &amp; Media](/categories/media)

astrotomic/laravel-medialibrary-hls
===================================

0.0.1(4y ago)10174MITPHPPHP ^7.4 || ^8.0

Since Jun 11Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Astrotomic/laravel-medialibrary-hls)[ Packagist](https://packagist.org/packages/astrotomic/laravel-medialibrary-hls)[ Fund](https://forest.astrotomic.info)[ GitHub Sponsors](https://github.com/Gummibeer)[ RSS](/packages/astrotomic-laravel-medialibrary-hls/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

Laravel Medialibrary HLS Converter
==================================

[](#laravel-medialibrary-hls-converter)

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

[](#installation)

```
composer require astrotomic/laravel-medialibrary-hls

```

Usage
-----

[](#usage)

You can listen for `\Astrotomic\MediaLibrary\Hls\Events\HlsHasBeenGenerated` event to do anything after the HLS files have been generated and stored.

The files will be stored in a structure like the following:

```
conversions/hls/
├── 1080p
│   ├── 0000.ts
│   ├── 0001.ts
│   └── playlist.m3u8
├── 360p
│   ├── 0000.ts
│   ├── 0001.ts
│   └── playlist.m3u8
├── 720p
│   ├── 0000.ts
│   ├── 0001.ts
│   └── playlist.m3u8
└── playlist.m3u8

```

To play the video you should pass the `playlist.m3u8` URL to your video player. The lowest one contains a reference to all explicit playlists so the user can pick the favorite resolution. In case you want to predefine this you can also pass an explicit playlist file to your frontend.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

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

1797d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelconversionvideomedialaravel-medialibraryhls

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/astrotomic-laravel-medialibrary-hls/health.svg)

```
[![Health](https://phpackages.com/badges/astrotomic-laravel-medialibrary-hls/health.svg)](https://phpackages.com/packages/astrotomic-laravel-medialibrary-hls)
```

###  Alternatives

[synchro/laravel-medialibrary-audio

Audio file thumbnail generator for Spatie's Laravel Media Library

292.4k](/packages/synchro-laravel-medialibrary-audio)[okipa/laravel-medialibrary-ext

Extra features for spatie/laravel-medialibrary package.

1011.2k](/packages/okipa-laravel-medialibrary-ext)

PHPackages © 2026

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