Closed Per0x closed 5 years ago
No, you have several alternatives:
file_get_contents
(it's easy, publishing part of the protocol is small, it's basically a POST request)don't forget to add yours there https://github.com/dunglas/mercure#other-examples :D
I forgot about this basic example: https://github.com/dunglas/mercure/blob/master/examples/publisher-php.php
If you work with PHP you can use the Mercure Component even if you are not using Symfony. https://symfony.com/doc/current/components/mercure.html (this component This component works as a stand alone library.
@Per0x What do you think about these docs?