walkor / workerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
http://www.workerman.net
MIT License
11.1k stars 2.26k forks source link

about using Workerman as part of other php frameworks #696

Open raghuveer opened 2 years ago

raghuveer commented 2 years ago

Hi,

I wrote a php framework in procedural way (in MVC approach though) and used that over a decade, recently implemented OOP version by following PSR standards and by using Laminas PSR-7, PSR-15, Laravel Container etc...

While I am following developments with

1) Workerman 2) Swoole (https://www.swoole.co.uk/) 3) https://github.com/symplely/coroutine 4) AMPHP 5) reactPHP

in last few years, I tried coding using reactphp and amphp and felt interested about workerman and symplely coroutine and swoole as well.

While I came across https://github.com/passwalls/mark and your Webman framework few months earlier, that uses Workerman, I am looking at different components that are available in each async library's ecosystem, before trying one in the lines of integrating with my php framework.

I will surely wait for revoltphp's integration in Workerman, and how much support we can expect if we integrate Workerman in our framework?

Any Github based sponsor options available? I would choose to be an individual contributor if possible

please share your thoughts

thank you

raghuveer commented 2 years ago

Can we continue to use PSR-7/PSR-15 libraries of Laminas (synchronous code) after workerman v5 release?

or do you suggest to move away to PSR-7, PSR-15 libraries etc... of Workerman/AMPHP, ReactPHP etc based on library availability?

There are libraries in amphp ecosystem to handle file operations, mysql, redis in async way. I had few wrappers to Amphp's Mysql & Redis libraries that were released as opensource in March 2021.

walkor commented 2 years ago

I will surely wait for revoltphp's integration in Workerman, and how much support we can expect if we integrate Workerman in our framework? Any Github based sponsor options available? I would choose to be an individual contributor if possible

Thank you very much for your support to workerman. If you have any questions about the integration workerman, you can post issue at any time, and I will try my best to help you with everything we know. Thank you for your kindness. At present, GitHub‘s sponsors is not supported in our region.

Can we continue to use PSR-7/PSR-15 libraries of Laminas (synchronous code) after workerman v5 release?

Yes, you can.

raghuveer commented 2 years ago

Thanks for confirming that we can use Laminas PSR-7, PSR-15 etc libraries. Laravel Container (PSR-11) I hope will work too.

Glad to see your quick response for all my queries (info or tech) in my attempts to understand Workerman scope of implementation :)

raghuveer commented 2 years ago

@walkor , you can try https://www.patreon.com/ meanwhile before Github enable sponsor option on Workerman library page check possibilities.

walkor commented 2 years ago

I have added opencollective to sponsor.

raghuveer commented 2 years ago

opencollective is cool too, please showcase the link in prominent place on the workerman page

thank you