PHPackages                             smartvain/youtube-caption-displayer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. smartvain/youtube-caption-displayer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smartvain/youtube-caption-displayer
===================================

This package allows you to get subtitles from youtube.

1.0.0(4y ago)1201MITPHPPHP ^7.3|^8.0

Since Jul 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/smartvain/youtube-caption-displayer)[ Packagist](https://packagist.org/packages/smartvain/youtube-caption-displayer)[ RSS](/packages/smartvain-youtube-caption-displayer/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Install
-------

[](#install)

You can install it by typing the following command in a terminal.

```
$ composer require smartvain/youtube-caption-displayer # or composer require --dev
```

### Install with [Packagist](https://packagist.org/packages/smartvain/youtube-caption-displayer)

[](#install-with-packagist)

Prepared methods
----------------

[](#prepared-methods)

- getLangList()
- getCaptionsWithSeconds()
- getCaptionText()

Usage
-----

[](#usage)

First, add a Use declaration anywhere.

```
use Smartvain\YoutubeCaptionDisplayer\Displayer;
```

All that remains is to call the method with Facade.

Get the language list used for youtube video subtitles with **`getLangList()`**.

Next, since the obtained language list contains **lang-code**, use it to get subtitles by **`getCaptionsWithSeconds()`** or **`getCaptionText()`**.

If it is a youtube video without subtitles, return empty Collection.

It's so easy.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

1497d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3792840d667d4d8d0842df7462768be6c268f6d751b0b781655a330c9eb4744a?d=identicon)[smartvain](/maintainers/smartvain)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/smartvain-youtube-caption-displayer/health.svg)

```
[![Health](https://phpackages.com/badges/smartvain-youtube-caption-displayer/health.svg)](https://phpackages.com/packages/smartvain-youtube-caption-displayer)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.8M228](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

2101.0M12](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

8165.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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