Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can it be adapted to Laravel octane #5

Closed
JaguarJack opened this issue Dec 14, 2022 · 4 comments
Closed

Can it be adapted to Laravel octane #5

JaguarJack opened this issue Dec 14, 2022 · 4 comments

Comments

@JaguarJack
Copy link

No description provided.

@joanhey
Copy link
Owner

joanhey commented Dec 14, 2022

That's the good thing about Adapterman, you don't need Laravel Octane.
Laravel Octane and Symfony Runtime (phpruntime), try to move the devs to their ecosystem, not to the PHP ecosystem.

Adapterman work without changes with Laravel, Symfony, Slim, Lumen, Kumbiaphp, ....

@joanhey
Copy link
Owner

joanhey commented Dec 14, 2022

Laravel with Workerman without use Octane:
350% faster and 12% latency
image
image
image

Lumen:
600% faster
image
image

@jhdxr
Copy link
Contributor

jhdxr commented Apr 11, 2023

I think it may worth to revisit this issue.

I'm trying to use the laravel-debug-bar in workerman mode, with help of this repo. I found Laravel Octane not only provides the ability to keep the application in memory or provides some convenient methods of underlying packages, which is covered by this project or just optional feature, but also provides a convention for third party to bootstrap their package and clean up between requests

For example, laravel-debug-bar adds some listener for tracking when a requests comes in, which needs to be removed after each requests.

While this is something I can get it done in my own server.php, I still suggest AdapterMan to consider to include this feature, as this is essential between different framework/projects, and this is also some "adapter" job.

@joanhey
Copy link
Owner

joanhey commented Apr 19, 2023

I don't use Laravel
And I will help anybody that want to flush the laravel libs !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants