coding, business, working

How to check laravel version?

php artisan about

This command will give you details about your laravel, php, composer versions. Also cache and drivers status with your environment mode.

php artisan –version

This flag command can be used with other coomands like:

php artisan make:model –version

app( )->version( );

The app() method will give you your laravel version.

composer show laravel/framework

You can also check your laravel version through composer :

composer.json and composer.lock

The composer.json file contain all the libraries and dependencies version details.

And composer.lock contain additons information with theire respective versions.


Comments

Leave a Reply

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