Showing 10 of 2,142 results.

Laravel Router Helper Function: delete

delete($uri, $action) The delete function is a shortcut to registering a route with the router that responds to the DELETE HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when...

Antlers Modifiers

Site Essentials for Statamic provides various types of modifiers to help in a wide variety of situations when developing Statamic websites. se_each Modifier, The se_each modifier can be used to render another template for each item within an...

Laravel Router Helper Function: patch

patch($uri, $action) The patch function is a shortcut to registering a route with the router that responds to the PATCH HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the...

Creating a Statamic Compact Modifier

Throughout this article we will be creating a Statamic modifier that provides similar functionality to PHP's compact function. This function will create an array from the provided variables by name. As a refresher, let's take a look at how the...

Laracon, Blade and What's Next

I spent last week in Denver with the Statamic team to attend Laracon and hang out. It was a great time, and a much-needed change of pace from my basement office staring into glowing rectangles. Much fun was had, as well as many discussions...

Part Two: Creating a Custom Pagination View in Laravel

This is part two of two in a series of posts on how to create a custom pagination view in Laravel. Before reading this part, it is highly recommended that your first read Part One: Creating a Custom Pagination View in Laravel of this series. In...