Showing 10 of 2,133 results.

The is:between Filter | The "is" Filters

…e is:after and is:between filters to filter comments that fall within a range of dates. It accepts two arguments: the since date and the until date. The since date must be provided as the first argument, and the until date must be provided as the...

Laravel ViewErrorBag Public API: count

The count method returns the number of messages stored within the default MessageBag instance. It is also the only MessageBag method that specifically handled by the ViewErrorBag instance itself because it needs to be declared within the...

Laravel MessageBag Public API: keys

The keys method is used to retrieve all of keys stored inside the MessageBag instance. The following code example demonstrate the usage of the keys method: 1 <?php 2 3 use Illuminate \ Support \ MessageBag ; 4 5 // Create a new MessageBag...

X/Twitter Metadata

The metadata manager will output X/Twitter meta tags by default. The values it uses are pulled from the config/site_essentials/metadata.php configuration file: 1 <?php 2 3 return [ 4 ' twitter ' => [ 5 ' site ' => null , 6 ' site_id ' => null , 7...

Paginated Comments | Responses and Replies

Meerkat can display your comment threads as a paginated list. Developers familiar with Statamic's collection pagination will be comfortable working with Meerkat's pagination feature. To enable pagination mode when rendering your comment thread,...

Laravel String Helper Function: snake

The snake helper method replaces all uppercase letters within the string with the lower cased variant prefixed with the given $delimiter . The only exception to this rule is that if the first character of the string is capitalized, it will be...

Install Asset Container | Artisan Commands

The install-asset-container Artisan command may be used to create the asset container that will be used by Social Media Image Kit. It can be invoked by running the following command from the root of your project: 1 php artisan...

Laravel Application Helper: base_path

base_path($path = '') The base_path function can be used to retrieve the path to the directory the Laravel application is installed in. It can also be used to construct paths relative to the base path by supplying a $path . The following examples...