how to download youtube video using php?
['Load and initialize Downloader class (YouTubeDownloader).', 'Get the downloader object using getDownloader() function.', 'Set the YouTube URL using setUrl() function.', 'Validate the YouTube video URL using hasVideo() function.', 'Get the video download link and video info using getVideoDownloadLink() function.']