Showing 10 of 1,322 results.

Implementing Laravel Artisan Console Commands

The first step to creating custom commands is to generate the basic structure, or scaffolding, for the new command. This can be done by issuing the make:console Artisan command from the terminal. The make:console command accepts the name of the...

Laravel 5: Array Helper Functions

Laravel provides many helper functions for interacting and manipulating array data structures. Laravel's array functions offer additional functionality on top of PHP's built in array functions. The helper functions in this section are located...

Display Comment Counts

The {{ meerkat:count }} Antlers tag can be used to display the total number of comments for the current page. By default, the count tag will not consider comments that have not been approved, are marked as spam, or have been soft-deleted. The...

5. Conveying Modified Source Versions. | License

You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices...

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...

Filter Search