 <p>If you are using Laravel 5, you can do it like this (I am not sure if it is the best way)</p> <pre><code>return view("layout/here", [ "content" =&gt; view("dynamic/content/here") ]); </code></pre> <p>then in your view you can do this</p> <pre><code> &lt;?php echo $content; ?&gt; </code></pre> <p>of course, if you are not using blade.</p>