Category: Laravel, PHP, javascript

Blade is the templating engine Laravel uses to render it’s pages. And trust me Blade is very powerful and lets you do some really neat stuff. Usually we want our pages to have a consistent look and that means that the core of the layout should stay mostly the same. With blade we can solve this pretty easily, since it allows us to use template inheritance.

So your app.blade.php should look something like this: Now lets jump to our welcome.blade.php and lets take advantage of the blade features.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners