PHP script to embed in website

Why there is no PHP script to embed search results in my site?

I asked the YaCy ChatGPT

If I have an existing site that I would like to integrate YaCy search results.
How would I for example install a prompt on an external PHP site that would get and display results?

It gave a quite detailed reply.

There used to be some API for PHP.
See: Dev:YaCyAPIforPHP ā€“ YaCyWiki

Iā€™m not sure, whether it works with newer PHP versions. If you adapt it, it would be nice if you publish it on github or elsewhere.

Docs not providing PHP class. But I found it eventually. And with a little ChatGPT magic, I have now nice search engine website, separated from Yacy server.

1 Like

Great it works!

Do you think there is something to change in the documentation regarding php?