PHP|Phalcon -> How to find active version of Phalcon on your server
Published in
Oct 12, 2023
TL;DR;
In Terminal/Command Line:
php -r "echo (new \Phalcon\Support\Version())->get();"
This will output a string to show you your current version.
As of this post, Phalcon’s official documentation for 5.0+ is incorrect and is showing the 4.0 way of doing it. This way above works.
Happy Coding.