Showing 7 of 1,697 result(s)
Meerkat may only be obtained through official channels (the Statamic Marketplace, and those specified in the installation guide). Meerkat may redistributed only in the capacity that it is part of a larger work for a client. Repackaging, bundling,...
…the value of simple variables from the current context. This works, but is not able to handle complicated variables such as view:variable_name or array[index] . In this section, we are going to refactor our modifier to take advantage of the...
Again, we might be in a world of hurt here. Anonymous functions are a kind of different breed of functions. Let's look at an example in JavaScript (ECMAScript for you technical type): The above code runs in the context of the web browser (so we...
The make method is responsible for doing the actual hashing. It also accepts an $options array. We will allow a salt to be supplied to the options array. If no salt is supplied, we will generate one for the user. We will also accept a rounds...
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...
Now that we have a place to store our compiled components, and Volt knows to look for them, we need to update our primary compiler implementation to utilize the ComponentCompiler , replace the component in the source with a @livewire directive,...
whereIn($key, array $values, $strict = true) The whereIn method is used to filter the collection based on a given $key and an array of the possible $values that the $key can have. The method also defines an optional $strict parameter, which when...