DEV Community

Awan
Awan

Posted on

3 Cara mengetahui versi Laravel

Pada tulisan kali ini, saya akan berbagi cara untuk mengetahui versi laravel kalian, disini saya memiliki 3 metode untuk mengetahui versi laravel

(1). Cara mengetahui versi laravel menggunakan command prompt
php artisan --version
Image description

(2). Cara mengetahui versi laravel dengan check file composer.json
Buka project kawan-kawan lalu buka file composer.json di root folder project, dan lihat di line bagian "laravel/framework": "^10.10"

Image description

(3). Cara mengetahui versi laravel dengan cek file Application.php di folder vendor
Masuk kedalam folder vendor\laravel\framework\src\Illuminate\Foundation\Application.php Didalam file tersebut lihat bagian baris const VERSION = '10.48.2';

Image description

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
sourovpal profile image
Sourov Pal
Comment hidden by post author

Some comments have been hidden by the post's author - find out more

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more