CodeIgniter Forums
Can ci4 support swoole? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Can ci4 support swoole? (/showthread.php?tid=71761)



Can ci4 support swoole? - miaojun - 09-19-2018

Laravel  and yii2  and   thinkphp  Both support swoole extensions.

Can ci4 support swoole?

Is there any possibility?


RE: Can ci4 support swoole? - ciadmin - 09-20-2018

That could be something interesting down the road, probably as an addin library/adapter.
Interesting that you would provide a link for Laravel, but not for thinkphp or swoole, both of which are new to me Undecided


RE: Can ci4 support swoole? - miaojun - 09-20-2018

swoole git
https://github.com/swoole/swoole-src

Swoole is an event-driven asynchronous & concurrent networking communication framework with high performance written only in C for PHP.


https://github.com/swooletw/laravel-swoole
https://github.com/LinkedDestiny/swoole-yaf
https://github.com/liufee/yii2-swoole
https://github.com/LinkedDestiny/swoole-thinkphp

so
Think about it?


RE: Can ci4 support swoole? - kilishan - 09-20-2018

That's definitely an interesting idea. I don't know if you noticed, though, but all of those packages you linked to seem to have been developed by someone other than the framework authors.

So there's always room for you to follow a similar route and create a package that interfaces between the two, like those other users have.


RE: Can ci4 support swoole? - bawa_d - 10-21-2018

there is one more asynchronous library purely written in php.

ReactPHP is a low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities, such as: Streams abstraction, async DNS resolver, network client/server, HTTP client/server and interaction with processes. Third-party libraries can use these components to create async network clients/servers and more.

https://reactphp.org/


RE: Can ci4 support swoole? - kenjis - 10-17-2022

See https://forum.codeigniter.com/showthread.php?tid=83970