PHPackages                             fralik/package - 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. fralik/package

ActiveLibrary

fralik/package
==============

Load and parse VTT files.

v0.2.0(3y ago)06PHPPHP &gt;=8.0

Since Jan 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Timur11timur/package)[ Packagist](https://packagist.org/packages/fralik/package)[ RSS](/packages/fralik-package/feed)WikiDiscussions main Synced 1mo ago

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

VTT Package for Transcriptions
==============================

[](#vtt-package-for-transcriptions)

This small PHP package assists in the loading and parsing of VTT files.

Usage
-----

[](#usage)

```
use Fralik\Package\Transcription;

$transcription = Transcription::load('path/to/file.vtt');

foreach ($transcription->lines() as $line) {
    // $line->body
    // $line->toHtml()

    // $line->timestamp->begin()
    // $line->timestamp->beginSeconds()
    // $line->timestamp->end()
    // $line->timestamp->endSeconds()

    // json_encode($line);
}

// Group lines into full sentences.
// $transcription->lines()->groupBySentence();
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](https://opensource.org/licenses/MIT) license.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Every ~0 days

Total

2

Last Release

1222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37504af58d31b835348bfb48581b89a86fd2f481d91f1bd25cef3b0a38731f32?d=identicon)[TimurFralik](/maintainers/TimurFralik)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fralik-package/health.svg)

```
[![Health](https://phpackages.com/badges/fralik-package/health.svg)](https://phpackages.com/packages/fralik-package)
```

PHPackages © 2026

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