PHPackages                             bergo/whisper2webvtt-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. bergo/whisper2webvtt-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

bergo/whisper2webvtt-parser
===========================

PHP library to convert whisper json to webvtt

v1.0.3(1y ago)010MITPHPPHP &gt;=7.2.0

Since May 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bergo/whisper2webvtt-parser)[ Packagist](https://packagist.org/packages/bergo/whisper2webvtt-parser)[ Docs](https://github.com/podlove/webvtt-parser)[ RSS](/packages/bergo-whisper2webvtt-parser/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

whisper2webvtt-parser
=====================

[](#whisper2webvtt-parser)

PHP library to convert whisper json output to WebVTT format.

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

[](#installation)

```
composer require bergo/whisper2webvtt-parser

```

Usage
-----

[](#usage)

```
use Bergo\Whisper2Webvtt\Parser;

$parser = new Bergo\Whisper2Webvtt\Parser();

$json = '{"segments": [
  {
    "id": 0,
    "start": 0,
     "end": 5000000000,
    "text": "Dies ist eine kleine Testaufnahme für den WebVTT-Paser.",
    "tokens": [
      50364,
      10796,
      1418,
      3018,
      22278,
      9279,
      9507,
      32796,
      2959,
      1441,
      9573,
      53,
      28178,
      12,
      47,
      17756,
      13,
      50614
    ]
  },
  {
    ...
  }
]';
$result = $parser->convert($json);

```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

4

Last Release

711d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

parserwhisperwebvttmogic

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bergo-whisper2webvtt-parser/health.svg)

```
[![Health](https://phpackages.com/badges/bergo-whisper2webvtt-parser/health.svg)](https://phpackages.com/packages/bergo-whisper2webvtt-parser)
```

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k902.6M1.8k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M117](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k151.8M724](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M698](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)

PHPackages © 2026

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