Instead of having HTML files and using @include or View::make(path to file) to render them as output, is there a way to get view's (html data) from database and render as output? Something like MyBB, VB or even WordPress. they get their templates from database.
Getting data from database is no matter, rendering them as output is matter.
What do you mean? You can just return the html from the database? What have you tried?
$page = Page::find(1);
return $page->content;
No, I want to get the whole View itself from database as a template.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community