📰 Dev.to · Ivan Mykhavko
Articles from Dev.to · Ivan Mykhavko · 11 articles · Updated every 3 hours · View all reads
All
⚡ AI Lessons (9449)
ArXiv cs.AIDev.to · FORUM WEBForbes InnovationDev.to AIOpenAI NewsHugging Face Blog

Dev.to · Ivan Mykhavko
1w 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...

Dev.to · Ivan Mykhavko
1mo 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...

Dev.to · Ivan Mykhavko
2mo 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...

Dev.to · Ivan Mykhavko
2mo 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...

Dev.to · Ivan Mykhavko
3mo 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. ...

Dev.to · Ivan Mykhavko
3mo ago
whereHas() vs whereRelation(): Readability Over Shortcuts
Laravel devs love their shortcuts. Tighter syntax, less boilerplate it's satisfying to trim down a...

Dev.to · Ivan Mykhavko
3mo 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...

Dev.to · Ivan Mykhavko
4mo 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...

Dev.to · Ivan Mykhavko
5mo 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...

Dev.to · Ivan Mykhavko
6mo 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...

Dev.to · Ivan Mykhavko
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,...
DeepCamp AI