We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Get current asked url

Hello,

I have a little question. How can I get the current asked url in a Mirco-Application?



98.8k
Accepted
answer

This way:

$app['router']->getRewriteUri();