Showing 10 of 2,044 results.

Laravel: Implementing a CRYPT_STD_DES Hasher

In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP s crypt function and the CRYPT_STD_DES hashing function. Before we write the code for the CRYPT_STD_DES implementation, we will examine each method...

se_capture Tag

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

getLocale() | The Laravel Translator

The getLocale method is used to retrieve the current locale being used by the translator. The method is required by Symfony's TranslatorInterface . 1 <?php 2 3 // Get a `Translator` instance from the application container. 4 $ translator = app ( '...

License

Search Report for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...

Laravel: Implementing a CRYPT_EXT_DES Hasher

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

Method 2: Using Events | Guide: User-Only Comment Setup

The second method to populate the authenticated_user value is by using events. This method can be useful if you do not want to rely on a hidden field value, which could be changed by the user before submitting. For simplicity, we will be using...

License

Documentation Search for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files...

setParserErrorsIsStrict | Blade Compiler

Sets whether the compiler will fail on any parser error. When set to true, the compiler will fail on any error type. When set to false, it will only fail on fatal errors. Argument Description $isParserErrorsStrict Whether to fail on any parser...