Search

Showing 7 of 2,041 result(s)

/blog/2016/11/29/an-introduction-to-laravel-collections

The Illuminate\Support\Collection class provides a wrapper around PHP's arrays. The Collection class has numerous methods for retrieving, setting and manipulating the data of the underlying array. Each Collection instance has an internal array...

/meerkat/basic-filtering#content-default-expression-filters

Now that we have a basic idea of how filter expressions work, lets take a look at the default filters that are available to you when using filter expressions. There are a large number of built-in filters, organized into "namespaces". Namespaces...

/blog/2016/11/30/laravel-hashing-one-way-encryption

Hashing data is a common task in software development. Hashing is similar to encryption, with the difference that hashing is a one-way process. The goal is that the original message cannot be retrieved from the resulting hash. Hashing is...

/blog/2022/11/01/a-beginners-guide-to-antlers-arrays-and-loops#content-working-with-neighboring-elements

The two automatic array variables we have not yet looked at are the next and prev variables. These two variables provide a convenient way to access the next and previous elements of the array, respectively. For example, if we had the following...

/blog/2023/04/10/creating-a-custom-statamic-layout-tag#content-sharing-variables-with-our-layouts

Earlier in this article, I briefly mentioned that Statamic will first render the template and inject the rendered template's contents into the layout via. a template_contents variable. This behavior can sometimes make it non-obvious to pass...

/blog/2014/07/28/laravel-paginator-pretty-urls#content-creating-our-own-make-method

We are going to need to resolve some things out of the IoC, so make sure to use the Illuminate\Support\Facades\App facade. In our PrettyPaginator class, add the following function: its kind of scary, but I'll explain it. When we call the...

/blog/2017/07/23/rebuilding-stillat#content-thoughts-on-rebuilding-stillatcom-on-statamic

I'll start this section by saying the gentlement behind Statamic have done a great job: the platform just works for the most part (I will say that if you are developing primarily on Windows, there will be some headache; at this point the vast...