Articles Page 17

2020-04-18

Some time ago I stopped to maintain the $fillable attribute on my Laravel models, but rather started filling the $guarded attribute. And the reasons are pretty obvious if you think about it.

2020-04-17

Since php7 we can use grouped use statements to make multiple classes of a namespace available through a single use statement. Let's take a look at this approach and how we can benefit from it.

2020-04-16

How much do you really know about composer or the composer commands that you use? Here is a list of the most common composer commands I use.

2020-04-15

Sometimes the Laravel IDE Helper package can't help you with getting the auto-completion for your facades to work in PhpStorm. So here I have a nice and easy way to handle this when the ide-helper package let's you down.

2020-04-14

I always see people using their editors to look into logs. So here is how not to embarrass yourself when working with log files 😉