Join 26,000+ Laravel Developers and join the free Laravel Newsletter

Blade

Customizing the Laravel View Path
Laravel Tutorials / August 07, 2018

Customizing the Laravel View Path

In response to our post yesterday about Laravel 5.7 Resources Directory Changes, a reader mentioned that they would prefer to have their application views outside of the ‘resources’ folder. I thought I’d write up how you can customize the view path; it’s effortless with Laravel!

Read more…
Built with Jigsaw – the Ultimate Showcase of Web Sites Built with Jigsaw
News / June 22, 2018

Built with Jigsaw – the Ultimate Showcase of Web Sites Built with Jigsaw

“Built with Jigsaw” is a gallery of websites made with Jigsaw, and includes helpful articles about using Jigsaw. Learn more about Jigsaw and creating static sites using the familiar Laravel Blade syntax and tools like Laravel Mix.

Read more…
Laravel View Components Package
Laravel Packages / June 01, 2018

Laravel View Components Package

We featured View Components in Laravel, written by Jeff Ochoa, as an alternative approach to View Composers.

Inspired by Jeff’s article, Sebastian De Deyne of Spatie created a Laravel package that brings the concept of a View Component to Laravel applications. The package headline is: “A better way to connect data with view rendering in Laravel.” Learn about this package and how to start using view components in your Laravel projects.

Read more…
Five Useful Laravel Blade Directives
Laravel Tutorials / May 22, 2018

Five Useful Laravel Blade Directives

Take a look at five Laravel Blade directives you can use to simplify your templates, and learn about some convenient directives that make solving specific problems a cinch! If you’re new to the framework, these tips will help you discover the excellent features of Blade, Laravel’s templating engine.

Read more…
How to Use Blade Component and Include Aliases
Laravel 5.6 / February 26, 2018

How to Use Blade Component and Include Aliases

In the Laravel 5.6.0 release Sebastian De Deyne contributed component aliases and then in Laravel 5.6.4, he added a similar feature for Blade includes. Let’s go over how you can use both in your Laravel 5.6 projects!

Read more…
Safely Seed Your Vue Components with Blade Double-encoding
Laravel Tutorials / January 29, 2018

Safely Seed Your Vue Components with Blade Double-encoding

You can easily embed JSON data in your Vue components with a new Blade double-encoding method. If you use Vue components with a server-side application like Laravel, chances are that you’ve seeded Vue components with some JSON data or user-generated content (UGC). This new Blade method will help you solve your Vue component JSON encoding issues once and for all!

Read more…
Appstract Laravel Blade Directives
Laravel Packages / October 03, 2017

Appstract Laravel Blade Directives

Appstract has created a Laravel Package that gives you a collection of nice blade directives.

Read more…
Dynamic templates in Laravel Blade with View::first
Laravel 5.5 / September 13, 2017

Dynamic templates in Laravel Blade with View::first

Laravel 5.5 adds a new View::first option that allows you to pass an array of templates as the first argument and it will load the first template it finds.

Read more…
Blade::if() Directives
Laravel 5.5 / July 12, 2017

Blade::if() Directives

A new Blade addition in Laravel 5.5 will add support for simplifying custom if statements in your views.

Read more…
Laravel 5.5 Gets Improvements with the Default Error Views
Laravel 5.5 / May 01, 2017

Laravel 5.5 Gets Improvements with the Default Error Views

Coming in Laravel 5.5 is a new and improved design for the error pages.

Read more…