Showing 10 of 2,145 results.

Laravel 5: Decrypting Strings With decrypt

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

Comparing Just the Key | Laravel Array Helper Function: array_where

…look at an example of just utilizing the key from the key/value compare with the where method. Let's add another array to the mix to keep track of all the students that are currently suspended: 1 <?php 2 3 $ suspendedStudents = [ 4 ' Dennis ' , 5...

What Gets Logged

Search Report for Statamic does not log anything beyond the following: id, : A unique identifier for the search log itself. This does not have any correlation to the user, nor does it provide a way to uniquely identify an individual user,...

Adding Collections to Feeds | RSS and Atom Feeds

The documentation collection has already been added to the default RSS/Atom feed. To add additional collections, update the config/feedamic.php configuration file and add the desired collections to the collections array: 1 <?php 2 3 return [ 4 //...

Recursive Comments (Nested Replies) | Responses and Replies

Displaying comments recursively, or a nested list, is a common visual pattern on web pages. This feature relies on the following Statamic pull request: https://github.com/statamic/cms/pull/8421 . Until this is generally available, you will need to...