Showing 5 of 1,085 results.

The not:user:in Filter | The Auth & User Filters

The not:user:in filter is the logical opposite of the user:in filter, and allows you to filter comments based on if the authenticated user does not appear in the provided list of user identifiers. The following example would return only those...

E-mailing Output | Laravel Task Scheduling: Managing Task Output

…can be changed by supplying a truth value as the argument for the $onlyIfOutputExists parameter. By default, the emailOutputTo method will always send an E-mail, even if the task does not generate any output. The emailWrittenOutputTo method is a...

Laravel 5: Retrieving Environment Variables With env

The env helper function is used to retrieve the value of an environment variable. You may supply a $default value to be returned if there is no value currently set for the provided $key .The signature of the env function is: 1 function env ( 2 $...

Defining Custom Filters | Advanced Filtering

Custom filters can also be defined in the meerkat/filters.php file using the filter helper method. The following filter will only return comments that contain the phrase hello in their content: 1 <?php 2 3 use Illuminate \ Support \ Str ; 4 use...

Filter Search