Showing 10 of 2,145 results.

Laravel Helper Function: info

info($message, $context = []) The info helper will write an information entry into Laravel's log files. It allows a $message to be set, as well as an optional $context (which is an array of data). While the $context must be an array, the actual...

Laravel Helper Function: decrypt

decrypt($value) The decrypt helper function can be used to decrypt a given $value . The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the decrypt method on the...

The user:from_auth Filter | The Auth & User Filters

The user:from_auth filter allows you to filter comments based on if they were left by an authenticated user. It accepts a boolean value, or the wildcard * value (to return comments regardless of if they were left by an authenticated user). The...

setSelector(MessageSelector $selector) | The Laravel Translator

The setSelector method sets a Symfony\Component\Translation\MessageSelector instance ( $selector ) for the Translator . The MessageSelector instance is used by the choice and transChoice methods for loading the correct translation message based on...

Guide: User-Only Comment Setup

This guide contains the steps to configure Statamic and Meerkat to only accept comments from authenticated users. After completing this guide, your site will only accept comments from authenticated users, without requiring user names or emails to...

Laravel Collection Public API: reverse

reverse The reverse method is used to reverse the order of items in a collection. The reverse method returns a new Collection instance. The reverse method does not preserve numerical keys but will preserve non-numerical keys. The following code...

Filter Search