✕ Clear all filters
16 articles
▶ Videos →

📰 Dev.to · Ivan Mykhavko

16 articles · Updated every 3 hours · View all reads

All Articles 113,914Blog Posts 123,092Tech Tutorials 29,054Research Papers 23,295News 16,911 ⚡ AI Lessons
Why telescope:clear Is Slow and How to Reclaim Disk in Seconds
Dev.to · Ivan Mykhavko ⚡ AI Lesson 2mo ago
Why telescope:clear Is Slow and How to Reclaim Disk in Seconds
A while back I wrote about laravel-telescope-flusher - a tiny package I built to wipe Telescope data...
$fillable Has No Context: Why Mass Assignment Breaks Down at Scale
Dev.to · Ivan Mykhavko ⚡ AI Lesson 3mo ago
$fillable Has No Context: Why Mass Assignment Breaks Down at Scale
Mass assignment in Laravel is one of those things that feels like magic at first. You see it in every...
PHP Enums Are Not Your Bottleneck (Here's Proof)
Dev.to · Ivan Mykhavko ⚡ AI Lesson 4mo ago
PHP Enums Are Not Your Bottleneck (Here's Proof)
When you're building a large export - say, 50_000 order items, you start looking at every part of the...
Why I Avoid PHP Traits (And What I Use Instead)
Dev.to · Ivan Mykhavko 5mo ago
Why I Avoid PHP Traits (And What I Use Instead)
PHP traits are usually presented as a handy way to reuse code. In practice, they are one of the most...
Why Laravel Can't Guess Your Factory Relationships
Dev.to · Ivan Mykhavko 5mo ago
Why Laravel Can't Guess Your Factory Relationships
Laravel factories make testing a breeze, especially when you've got models that connect to each...
Stop Flaky Tests: Freeze Time in Laravel Testing
Dev.to · Ivan Mykhavko 6mo ago
Stop Flaky Tests: Freeze Time in Laravel Testing
About a year ago, I wrote about freezing time when testing Laravel's temporary storage URLs. ...
whereHas() vs whereRelation(): Readability Over Shortcuts
Dev.to · Ivan Mykhavko 6mo ago
whereHas() vs whereRelation(): Readability Over Shortcuts
Laravel devs love their shortcuts. Tighter syntax, less boilerplate it's satisfying to trim down a...
PHP 8.5 Pipe Operator (|>) – Is It Worth Using?
Dev.to · Ivan Mykhavko 6mo ago
PHP 8.5 Pipe Operator (|>) – Is It Worth Using?
PHP 8.5 recently landed, so I wanted to try out some of the new stuff. Today I'm diving into the pipe...
Don't Let Your Staging Server Die: Separate Task Scheduling in Laravel
Dev.to · Ivan Mykhavko 7mo ago
Don't Let Your Staging Server Die: Separate Task Scheduling in Laravel
If you're running Laravel in production, you probably use task scheduling. It's one of those features...
Laravel Validation after() - After What, Exactly?
Dev.to · Ivan Mykhavko 8mo ago
Laravel Validation after() - After What, Exactly?
If you've worked with Laravel's Form Requests, you've probably run into the after() method for custom...
Battling Laravel's Sneaky DELETEs: How I Got ORDER BY and LIMIT to Play Nice with Joins
Dev.to · Ivan Mykhavko 8mo ago
Battling Laravel's Sneaky DELETEs: How I Got ORDER BY and LIMIT to Play Nice with Joins
Hey folks, if you've ever stared at your terminal in horror as Laravel cheerfully deletes half a...
Seamless Nuxt 2 Deployment: A Step-by-Step Guide with GitLab CI/CD and DigitalOcean
Dev.to · Ivan Mykhavko 📣 Digital Marketing & Growth ⚡ AI Lesson 1y ago
Seamless Nuxt 2 Deployment: A Step-by-Step Guide with GitLab CI/CD and DigitalOcean
1. Introduction Deploying a web application can often feel like a daunting task,...