DEV Community

Robert Look
Robert Look

Posted on

How to get laravel version

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": [
        "framework",
        "laravel"
    ],
    "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

Top comments (0)