WordPress plugin. Example. Media upload in meta box
Primary LanguagePHP
Intended as an example you can fork as needed.