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.
Architecture fit
timedtext/InnerTube endpoints rather than using an API key, which means the package is a thin, volatile adapter over an undocumented interface — the real architectural risk is the dependency it represents, not the code volume.Integration feasibility
composer require mrmysql/youtube-transcript, wrap in a TranscriptFetcher interface with our own DTO, bind in the container. A spike should take under a day.Http::fake) or bare file_get_contents/cURL (effectively untestable), whether it exposes language and auto-generated-caption selection, and whether it returns timestamped segments or a flat string.Technical risk
Key questions
Stack fit
TranscriptService, not as a framework component.App\Support\Transcript\YoutubeTranscriptAdapter implements TranscriptFetcher. Everything else (models, jobs, events) talks to the interface.Migration path
Compatibility
composer.json constraints against our PHP floor and against other packages that pin Guzzle/cURL versions.Http client and we should consider forking the transport layer — otherwise queued retries and fakes are impossible.Sequencing
Maintenance
Support
Scaling
Failure modes
Unavailable, Blocked, ParseError) so the job can retry, defer, or fall back to an alternate provider without human intervention.Ramp-up
How can I help you explore Laravel packages today?