API: file_get_contents gitlab.com private repo file with PHP doesn't work anymore ?

Hi,

So from PHP, I used to get files from gitlab.com private repo with a simple HTTP request like this

https://gitlab.com/<USER>/<REPONAME>/raw/master/<FILE>?private_token=<API_KEY>

But since this week it doesn't seem to work anymore.

What have changed ? How to get files with PHP from gitlab.com repo private repository ?

I checked the doc but it only speak about cURL request, and not from gitlab.com.

Thanks for your help !