# Using swoole in laminas MVC

**URL:** <https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551>\
**Category:** Components & MVC\
**Tags:** laminas-mvc, mezzio-swoole\
**Created:** [November 30, 2023, 6:51am UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551 "2023-11-30T06:51:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![voltan](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/voltan/32/710_2.png) [@voltan](https://discourse.laminas.dev/u/voltan)\
**Post date:** [November 30, 2023, 6:51am UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551/1 "2023-11-30T06:51:30Z")

</div>

Hello

We have web application based on laminas MVC, know we need use swoole on it, i see mezzio swoole repo, can we use it in our MVC app?

Or can we create simple mezzio app by same vendor and auto louder by MVC app, than use MVC services in mezzio handlers?

---

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [November 30, 2023, 8:31am UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551/2 "2023-11-30T08:31:18Z")

</div>

> [@voltan](#):
>
> We have web application based on laminas MVC, know we need use swoole on it…

Why do you _need_ to use Swoole?

> [@voltan](#):
>
> …i see mezzio swoole repo, can we use it in our MVC app?

No, the prefix of this package and the different organisation where the package is listed on GitHub is an indicator that mezzio-swoole is a component for Mezzio and will not work with laminas-mvc.

> [@voltan](#):
>
> Or can we create simple mezzio app by same vendor and auto louder by MVC app, than use MVC services in mezzio handlers?

If you want to use Swoole you need to migrate your whole application to Mezzio first.

laminas-mvc in general will not work with Swoole, [Roadrunner](https://roadrunner.dev) or something similar. The architecture does not allow this at the moment.

---

<div class="post-metadata">

**Author:** ![voltan](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/voltan/32/710_2.png) [@voltan](https://discourse.laminas.dev/u/voltan)\
**Post date:** [December 4, 2023, 12:26pm UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551/3 "2023-12-04T12:26:22Z")

</div>

Thank you for your information, I will reply with full information, just we are reviewing some other methods, after find the true path I will ask you again

Best

---

<div class="post-metadata">

**Author:** ![voltan](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/voltan/32/710_2.png) [@voltan](https://discourse.laminas.dev/u/voltan)\
**Post date:** [December 4, 2023, 12:28pm UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551/4 "2023-12-04T12:28:56Z")

</div>

Just [https://roadrunner.dev/](https://roadrunner.dev/) its a very good tools,perhaps I can handle my problem whit it
