Best ways to validate data in Laravel
Data validation is one of the most important part of applications. Usually we don’t want to allow users to send garbage data, so we want to make sure that everything we save (usually in database) is as expected. We trim strings, we make sure url is really url and not user name, we make sure … [Read more…]