Here is a quick tip that will speed up your Laravel unit tests straight from Taylor Otwell (the creator of Laravel).
For this change you just need to edit the `CreatesApplication` trait and add the function `Hash::setRounds(4);` into the createApplication method. The setting will change the work factor of the bcrypt hasher. Many people are seeing speed changes of up to 50% so it's worth trying out.
Update your CreatesApplication trait to include this Hash::setRounds call and then compare the speed difference in running your tests. ? pic.twitter.com/WKGUOgyTCI
— Taylor Otwell ?♂️ (@taylorotwell) December 19, 2017
Get weekly updates to your email