PHPackages                             webrium/vtt-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. webrium/vtt-parser

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

webrium/vtt-parser
==================

Parser of vtt subtitles by php

014PHP

Since May 26Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

vtt-parser
==========

[](#vtt-parser)

Features
--------

[](#features)

- Load and parse VTT files
- Extract timestamp information
- Validate subtitle structure
- Handle malformed files with error tracking
- Lightweight and dependency-free

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

[](#installation)

### Composer

[](#composer)

```
composer require webrium/vtt-parser
```

Usage
-----

[](#usage)

### Basic Parsing

[](#basic-parsing)

```
