Learn to Build a Chatbot with Laravel and BotMan!

Blade

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
News / 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…
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 …