Sometimes, when setting up validation for Laravel forms, you need to be able to set up validation rules for two fields, but allow for one of them to be ignored if the other is filled. This is how you can set up your validation rules to make that happen.
An odd error involving Laravel and PHPUnit, and searching Google found no solution…
Here’s a React error that took me awhile to figure out.
Here is a cool video I found of someone who recreated the first level of Super Mario Bros in augmented reality! Is it an AAA-caliber game? No, obviously, but it is an impressive tech demo and a sign of what AR can bring to the world.
Laravel’s documentation doesn’t make this obvious, but when you are using a redirect you can change what the status code of the redirect is.
Life is hard. It’s one of those clichés which happens to be true. Despite this, it’s always better to strive for success than to accept defeat. I know this because I have lived it.
Laravel doesn’t have a way to use wildcards in routes by default. However, you can add one in by using route parameters and regex constraints. Don’t worry: it’s super-easy to set up!