A
A
Alexey Verkhovtsev2017-09-28 20:30:48
PHP
Alexey Verkhovtsev, 2017-09-28 20:30:48

How to connect puppeteer with PHP?

Hello. Advised https://github.com/GoogleChrome/puppeteer to create screenshots on the server side, but here's the problem for node, how to cross it with PHP? For me, this topic is so unfamiliar that I'm even a little scared. I never ran php, apache myself, I always used either hosting or an OpenServer build, but about 2 years ago I downloaded a node to see what kind of beast it was (although it was in the console, everything seems to be like that), so here's how to connect it all on a local OpenServer https://github.com/GoogleChrome/puppeteer and after live?
Thanks in advance
PS Perhaps there are other tools for screenshots? I already broke my head

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Gerasimov, 2017-09-28
@Omashu

Raise a separate node on any free port, write a small API, make api requests from php and get answers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question