Saturday, January 6, 2018

Stop checking if record exists: Eloquent methods OrCreate and OrNew

http://laraveldaily.com/dont-check-record-exists-methods-orcreate-ornew/
Save yourself an if statement in Laravel.