Search

Showing 7 of 2,041 result(s)

/blog/2016/11/30/laravel-implementing-a-md5-hasher

In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP's crypt function and the CRYPT_MD5 hashing function. Like in the previous sections, we will examine each method before looking at the full...

/blog/2016/12/07/laravel-artisan-generator-command-the-makemigration-command

The make:migration command is used to generate a new migration class. Generated migrations are (by default) stored in the database/migrations directory. The make:migration defines a few parameters and options that can be used to customize the...

/site-essentials-for-statamic/v1/antlers-tags/se-capture

The se_capture tag can be used to store the results of a template section, and output it later as a string. This is particularly helpful if you want to reuse the results of a partial, or navigation menu in multiple places without having to render...

/blog/2014/07/19/procedure-vs-function-vs-method-vs#content-methods

Now we are on methods. And what an a mess we are about to get in. The term method falls out of object-oriented programming, of which we won't go into depth here. For now, an object is a collection of things that are related, or a program within a...

/blog/2016/11/30/an-introduction-to-laravels-artisan-console

The Artisan Command Line Environment (CLI) is a terminal based application that can be used to ease development with Laravel. Artisan ships with many commands by default as well as exposes APIs to create your own custom commands. Many of the...

/blog/2016/11/30/the-laravel-translator#content-haskey-locale--null

The has method determines if a translation exists. It accepts a $key , which corresponds to an array key within the translation group file, i.e., user . The method also accepts a $locale , which can be used to determine if a given key exists for a...

/blog/2021/12/05/creating-stacked-content-layouts-with-statamic-and-antlers#content-using-array-plucking

…s simply a way to access elements in an array be their index. In the following example, we would have access to the first element within an items array (because Antlers arrays, like PHP, always start their counting at 0 ): The following example,...