✕ Clear all filters
13 articles
▶ Videos →

📰 Dev.to · CodeCraft Diary

13 articles · Updated every 3 hours · View all reads

All Articles 175,248Blog Posts 163,941Tech Tutorials 46,697Research Papers 34,375News 22,092 ⚡ AI Lessons
State Pattern vs. Enums in Modern PHP
Dev.to · CodeCraft Diary 🔧 Backend Engineering 3mo ago
State Pattern vs. Enums in Modern PHP
In many PHP and Laravel applications, entity lifecycles start simple. An Order can...
How Mutation Testing Exposes the Truth (PHP 2026 Edition)
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
How Mutation Testing Exposes the Truth (PHP 2026 Edition)
You've got 85% code coverage. Your CI pipeline is green. You ship to production — and things break in...
Laravel Testing Mistakes That Make Your Tests Useless
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
Laravel Testing Mistakes That Make Your Tests Useless
Testing in Laravel can feel straightforward at first. You write a few tests, run php artisan test,...
Fat Controller to Clean Architecture in Laravel (Step-by-Step Refactor)
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
Fat Controller to Clean Architecture in Laravel (Step-by-Step Refactor)
Refactoring a fat controller in Laravel is one of the most impactful improvements you can make in a...
Laravel Queue Testing: What Most Developers Get Wrong
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 6mo ago
Laravel Queue Testing: What Most Developers Get Wrong
Queues are where “it works on my machine” quietly turns into production incidents. Emails are sent...
Contract Testing External APIs in PHP with Pact (Real Laravel Example)
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 6mo ago
Contract Testing External APIs in PHP with Pact (Real Laravel Example)
Testing integrations with external APIs is one of the most fragile parts of any web application. In...
Builder Pattern in PHP/Laravel: Building Clean and Flexible Order Objects
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 7mo ago
Builder Pattern in PHP/Laravel: Building Clean and Flexible Order Objects
In practice, orders in e-commerce systems often evolve over time, which makes them a perfect...
Writing Maintainable Feature test(Real Laravel example)
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 9mo ago
Writing Maintainable Feature test(Real Laravel example)
One of the things I enjoy the most about Laravel is how it encourages writing clean, testable...
Feature Testing in PHP: Ensuring the Whole System Works Together
Dev.to · CodeCraft Diary 🔧 Backend Engineering ⚡ AI Lesson 10mo ago
Feature Testing in PHP: Ensuring the Whole System Works Together
Feature tests are where the magic of real-world validation happens. While unit tests ensure each LEGO...