<!-- View stored in resources/views/greeting.blade.php -->
<html>
    <body>
        <h1>Hello, <?php echo $name; ?></h1>
    </body>
</html>

Create a view by placing a file with the .blade.php extension in the resources/views directory.

Comments