Showing 10 of 2,142 results.

Laravel 5: Recover From Possible Exceptions With rescue

The rescue function can be used to attempt execution of an operation that has the potential to throw an exception. The rescue function will allow you to specify a default value, through the $rescue parameter that will be returned if the operation...

HTML Rendering Setup | Introduction & Installation

If you intend to use the provided Browershot, you will also need to ensure that Puppeteer is installed and configured on your system. For more information on how to do this, please consult the Browsershot documentation at...

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...

Laravel Collection Public API: max

max($key = null) The max method can be used to retrieve the maximum value of the given $key . By default, the $key is null and will function in a similar way to PHP's max function. The following code example highlights the usage of max without...

Favicon Configuration

The favicon generation feature provides many different configuration options. You can disable the feature entirely, add/remove favicon sizes, and even change the favicon generation driver entirely.

Laravel MessageBag Public API: merge

merge($messages) The merge method is used to combine, or merge , the contents of the MessageBag instance with the provided $messages . The $messages can be any valid array or an object instance that implements the...

Time Methods | Laravel Task Scheduler: An Introduction

Method Description hourly Schedule the event to run hourly. at($time) Set the time that the command should run at. everyMinute Schedule the event to run every minute. everyFiveMinutes Schedule the event to run every five minutes. everyTenMinutes...