DEV Community


How to get laravel version

robertlook profile image Robert Look ・1 min read

This Example very easy-to-find Laravel version. When we create a new project, we get a composer.json file in it, through that composer.json file we can also check the version.

How to get laravel version

    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",
        "fideloper/proxy": "^4.2",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/framework": "^8.16.1",  <------- Your Laravel Version
        "laravel/tinker": "^2.0"
Enter fullscreen mode Exit fullscreen mode

Read More:How to get laravel version

Discussion (0)

Editor guide