p3sdev/php-ytdlp-wrapper
A PHP wrapper for yt-dlp that lets you download video and audio from YouTube and hundreds of supported sites, extract metadata, and manage downloads from your Laravel or PHP app with a simple, fluent API.
php artisan vendor:publish).yt-dlp is available on every runtime host: yt-dlp --version. v1.0.4 adds an installation check, so use it as an early guard in local, staging, queue-worker, and production environments.yt-dlp is not on PATH (common with Laravel Forge, Docker, and shared hosting).local, s3, etc.) and return/record the relative path rather than exposing raw filesystem paths.yt-dlp fails fast instead of during a user request.PATH or binary.PATH; web PHP-FPM and CLI often have different environments.yt-dlp changes frequently. Pin or document an update strategy, and check yt-dlp --version in deployment diagnostics to avoid silent breakage from extractor changes.open_basedir, disk space, and max execution time.How can I help you explore Laravel packages today?