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(3y ago)1201MITPHPPHP ^7.3|^8.0

Since Jul 12Pushed 3y 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 1mo 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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

1397d 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

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[backpack/basset

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

202832.4k6](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)

PHPackages © 2026

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