I recently returned to a Laravel project and couldn’t remember what the version was. A quick look at the
But which version was that, exactly?
One thing you can do is to run the following command:
> php artisan --version
Perfect! But is there another way, out of interest? Of course!
Take a peek at your
composer.lock file in the root of your project:
That makes sense since the lock file, err, locks versions. Any other ways?
Yes, one more: Take a look at
class Application extends Container implements ApplicationContract, CachesConfiguration, CachesRoutes, HttpKernelInterface
Hi! Did you find this useful or interesting? I have an email list coming soon, but in the meantime, if you ready anything you fancy chatting about, I would love to hear from you. You can contact me here or at stephen ‘at’ logicalmoon.com