Skip to content

Middleware in phalcon v4 #16082

Answered by niden
zain-akram-1 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

niden
Sep 2, 2022
Maintainer Sponsor

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants