Guzzle 6 progress of download
I want to download a large file with Guzzle and want to track the progress. I don't know if I have to pass a stream or use the RequestMediator somehow. I tried with subscribing to the event curl.callback.progress, but the PSR 7 Request doesn't have an event dispatcher. I tried the on_stats , but the callback is only fired at the end. The progress subscriber plugin is deprecated https://github.com/guzzle/progress-subscriber I'm testing the following code. $dl = 'http://archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/current/images/netboot/mini.iso'; $client = new Client([]); $request