Blade

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…
The Static Site Generator Jigsaw Launched V1.0
Laravel Applications / April 20, 2017

The Static Site Generator Jigsaw Launched V1.0

Jigsaw, a static site generator, made by Tighten just tagged and launched v1.0 that includes the addition of Collections. These allow you to work with a list of related content, like blog posts, a portfolio of your work, staff bios, and more.

Read more…
Which Laravel Helper Do You Use for Your URLs?
Laravel Tutorials / April 06, 2017

Which Laravel Helper Do You Use for Your URLs?

Jacob Bennett ran a Twitter poll to see which URL helper most developers are using for their Blade views. The route helper won out and in this article let’s look at the different styles and some of the advantages and disadvantages to each.

Read more…
PhpStorm Improves Support for Laravel Blade
Development Tools / March 23, 2017

PhpStorm Improves Support for Laravel Blade

PhpStorm just released version 2017.1 and it includes many improvements including support for Codeception, PhpUnit 6.0, and more PHP 7.x features. Beyond these, it also adds support for @includeWhen, @component and @slot directives and PHPDoc through Blade injections. Here is a screenshot showing the PhpDoc for Blade files: For the full details on this release …

Laravel Include When Directive
News / March 01, 2017

Laravel Include When Directive

A new feature in Laravel Blade is an includeWhen directive. This allows you to simplify a typical if statement into a single line. “I think it’s a cool feature as it tidies up so much boilerplate”, said James Brooks, the author of the pull request. To see this feature in use pretend you have this …

Laravel Blade @prepend Directive
Laravel 5.4 / February 11, 2017

Laravel Blade @prepend Directive

In version 5.4 Laravel added a new components and slots feature that simplifies building HTML elements into reusable areas. As an example of how this features works pretend you have a layout.blade.php file that includes this: <ul id=”sidebar”> @stack(‘sidebar’) </ul> Now when you want to insert data into this section from a sub-view you can …

In Laravel 5.4 You Can Use Markdown in Your Emails
Laravel 5.4 / December 13, 2016

In Laravel 5.4 You Can Use Markdown in Your Emails

Coming to Laravel 5.4 is a brand new system for writing your emails templates in Markdown and it comes complete with automatic inline styling, various components and slots, and Litmus tested templates.

Read more…