Showing 10 of 1,322 results.

Meerkat Forms

Meerkat's forms in version 2 were designed to be familiar if you are already accustomed to Statamic's forms. With that said, the two systems operate independently and there may be a few syntax differences between the two. While most concepts are...

CategoriesFilter | The Statamic Add-on Roundup

The CategoriesFilter add-on is simply a custom Statamic Collection Filter that is really good at figuring out how articles on the site are related to one another based on their category. This is made simpler by the fact that I am limiting each...

Configurable Composer Manager | The Statamic Add-on Roundup

…the site on Windows systems (I now use a 27 inch iMac and a MacBook Pro for all Stillat development). A properly configured Windows development environment can address the issues that this add-on solves, but that becomes messy when working with...

Data Tools | The Statamic Add-on Roundup

The DataTools add-on allows me to perform arbitrary arithmetic and comparison operations within an Antlers template. Granted, I could have enabled PHP within templates but I really didn't want to (also, there might be some syntax to accomplish...

Request | The Statamic Add-on Roundup

…out the client's request. For example, there was no easy way to determine if a URL query parameter was present; that was the main reason this add-on exists. It is used on the search page. I wanted a way to customize the search results page if a...

Laravel String Helper Function: random

…installed. It should also be noted that the random method remove the following characters: / + = The following examples show sample output. Because the intention of the random method is to generate a random string, any output you get will likely...

Laravel Miscellaneous Helper Function: object_get

…epartment.name ' ) ; The value of $departmentName would then be Marketing . Attempting to retrieve the department's address would return NULL : 1 <?php 2 3 // NULL 4 $ departmentAddress = object_get ( $ sampleObject , ' department.address ' ) ;...

Laravel 5: Randomizing Element Order With shuffle

…oked at how to quickly create a deck of cards using the crossJoin method. Let's bring that back and use the shuffle method to shuffle our deck of cards: 1 use Illuminate \ Support \ Arr ; 2 3 // Create our deck of cards. 4 $ suites = [ ' Clubs '...

Laravel and Kint Debugging

…out working with Laravel and Kint. It works, but it can be a pain to manage through composer updates (losing your lock file, whatever happens), Laravel upgrades, it doesn't matter. The problem is that sometimes using the dd() function doesn't...

Laravel Array Helper Function: array_pull

…ull helper method is similar to the get (covered in the Laravel Array Helper Function: array_get article) method in that it will return a value for the given $key in the $array (or the $default , if it is specified and the $key does not exists)....

Filter Search