I'm building a web application using lumen, and I have a client (I don't control it) that will connect to my web application (https) and start sending data and receiving data from my application based on the data that sent, is it possible to do this with lumen/PHP? any suggestion on the architecture?
HTTP is bidirectional. A regular form post to your web application is bidirectional: the web browser sends a request with form data, you (the web server) sends a response back.
Maybe I am missing something but I don't see any challenge here.
Client sends a request
You (web application) receives the request
You (web application) processes the request (whatever it should do)