Showing 10 of 1,090 results.

se_current_view:wrap Tag | se_current_view Tag

The se_current_view:wrap tag will is a helper tag that combines the se_current_view:start and se_current_view:end functionality. This tag is intended to be used as a tag pair, and will wrap the contents of the tag in <!-- START --><!-- END -->...

Laravel Application Helper Function: dispatch

dispatch($command) The dispatch helper function can be used to push a new job onto the job queue (or dispatch the job). The function resolves the configured Illuminate\Contracts\Bus\Dispatcher implementation from the Service Container and then...

Laravel 5 String Helpers: Generating Random Strings

The random helper method generates a random string of the specified $length . This method internally uses the OpenSSL function openssl_random_pseudo_bytes , and therefore requires the OpenSSL extension to be installed and configured .

Installation and Upgrade Guide

To install Meerkat into a Statamic 4 project using Composer , simply run the following command at the root of your project: 1 composer require stillat/meerkatUpgrading your site from Meerkat 2 to Meerkat 3 should be relatively painless for most...

Laravel Application Helper: response

response($content = '', $status = 200, array $headers = []) The response helper function is a useful function that can be used to accomplish two different tasks. If no arguments are supplied to the response function, an implementation of...

Laravel Array Helper Function: array_collapse

The collapse helper method accepts an array as its only parameter. The given $array can be a single array, or a nested array. The method will then return a new array with the contents of all the nested arrays. Arrays that are collapsed can contain...

Laravel Application Helper: policy

policy($class) The policy helper function can be used to retrieve a policy (a policy class can be any valid PHP class) instance for a given $class . The $class can be either a string or an object instance. If no policies for the given $class have...

Laravel String Helper Function: limit

…t could be very long and potentially cause issues with user interface layouts. If the exact output length is important, it is possible that the final length is the sum of the $limit and the length of the $end sequence. The signature for the limit...

Laravel Helper Function: csrf_token

csrf_token() The csrf_token (cross-site request forgery token) function is a shortcut for retrieving the CSRF token from the session storage. The following is an example of what the csrf_token function may output: 1 <?php 2 3 //...

Filter Search