Showing 10 of 2,133 results.

getWordRightAtOffset | Text Extraction

Retrieves the word to the right of the provided offset, ignoring the word at the provided offset. Argument Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function...

Facade Aliases and Importing Facades | Laravel 5 Facades

Each facade has an alias . An alias in PHP is just a shortcut to a longer class name. For example, when we use something as something else, we are creating a class alias: 1 use Some\ReallyReallyLongClassName as ShorterName; In the above example...

Laravel MessageBag Public API: first

…will return an empty string. The first method also accepts a $format parameter, which allows developers to customize the format that is used when transforming the message (which by default is just the default message). The following examples will...

Managing Spam Comments | Managing Comments

Meerkat's configured spam guards may flag comments as spam; these comments may be viewed by accessing the "Spam" filter. If a spam comment still made it through, or no spam guards are configured, users may mark the comment as spam by selecting the...

Prevent Formatting of Specific Files | Formatting CLI

It may be useful to prevent formatting of a specific Antlers template without excluding the file extension entirely. This can be accomplished by adding a special directive to your template's configuration comment. Note: These configuration...

Markdown Tools | The Statamic Add-on Roundup

Markdown Tools for Statamic is another freely available add-on (you can find it at https://github.com/JohnathonKoster/statamic-markdown-tools ). It allows site admins to handle text replacements across the entire site (for example, to handle the...

getLiterals | Querying Document Nodes

Returns all literal content nodes within the document. Returns the source template's content that could not be parsed into a valid Blade construct. If a document contains no Blade code, the parser will return a single instance of LiteralNode . 1...