Showing 10 of 2,145 results.

Custom Component Tags

The document parser supports registering custom component tag prefixes. By default, the parser is configured to parse elements beginning with <x- , <x: , </x , or </x: as Blade component tags; this behavior cannot be changed. However, we can add...

Installation and Overview

Template Resolver for Statamic is a simple utility addon, intended to be used by other addons. It provides a simple utility for selecting and rendering a template based on an entry's blueprint and collection , with support for a fallback default...

Laravel Artisan Queue Command: The queue:listen Command

The queue:listen command is used to listen for and process jobs as they are added to the job queue. The command defines numerous parameters and options that can be used to customize how the queue listener interacts with and behaves under different...

Laravel 5 Collections: Retrieving Collection Elements With get

The get method can be used to retrieve an item from the collection based of its $key . An optional $default argument can be passed that will be returned if the supplied $key does not exists in the collection. The $default argument can be a simple...