Month: January 2018

php artisan optimize

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

/ January 30, 2018
Blade directives in laravel 5.6

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

/ January 29, 2018
Argon2i Laravel support

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

/ January 29, 2018
Installing Homestead on Windows

Installing Laravel Homestead on Windows step by step procedure with explanation

Laravel Homestead is an official, pre-packaged Vagrant box that allows you to develop amazing applications without installing prerequisites such as PHP, a web server and other development software on your machine. Homestead runs on Windows, Mac or Linux environments. It...

/ January 22, 2018
Laravel 5.4 specified key was too long error

Laravel 5.4: Specified key was too long error

Laravel 5.4 and higher uses utf8mb4 character set by default, which also includes support for storing emojis. It only affects new applications and as long as you are running MySQL higher than 5.7.7 release or MariaDB higher than 10.2.2 release. If you are...

/ January 12, 2018
Model Factories in Laravel

Learn to Use Model Factories in Laravel

Laravel has a feature called model factories that allows you to build fake data for your models. It is very useful for testing and seeding fake data into your database to see your code in action before any real user...

/ January 11, 2018
Laravel Packages

Top 10 packages for extending Laravel

Laravel is a free and open source PHP framework for creating web applications. At the time of writing, it is undoubtedly the most popular PHP framework. It offers a lot of features such as authentication, routing, model-view-controller architecture, eloquent and...

/ January 9, 2018