Showing 10 of 1,322 results.

The where:in Filter | The "where" Filters

…e comments that have either six or ten revisions: 1 {{ meerkat : responses filter = " where:in(revision_count, 6, 10) " }} 2 3 {{ comments }} 4 <!-- Render your comment thread here. --> 5 {{ /comments }} 6 7 {{ /meerkat : responses }} Notice that...

Web Manifest Overview

…cons from favicon 24 | settings, ensuring they're represented in the resulting manifest file. 25 | 26 */ 27 28 ' manifest ' => [ 29 ' name ' => config ( ' app.name ' ) , 30 ' short_name ' => config ( ' app.name ' ) , 31 ' start_url ' => ' / ' ,...

Working With Dynamic Variables in Antlers Runtime

In this article we will be looking at different ways to manage dynamic variable names within Antlers Runtime. This is a technique that comes up every now and then, and most often within the context of fetching dynamic alt text for images based on...

Laravel Artisan Generator Command: The make:auth Command

…oller and routes that can be used for basic authentication tasks. It accepts the optional flag --views which can be used to only generate the view files. The following views will be created (all paths are relative to the applications...

Skippable/Ignorable Properties | Introduction & Installation

…eRenderer \ attributes ; 4 use function Stillat \ StatamicAttributeRenderer \ isIgnorable ; 5 6 attributes ( [ 7 ' name ' => ' author ' , 8 ' content ' => isIgnorable ( ' $name ' ) 9 ] ) ; would now produce: 1 name = " author " However, if the...

Laravel 5 Collections: Retrieving Collection Elements With get

…( [ 5 ' first ' => ' I am first ' , 6 ' second ' => ' I am second ' 7 ] ) ; 8 9 // I am second 10 $ second = $ collection -> get ( ' second ' ) ; By default, the get method will return null if a $key does not exist within the collection. However,...

Laravel Artisan Queue Command: The queue:forget Command

…he queue:forget command: 1 # Remove a single job from the failed jobs table. 2 php artisan queue:forget 1 If the command was successful in removing the job it will output Failed job deleted successfully! ; No failed job matches the given ID. will...

Integrating Laravel Spark, Stripe, and Statamic 3

Throughout this article we will create a fairly basic integration between Statamic 3 and the newly updated Laravel Spark . This guide will be using Spark's Stripe option, but if you want to use Paddle, the overall steps should not be too...

Defining Task Schedules | Laravel Task Scheduler: An Introduction

…edule composer to update project dependencies daily. 8 $ schedule -> exec ( ' composer update ' ) -> daily ( ) ; 9 } 10 11 // ... When using the exec method it is important to pay attention to the paths for both the command name and any...