How to get screenshot of website using php?

Good day, Dear GURU!
Tell me how a screen of the first screen to do so programmatically when you enter url? Here on our site gml.link .
8848bec3461f4cba831fdf9296340c8a.png
Thanks in advance!
June 26th 19 at 13:57
4 answers
June 26th 19 at 13:59
Solution
As you said put a console browser on a vps or a LAN.
I would choose the phantomjs here is an example phantomjs.org/screen-capture.html

On page do it via an Exec with a check that you pass to exec
June 26th 19 at 14:01
Solution
mini.s-shot.ru/1024x768/PNG/320/Z100/?torrent-free...
$url = 'site.ru';
copy('http://mini.s-shot.ru/1024x768/PNG/320/Z100/?' . $url, 'image.jpg');
June 26th 19 at 14:03
www.s-shot.ru

You guys have a API and and the prices are Oh sooooo modest.
June 26th 19 at 14:05
Standard means do not. Curl in PHP only implementation of HTTP.
And need a headless browser (library available), and HTML and CSS and JS rasarit/trendedit/do. Are there, looking. I know Phantom, Awesomium, still know worse - CEF, Gecko, WebKit in Windows - donkey, but neither PHP, nor those not tied only to C#, C++.

Hosting also most likely will not work. Only on the VPS or Your personal localhost.

Although, you can still ready the service API to look for.

Find more questions by tags PHPjQuery