-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Not really working in Laravel #66
Comments
Also work with controller method in the routes. But you need to remember that now the app is persistent. It boots your application once and keeps it in memory while serving requests. Like with Octane, Swoole, ... The advise is the same than for Octane or Laravel-s (swoole).
Also a lot of libs are not ready to be used in persistent apps, but with Octane more libs are adapting their code to work. With Symfony and other frameworks, almost all apps work or need minimal changes. With Laravel, fail more apps, but they are adapting the code to persistent apps (octane, swoole,...). Octane actually clean a lot of static properties and services in the terminate step. We can do the same, but now we don't have enough free time. And still we can't fix any app using bad techniques for persistent apps. |
That work correctly. Please check again the Laravel recipe: |
Has someone actually tried using this in a Laravel project?
It only seems to only work when writing a closure function in the route definition. When trying to use a controller method it doesn't properly forward the POST request parameters.
The text was updated successfully, but these errors were encountered: