mrmysql/youtube-transcript
Fetch YouTube video transcripts in Laravel with a simple, fluent API. Pull captions and subtitle text by video ID or URL, ready for search, summarization, and AI pipelines.
TranscriptProvider interface (fetch, list languages, metadata, error taxonomy) so the package is swappable for yt-dlp, a paid transcript API, or an official-API path later. This makes adoption reversible and keeps the dependency out of domain code.Adopt when:
Look elsewhere when:
To executives: This is a cheap, reversible way to test whether transcript-driven features move a metric — activation, content-ops throughput, or research coverage — before we staff a media pipeline. It costs an integration, not a platform. The caveat is that it's a small open-source utility with a single-maintainer risk profile and no official YouTube backing, so we'll wrap it behind our own interface, cap exposure to internal/low-volume use, and keep a funded fallback (managed API or yt-dlp/Whisper) if the bet pays off. Expected decision point: validate demand in one cycle, then either promote to a hardened pipeline or retire the dependency.
To engineering: Treat it as a replaceable adapter, not a dependency to build on. Pin the version, wrap it in a TranscriptProvider interface with our own error taxonomy and retry/cache semantics, and assume upstream breakage. Timebox a spike to confirm caption-language handling, auto-generated tracks, and long-video behavior; document the fork plan and the exit path to a paid API or self-hosted extraction.
How can I help you explore Laravel packages today?