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

前端 未结 13 1382
青春惊慌失措
青春惊慌失措 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:45

    • ubunut 16.04
    • php 7.0.33
    • Laravel Framework 5.5.48

      php artisan --version
      

      Artisan -Artisan is the name of the command-line interface included with Laravel. It provides a number of helpful commands for your use while developing your application. It is driven by the powerful Symfony Console component.

    for more-

        php artisan list
    

提交回复
热议问题