Showing posts in Laravel

Sticky Posted 21 Oct. 2018 @ 02:45 PM

Dealing with FormData

FormData can get messy. Really messy. Because, apparently, null === null”. With a combination of a frontend helper and a backend middleware, all problems may be solved in a pretty intuitive way. Note: This is designed for the Laravel/​Vue combination – feel free to amend to your requirements; the concept is pretty damn simple.

Linked 27 Nov. 2018 @ 07:33

Giving Collections a Voice

Linked 7 Jul. 2018 @ 09:59

Easily implement subscription models with Laravel Plans

Posted 7 Jul. 2018 @ 09:45 AM

Some quick, useful Laravel tips

Since November, I’ve been working with a small web-dev firm that uses Laravel for all its clients’ API backends. Over time, we’ve been taking new approaches to solving problems, and simplifying our code to make life easier in the long run. Here are some quick and useful tips we’ve been following as part of this process.

Posted 5 Jan. 2018 @ 01:10 PM

How to add a custom validation message in Laravel 5.5 Form Requests

In Laravel 5.5, JSON responses are a little different. In particular, you’ll find that validation exceptions have changed, and it’s easy to miss what the upgrade guide says about it.

Linked 27 Dec. 2017 @ 07:51

Goodbye controllers, hello request handlers

Linked 14 Oct. 2017 @ 03:31

ZA Phone for Laravel