Skip to content
Josh Anthony
.info
  • Github
  • Linked In
  • Twitter
  • Instagram
  • Email
  • About Me
  • Gamedev
  • Programming
  • Life
  • Cool Stuff
  • Downloads

Laravel: Validate Fields Only When One Is Present

Programming
Posted on 2018-02-23Leave a comment on Laravel: Validate Fields Only When One Is Present

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.

Laravel and PHPUnit Error: Supported Ciphers

Programming
Posted on 2018-02-06Leave a comment on Laravel and PHPUnit Error: Supported Ciphers

An odd error involving Laravel and PHPUnit, and searching Google found no solution…

React Error: Expected a string, got object

Programming
Posted on 2018-01-27Leave a comment on React Error: Expected a string, got object

Here’s a React error that took me awhile to figure out.

Super Mario in the Real World

Cool Stuff
Posted on 2018-01-22Leave a comment on Super Mario in the Real World

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 Redirect Status Code

Programming
Posted on 2018-01-02Leave a comment on Laravel Redirect Status Code

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.

Strive For Success

Life
Posted on 2017-12-30Leave a comment on Strive For Success

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.

Wildcards in Laravel Routes

Programming
Posted on 2017-12-28Leave a comment on Wildcards in Laravel Routes

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!

Posts navigation

Prev 1 … 3 4

Social

  • View @jantho1990’s profile on Twitter
  • View josh-anthony-138818bb’s profile on LinkedIn
  • View Jantho1990’s profile on GitHub

Categories

  • About Me
  • Gamedev
  • Programming
  • Life
  • Cool Stuff
  • Downloads
Copyright © 2023 Josh Anthony. All rights reserved.