What Version of Laravel 4 do I have Installed?

Laravel Framework Logo

Laravel 4 is amazing. It has made development fun again, the same way CodeIgniter did for me a few years ago. Sadly, many developers are abandoning CodeIgniter, and even Ellis Lab seems content to let it fade quietly into the night.

I recently needed to know which version of Laravel 4 was installed on my development machine vs. my staging server for some debugging. I never did find anywhere in the Laravel 4 documentation where I could locate this information, and my Google-Fu was not helping much either. Eventually I did find this information by browsing the core source files, so I thought I would write up a quick blog post for anyone else looking for an answer to this question.

You can look in vendor\laravel\framework\src\Illuminate\Foundation\Application.php.

Near the top of the class you should see the following constant defined:


  1. LV says

    Thanks, helped me out loads.

    Browsing through the ~4000 files of Laravel 4 VS the few hundred files of L3 was a nightmare.

    What has Taylor done for a few additional functions?

Leave a Reply

Your email address will not be published. Required fields are marked *