laravel 5.2 How to get route parameter in blade?

后端 未结 4 370
春和景丽
春和景丽 2021-02-03 19:06

this is my url http://project.dev/blogs/image-with-article so, here I need the parameter image-with-article in my blade to display which is a parameter

4条回答
  •  独厮守ぢ
    2021-02-03 19:51

    Easy way Just {{ dd(request()->query("PARAMNAME")) }}

    for get all PARAMs {{ dd(request()->query()) }}

提交回复
热议问题