Display name of current blade file

I would like to have an h1 tag that displays the current file name.

For example, in the blade file "index.blade.php", I would like to have an h1 tag that displays "index.blade.php".

I have tried doing using but that prints out the cached blade file and not the actual name

// index.blade.php

<h1></h1> 

Result: project/storage/framework/views/eweijo29398hr23.php

Desired Result: /index.blade.php



from Recent Questions - Stack Overflow https://ift.tt/3e02EUj
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations