Middleware in phalcon v4 #16082
Answered
by
niden
zain-akram-1
asked this question in
Q&A
Middleware in phalcon v4
#16082
-
How we can create a middleware in Phalcon v4? |
Beta Was this translation helpful? Give feedback.
Answered by
niden
Sep 2, 2022
Replies: 1 comment
-
This is the only middleware type that Phalcon supports for the moment https://docs.phalcon.io/4.0/en/application-micro#middleware Using the micro application you can easily add what you need and it will be processed as you need it. There is also a sample for this repository: https://github.com/phalcon/rest-api In the future the HTTP layer will be rewritten to fully support middleware. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zain-akram-1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the only middleware type that Phalcon supports for the moment
https://docs.phalcon.io/4.0/en/application-micro#middleware
Using the micro application you can easily add what you need and it will be processed as you need it. There is also a sample for this repository:
https://github.com/phalcon/rest-api
In the future the HTTP layer will be rewritten to fully support middleware.