1. 命令行

php artisan --version
Bash

2. 代码中

echo app()::VERSION;
PHP