Showing 10 of 1,280 results.

Lambdas And Closures

When building our applications in Laravel, we often make use of the routing system. The most basic example of this is by using the Route facade, and then appending a HTTP verb, the URI and some weird function looking thing: 1 <?php 2 3 Route ::...

What Are They? | Lambdas And Closures

As stated earlier lambda's are anonymous functions. That is, a function without a name. PHP allows you to create these lambda functions and assign them to a variable, or even pass them as arguments to a function (this is what we are doing with...

But Why? | Lambdas And Closures

These anonymous functions are useful when we as developers need to do something right then and there, but do not necessarily want, or need to create a dedicated function for the task. Like when we define routes in Laravel, it would be cumbersome...

RouteList | The Statamic Add-on Roundup

The RouteList is another add-on that is freely available to the Statamic community (you can read specific details about it at https://github.com/JohnathonKoster/statamic-route-list-command ). I am really comfortable developing applications with...

Installation and Overview

…at the following location: 1 views/social_media_images/blog/post.antlers.html This library supports the following extensions: .antlers.html, : Renders the template using Statamic's Antlers templating engine, .blade.php, : Renders the template...

Pagination Variables | Responses and Replies

…total_pages }} The total number of paginated pages. {{ current_page }} The current paginated page; this will match the query parameter for this paginator instance. {{ auto_links }} Provides ready-made HTML for the paginated results, built on top...

Translation Strings

…alidation-related translation strings. versions.php Provides translation strings related to Tidal's multiple software versions feature.For more information about how to work translation strings, consider checking out the following resources:...

RecentlyPublishedTags | The Statamic Add-on Roundup

The RecentlyPublishedTags add-on is just another Collection filter. Let's consider a blog post that has a tag "Laravel" that was published in the year 2014. If this tag is executed within the context of that blog post, it would automatically find...

Filter Search