Understanding Laravel seeders and model factories using an e-commerce MVP use case


How misusing empty() function can lead to subtle bugs