PHPackages                             podlove/webvtt-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. podlove/webvtt-parser

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

podlove/webvtt-parser
=====================

PHP library to parse webvtt

v1.1.6(3y ago)16407.9k↑15.6%7[3 issues](https://github.com/podlove/webvtt-parser/issues)MITPHPPHP &gt;=5.3.0CI failing

Since Mar 3Pushed 2y ago4 watchersCompare

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

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

Podlove WebVTT Parser
=====================

[](#podlove-webvtt-parser)

PHP library to parse WebVTT files.

It follows the [W3C spec](https://w3c.github.io/webvtt/), but it's not complete. For example, it does not have special treatment for CSS styles.

Usage
-----

[](#usage)

```
use Podlove\Webvtt\Parser;
use Podlove\Webvtt\ParserException;

$parser = new Podlove\Webvtt\Parser();
$content = "WEBVTT\n\n00:00:00.000 --> 01:22:33.440\nHello world\n\n01:22:33.440 --> 01:22:34.440\nHi again\n";
$result = $parser->parse($content);
// [
//   "cues" => [
//     [
//       "voice" => "",
//       "start" => 0,
//       "end" => 4953.44,
//       "text" => "Hello world",
//       "identifier" => "",
//     ],
//     [
//       "voice" => "Eric",
//       "start" => 4953.44,
//       "end" => 4954.44,
//       "text" => "Hi again",
//       "identifier" => "",
//     ],
//   ],
// ]
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~229 days

Recently: every ~393 days

Total

8

Last Release

1393d ago

### Community

Maintainers

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

---

Top Contributors

[![eteubert](https://avatars.githubusercontent.com/u/235918?v=4)](https://github.com/eteubert "eteubert (26 commits)")[![pajowu](https://avatars.githubusercontent.com/u/6545097?v=4)](https://github.com/pajowu "pajowu (2 commits)")

---

Tags

parserwebvttpodlove

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/podlove-webvtt-parser/health.svg)

```
[![Health](https://phpackages.com/badges/podlove-webvtt-parser/health.svg)](https://phpackages.com/packages/podlove-webvtt-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.8M118](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

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

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

3.0k404.0M702](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

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

Parser for CSS Files written in PHP

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

PHPackages © 2026

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