Showing 10 of 2,133 results.

Antlers: Building Beautiful Websites with Statamic

Antlers: Building Beautiful Websites with Statamic is the essential resource for Statamic developers aiming to master Antlers. This powerful templating engine powers Statamic CMS. Written clearly and concisely, this guide walks you through core...

Xdebug and var_dump

If you are using Xdebug with PHP and are using the var_dump function it is important to note that Xdebug will limit var_dump 's depth when dumping information about a variable. By default this limit is 3 and can easily be identified by the...

Installation and Upgrade Guide

…ser , 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 sites. However, please note the following major changes...

Laravel Artisan Generator Command: The make:auth Command

The make:auth command can be used to generate login and registration views, a basic HomeController controller and routes that can be used for basic authentication tasks. It accepts the optional flag --views which can be used to only generate the...

Creating the Comment Form | Integrating Meerkat

To create the comment form, we will use the {{ meerkat:create }} Antlers tag. This tag will give us access to Meerkat's form definition, as well as useful information we can use after a visitor submits their comment. At the most basic level, this...

Laravel 5: Dispatching Queued Jobs With dispatch

The dispatch helper function can be used to push a new job onto the job queue (or dispatch the job). This function returns a new instance of \Illuminate\Foundation\Bus\PendingDispatch ; having access to this class instance will allow you to modify...

SORT_NUMERIC | Laravel Collection Public API: sortBy

The SORT_NUMERIC treats each item as a number when doing the comparison. The following code example shows how to use the SORT_NUMERIC flag when sorting the $collection created previously (the callback function will return the string representation...

SORT_STRING | Laravel Collection Public API: sortBy

The SORT_STRING treats each item as a string when doing the comparison. The following code example shows how to use the SORT_STRING flag when sorting the $collection created previously (the callback function will return the string representation...