Showing 10 of 2,145 results.

Laravel: Available Hashing Methods

Even though Laravel only provides a Illuminate\Contracts\Hashing\Hasher implementation for the bcrypt function, there are many more hashing functions that are available to developers. The following functions are available through the use of PHP's...

Executing a Command | Laravel Artisan: Interacting With Commands

To execute an Artisan command we first need to invoke the artisan console application. The console application is typically located in the root directory of the Laravel application and is named artisan . Some shells support invoking the...

Laravel Collection Public API: reduce

reduce(callable $callback, $initial = null) The reduce method is to reduce a collection into only one item. It does this by iterating over the collection and applying the $callback function on each item. The $callback function should define two...

Laravel Artisan Migration Command: The migrate:status Command

The migrate:status command can be used to check the status of each migration. The command will output a table that lists each migration and an indicator of whether or not the migration has been ran. The migrate:status command provides a few...

Overview | Validating Blade

This documentation page is intended for those looking to implement their own Blade validators, or are curious to learn more about the system. If you are interested in running existing validators against your Laravel project, consider reading the...