flightphp / core

An extensible micro-framework for PHP
https://docs.flightphp.com
MIT License
2.6k stars 407 forks source link

Including version number of Flight in Flight.php root file #592

Closed mrijntjes closed 1 month ago

mrijntjes commented 1 month ago

It would be great if the version number of Flight could be included in the Flight.php file. This makes it easy to check which version you are using.

Thanks by the way for making Flight.php, i'm using Flight many years.

afbeelding

n0nag0n commented 1 month ago

So you just want it in a comment like that? What's your use case for it? I just assume you could just run composer show flightphp/core and get your version there.

And you're welcome! Flight is a really fun framework!

mrijntjes commented 1 month ago

Thanks for your reply. I'm not using composer, but downloaded the php files of Flight straight from this repository. But thanks for hinting me to composer!

n0nag0n commented 1 month ago

You're welcome! We really strive to not include additional dependencies with this library. There are some in the dev version for composer so that proper unit testing can happen.

Tell your friends about Flight! :rocket: