Showing 10 of 2,055 results.

Laravel String Helper Function: random

The random helper method generates a random string of the specified $length . This method internally uses the OpenSSL function openssl_random_pseudo_bytes , and therefore requires the OpenSSL extension to be installed and configured . The...

Specifying the Entry (or Collection) | Template IDE Hints

You may specify the collection name by using either the @entry or @collection directive (use whichever feels best for you as they are equivalent): 1 {{# 2 @name The template name. 3 @desc A human-friendly description for your awesome template. 4...

Disabling Vite File Hashes

…tamic-powered blog. As part of that rebuild I migrated my build processes to Vite, but ran into an issue where I needed the filenames for my CSS, JavaScript, and assets to remain consistent for compatibility reasons with an existing cache system....

Laravel 5.5 String Helper Method: title

This method will convert the given $value to look like a traditional print title. This method essentially will transform the entire $value to its lower cased equivalent and then uppercase the first character of each word it finds. This method may...

An Introduction to Filter Expressions | Basic Filtering

…lied by separating them with a pipe | character. Before we get too far into the details, let's revisit the example of using the basic spam filter: 1 {{ meerkat : responses include_spam = " true " }} 2 3 < ul > 4 {{ comments }} 5 < li > 6 < p > {{...

Creating Custom Forms | Meerkat Forms

…7 </ label > 8 < input 9 class = " appearance-none block w-full bg-grey-lighter text-grey-darker border {{ if error . name }} border-red {{ else }} border-grey-lighter {{ /if }} rounded py-3 px-4 mb-3 " 10 id = " comment-name " type = " text "...

Modifying Compiler Behavior | Compiling Documents

However, there are times when it may be beneficial to change the behavior of the compiler. To do this, we can supply an instance of the Stillat\BladeParser\Document\DocumentCompilerOptions class, which will then be used internally to modify the...