Showing 10 of 2,044 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...

BuildResources | The Statamic Add-on Roundup

…content from each of these lists and populates specialized collections with content and attribution (the command will analyze the license of each of these repositories). The roots of this section of the site can be found in this (very old)...

MarkdownModifier | The Statamic Add-on Roundup

…e a pain to manage for each post, so this add-on handles the dynamic re-structuring of each blog post as it is requested. This add-on will also add the alt text of images inline, as well as alternate which side of the image the text appears on...

Laravel Array Helper Function: array_where

where($array, callable $callback) The where helper method is functionally similar to the pluck method, in that both take a source $array and filter it to produce a smaller array. It works by iterating over each element in the $array and executing...

The Function | Laravel and Kint Debugging

Looking through the issue some more today, I decided to write a new modify one of Kint's functions to work really nice with Laravel. Add this function to some helpers file, or a file that is accessed throughout your application: 1 if ( !...

Artisan Commands

Tidal, and its dependencies provide Artisan commands to help simplify the administration and management of your site. The following table provides a quick reference of the most commonly used commands: Command Description...

Laravel Array Helper Function: array_only

The only helper method is the logical opposite of the except (discussed in the article Laravel Array Helper Function: array_except ) method. The signature for the only helper method is: only($array, $keys) Assuming that the $_POST super-global...

Laravel String Helper Function: upper

The upper method is the opposite of the lower method and it takes a given value and returns the upper case variant. This method is useful when doing string comparisons. The signature for the upper helper method is: upper($value) 1 use Illuminate...