Php Youtube Download Script

I am looking for a php script that I can integrate into my own website that will allow me to download youtube videos. Does anyone have some current php code that does this?

or you could click here: http://www.google.co.uk/search?hl=en&q=php+youtube+downloader&btnG=Search&aq=f&aqi=&aql=&oq=&gs_rfai=