Showing 10 of 2,145 results.

Laravel Helper Function: cookie

cookie($name = null, $value = null, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true) The cookie function is generally used to create a new instance of the \Symfony\Component\HttpFoundation\Cookie class. If the...

Custom Renderers

Custom renderers allow you change how social media images are generated from HTML. Social Media Image Kit ships with a Browsershot renderer out of the box, if you landed on this page looking to change it's configuration you might consider the...

Laravel Collection Public API: sort

sort(callable $callback = null) The sort method is used to sort the collection. If no $callback is provided, the collection will be sorted using a case-insensitive "natural order" algorithm. An optional $callback can be supplied to customize the...

Compiling Custom Components

The default behavior of the compiler is to treat all custom component tags as if they were "normal" Blade component tags. However, we can provide custom compilers for our specific component tag prefixes and return custom-compiled output. We create...

Laravel URL Helper Function: action

action($name, $parameters = [], $absolute = true) The action helper function can be used to generate a URL to a controller action, which is supplied as an argument to the $name parameter. If the controller action requires or accepts parameters...