Search

Showing 7 of 587 result(s)

/blog/2017/09/29/building-a-simple-statamic-request-addon#content-creating-the-tag-method

Now that we have an empty tag addon class to work with, let's quickly recap what we want this addon tag to do: what we want to be able to do is determine if a URL query parameter exists. The first thing that I like to do is decide how the addon...

/blog/2017/10/31/installing-linguistics-for-adobe-brackets#content-installing-the-plugin

Installing the plugin in Brackets is incredibly simple. Start Brackets and activate the Help menu item and then select Show Extensions Folder . This will open a new Finder or Explorer window (depending on your platform) displaying your Bracket's...

/blog/2018/04/21/laravel-5-fluent-api-dynamic-data-containers-and-the-fluent-data-type

The "Illuminate\Support\Fluent" class is a useful data type. It allows for the construction of a data "container" similar to an array or instance of stdClass . However, the Fluent class makes it easier to make assumptions about the data the class...

/blog/2018/04/22/laravel-5-collections-combining-collection-elements-into-a-string-with-implode

The implode method will combine the items of the collection together. The Collection 's implode method behaves differently than PHP's implode function in that it can operate on arrays of primitive data types as well as arrays of objects and...

/blog/2018/04/22/laravel-5-collections-testing-all-collection-values-with-every#content-signature

The following examples will demonstrate the various ways to invoke the every method: After the above code has executed, the $allAlphabetic variable would contain the value false . In the following example, we will check to see if all users in the...

/blog/2021/02/15/implementing-a-customer-dsl-parser-in-php#content-parsing-a-single-input-filter

We will start our parser implementation by defining our characters as constants. We could simply write them as strings each time we need them in our code, but it is easy to make a mistake that way once things get going. We will build on the code...

/blog/2021/12/12/creating-a-content-reaction-system-with-statamic-3-and-antlers#content-building-the-reactions-widget

The user interface we will work on building will utilize Alpine.js and Tailwind CSS version 2 (both of which are preconfigured with the Starter's Creek Starter Kit). When visitors initially view our blog post page, they will see this version of...