I see a lot of packages that could make use of Laravel facades to make their services more accessible. But I completely agree with everyone who would say that the Laravel facades documentation is kinda hard to read. So here is a quicker version to get you started.
Sometimes you need a slug version of a given string but don't want to include some external package. So here is the easiest way I could find to create slug representations of strings.
Today I was facing another mysql issue when working on my new side project. The issue was that I was writing more jobs into the jobs
table than the database queue driver could work off. Here is how I solved this issue and how I would recommend everyone to setup their queue on small servers.
Sometimes the Laravel IDE Helper
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.