Showing 10 of 1,204 results.

Facade Class Reference | Laravel 5 Facades

The following tables will list all the facades that are available by default. In addition, they will display the name of the service container binding as well as the class behind the facade. If a particular facade provides additional methods (that...

Notes on Blade | Laravel 5 Facades

Most facades request a concrete class implementation from the service container based off of some abstract string representation. However, the Blade facade retrieve an "Illuminate\View\Engines\EngineResolver" instance from the...

Notes on Schema | Laravel 5 Facades

Like the Blade facade, the Schema facade does not simply resolve some instance from the service container. The Schema facade returns an instance of "Illuminate\Database\Schema\Builder" configured to use the default connection that appears in the...

Laravel Hashing: One Way Encryption

…ar to encryption, with the difference that hashing is a one-way process. The goal is that the original message cannot be retrieved from the resulting hash. Hashing is accomplished through the use of a hash function. A hash function generally...

Laravel Artisan Generator Command: The make:migration 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...

Laravel MessageBag Public API: all

…vely, developers can specify their own $format to customize the results each time the all method is executed. The all method will return an array containing all of the formatted messages. The following code will create a new MessageBag instance...

Antlers: Building Beautiful Websites with Statamic

…rite clean, maintainable, and efficient code. Beginning with foundational concepts such as tags, variables, and modifiers, the book naturally progresses into more complex topics, including conditional logic, managing arrays and loops, and...

Laravel 5 Message Bags: Merging Additional Messages With merge

…as already been taken' 3 1 => string 'The username is required' 4 2 => string 'The passwords do not match' Because the MessageBag class implements the MessageProvider interface, a MessageBag instance can be supplied as the argument for the...

Laravel Helper Function: bcrypt

…ns the same. The following example demonstrates how to call the bcrypt function: 1 <?php 2 3 for ( $ i = 0 ; $ i < 10 ; $ i ++ ) 4 { 5 // echo the hash and an HTML line break 6 echo bcrypt ( ' test ' ) , ' <br> ' ; 7 } The above example would...

Filter Search