Tag: laravel-5.6

Laravel Underscores __() Function for localization based Translations
Laravel has a great helper function underscores (__) that we can use for JSON-based translations. Laravel 5.6 default authentication blade files also make use of underscore helper function. Like this: {{ __('Register') }} In previous versions of Laravel, we used...

Laravel 5.6 Dynamic Rate Limiting
Starting from Laravel 5.6, you can use dynamic rate limiting to specify maximum number of requests based on the attribute of the authenticated User model. When specifying a rate limit on a group of routes in previous versions of Laravel, you had...

Laravel 5.6 adds collision package for command line error reporting
Collision created and maintained by nunomaduro is an error handler package for PHP command line applications. Starting with Laravel 5.6, applications will contain a dev composer dependency for Collision package. This package gives you beautiful error reporting when interacting with your Laravel...

Laravel 5.6 Removed Artisan Optimize Command
php artisan optimize command was deprecated in Laravel 5.5. Now, after the official release of Laravel 5.6, it is removed. In Laravel 5.5, use of optimize command in the post-install-cmd and post-update-cmd scripts was no longer available. Now with Laravel 5.6, you cannot use...

Laravel 5.6 Two new blade directives
Laravel 5.6 will include two new blade directives. One for adding cross-site request forgery (CSRF) token in your forms and the other for defining form method. In Laravel 5.5 and below, you do the following at the top of the forms...

Laravel 5.6 will support Argon2i Password Hashing Algorithm
In 2013, Password Hashing Competition was announced to select one or more password hash functions that can be recognized as a recommended standard. On July, 2015 Argon2 was selected as the winner of Password Hashing Competition. This hashing algorithm was designed...