E
E
Emil Rakhmatullin2020-03-08 23:12:16
Laravel
Emil Rakhmatullin, 2020-03-08 23:12:16

How do Laravel functions work when fetching html pages from a database?

How can I make it so that all the functions in Laravel (which I wrote in App\helper.php) work when displaying HTML code from the database. For example, there is such code in the database: How can I make the function work as if I had registered it in the blade itself?
<title>{{ setting(site.title); }}</title>
{{ setting('site.title') }}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2020-03-08
@New_Horizons

{!! setting('site.title'); !!}
Displaying Unescaped Data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question