title: Upload video to Youtube from PHP script in CLI
body: <p>I want to develop for myself a way to upload my video from a PHP command.
  The PHP script is located on my laptop and for this reason i don't have an external HTTP address.
  I start with the PHP code provide by Youtube (<a href="https://developers.google.com/youtube/v3/code_samples/php#upload_a_video" rel="nofollow noreferrer">https://developers.google.com/youtube/v3/code_samples/php#upload_a_video</a>), but as i use CLI i can't have the token. 
  I try to found some ways but i just found old ways (old API). </p>
  
  <p>Is this possible to do ? Any suggestions ?</p>
  
  <p>Thanks</p>