In most applications validation logic is placed in standardised places. You can do it inside of FormRequest objects or as par...
Read morePosts
Generally speaking, the easiest way to do this is comparing the name of the current route and the one you'd like to test agai...
Read moreHave you ever needed access to the current user's name or email address in your applications JavaScript? There are many diffe...
Read moreLivewire's polling API is great for periodically refreshing your component or invoking an action, but one of the more quietly...
Read moreLots of applications involve date and time manipulation. Whether it's figuring out what day of the week it is, how many secon...
Read moreWhen a customer at Surewise wants to take out a new insurance policy, they can only take one out with a start date within the...
Read moreThe "Repository pattern" is essentially another level of abstraction on top of your database abstraction layer. In ...
Read more