How can I echo the version of the current Laravel version in php using the view?

前端 未结 13 1117
青春惊慌失措
青春惊慌失措 2021-01-30 10:01

I don\'t want to check my Laravel version in the command prompt (php artisan --version), but in the view itself.

Like this:



        
13条回答
  •  一向
    一向 (楼主)
    2021-01-30 10:51

    Displaying Your Current Laravel Version

    You may also view the current version of your Laravel installation using the --version option:

    php artisan --version
    

提交回复
热议问题