Like the title says, I created a project called php-restic-server, which implements the API of restic-server on PHP. So you can use that as your backend.
Why? For cases when the only thing available in your server is PHP, and you are not allowed to run other executables. (which, sadly, is not that uncommon in some companies).
Obviously you should use the official server if possible.