Most of the tips'n tricks are Laravel related. From time to time you might find some other tips'n tricks. If you are interested in something you don't find yet, get in touch on Twitter.

November 16th, 2019

Autocompletion for webpack path aliases in PhpStorm when using Laravel Mix

If you are using Laravel Mix with a custom webpack configuration for aliasing paths, PhpStorm can not autocomplete these paths. Here is a little trick on how you can get it done anyway.
June 12th, 2019

Multiple forms with same input names on one page

Imagine you have multiple forms on one page. For example one contact form and another newsletter signup form. Both of them might have an email field. So how do you know which email field doesn't validate and throws an error?
June 10th, 2019

A middleware for removing trailing slashes

What really cool about Laravel middleware is, you can put in really little pieces of code. In my case, I wanted to remove all the trailing slashes and redirect to the same URL without the trailing slash.