Showing 10 of 1,085 results.

Laravel String Helper Function: str_replace_last

The replaceLast helper method is the logical opposite of the replaceFirst helper method. It is used to replace the last occurrence of a given $search string with the provided $replace string in the $subject string. ALl three parameters are...

Laravel Array Helper Function: array_fetch

The fetch helper function has been deprecated as of Laravel 5.1 in favor of the pluck helper function. Additionally, the An Extended Example of Retrieving Unique Data Using Laravel Helper Functions article from the original publication provides...

Configuration Overview

…site's config directory with all the relevant configuration files after the site has been reloaded at least once. The following files will be created: 1 config 2 ├── meerkat 3 | ├── akismet.php 4 | ├── authors.php 5 | ├── iplist.php 6 | ...

The Statamic Add-on Roundup

This article was written for a site migration that happened targeting an early version of Statamic 2. The content of this article is outdated, and no longer applies to the Stillat.com website. I was asked on Twitter about the custom Statamic...

Laravel Application Helper Function: validator

validator(array $data = [], array $rules = [], array $messages = [], array $customAttributes = []) The validator helper function is a versatile helper function. If no arguments are supplied to the validator function (all arguments are optional),...

Front-end Templates

There are two ways to add the web manifest HTML tag(s) to your site's front-end templates: the dedicated Antlers tag and the metadata provider.The se_web_manifest Antlers tag may be used to output the HTML tag for your site's generated manifest...

Laravel Array Helper Function: array_set

set(&$array, $key, $value) The set helper method is the logical opposite of the forget (discussed in the Laravel Array Helper Function: array_forget article) method. its purpose is to set values within an array. The set method also uses dot...

Filter Search