jaxl / JAXL

Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

on_chat_message not triggered when a there is a new message #98

Open portcoweb opened 6 years ago

portcoweb commented 6 years ago

I'm using PHP 7, Openfire, Spark and echo_bot.php example, everything is working fine except for the message handler, I don't know why but seems like it doesn't fired up when there is a new message from Spark

maxfagotto commented 6 years ago

Same for me, even if in debug mode I read incoming messages...

maxfagotto commented 6 years ago

I don't figure out why but the issue happens when I run echo_bot.php invoked via the CLI version of PHP7. If I run it in PHP5 or I run it in a browser (with both php versions) it works.

pstadt commented 4 years ago

Was anyone able to run jaxl with php7-cli? Same effect here, on_chat_message is not triggered.

The project looks abandoned, or is anyone active here?

abhinavsingh commented 4 years ago

@pstadt Thanks for stopping by. I am the original author of this library. Unfortunately, I no longer maintain this library (since ~2014). Library was handled over to community maintainers. I recommend you to try alternative libraries available for PHP. JAXL library was developed when PHP 5.0 was a thing, I recently read PHP 8.0 is going to coming out. So, not surprising if something has started to fail here.