So what goes into running a profitable educational screencast company for developers? Here's everything I use.
Because Livewire and Alpine.js are so tightly linked, calling a Livewire method from your Alpine components is a breeze.
I recently filtered a Laravel collection that was due to be output as JSON. To my surprise, it didn't work as intended. Here's what happened, and how to resolve it!
For whatever reason, you may need to disable Laravel Nova automatically using Scout when searching. Here's how.
Table names don't change often, but it's still nice to reference table names directly from your Eloquent models, so you don't end up with a bunch of hardcoded table names.
If you're merging multiple models into a Laravel collection or just have a collection of data you need to paginate, here's an easy, clean way to do it.
Here's the technique I use to design, generate, cache and serve social images for the article you're reading right now.
If you want to count unique views for models in your Laravel apps, you might reach for a database table. There's a much easier and faster way though, using Redis.
When you fill a database row with any kind of random or generated data, checking for collisions is a great idea.
If you have a list of items you need to be able to drag, drop, then set a new order in the database — good news, it's pretty straightforward to do with Livewire and Alpine.