Laravel is a popular PHP framework that provides many useful features and tools that make developing web applications easier and more efficient. With Laravel rapidly evolving and constantly being upgraded, it's important to know how to view the current Laravel version as it can help developers better understand the features and updates it contains.
In this article, we will explore how to view the current Laravel version, including using terminal commands and viewing Laravel code.
Use terminal commands to view the Laravel version
Laravel has some useful terminal commands built-in, including commands to view the current Laravel version. Execute the following command in the terminal:
php artisan --version
This command will output the currently installed Laravel version number, for example:
Laravel Framework 8.63.0
Here we can see that the currently installed Laravel version is 8.63.0 .
View the version information in the Laravel code
Another way to view the Laravel version number is to view the version information in the code. In order to do this, you need to find the following file: vendor/laravel/framework/src/Illuminate/Foundation/Application.php
. This file is part of the Laravel framework code and contains the version information of the framework.
Open the Application.php
file and find the VERSION
constant, for example:
const VERSION = '8.63.0';
In this constant, you can see the current Laravel version Full version number.
Summary
Now, you know how to check the current Laravel version. You can easily get current version details and updates by using the terminal command php artisan --version
or by looking at the VERSION
constant in the Laravel framework code. This information is very important for developers because it allows them to better evaluate Laravel's features and capabilities, and makes development more efficient and orderly.
The above is the detailed content of How to check laravel version. For more information, please follow other related articles on the PHP Chinese website!

This article guides building robust Laravel RESTful APIs. It covers project setup, resource management, database interactions, serialization, authentication, authorization, testing, and crucial security best practices. Addressing scalability chall

This article provides a comprehensive guide to installing the latest Laravel framework using Composer. It details prerequisites, step-by-step instructions, troubleshooting common installation issues (PHP version, extensions, permissions), and minimu

This article guides Laravel-Admin users on menu management. It covers menu customization, best practices for large menus (categorization, modularization, search), and dynamic menu generation based on user roles and permissions using Laravel's author

This article details implementing OAuth 2.0 authentication and authorization in Laravel. It covers using packages like league/oauth2-server or provider-specific solutions, emphasizing database setup, client registration, authorization server configu

This article guides Laravel developers in choosing the right version. It emphasizes the importance of selecting the latest Long Term Support (LTS) release for stability and security, while acknowledging that newer versions offer advanced features.

The article discusses creating and using custom validation rules in Laravel, offering steps to define and implement them. It highlights benefits like reusability and specificity, and provides methods to extend Laravel's validation system.

The article discusses best practices for deploying Laravel in cloud-native environments, focusing on scalability, reliability, and security. Key issues include containerization, microservices, stateless design, and optimization strategies.

The article discusses creating and customizing reusable UI elements in Laravel using components, offering best practices for organization and suggesting enhancing packages.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Mac version
God-level code editing software (SublimeText3)

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
