How to integrate sitespeed with PHP?

I want to integrate sitespeed.io in my PHP project. How to display a chart using a docker file? How to display it in a particular section on-page?

Source: StackOverflow