Articles Tagged: testing
Technical writings, opinionated architectures, and development guides tagged with testing.
Building Bulletproof Laravel APIs using Schema-First Contract Validation
Stop letting undocumented fields into your Laravel API. Write the JSON Schema first, then enforce it in middleware, DTOs, and your Pest test suite.
Testing Actions, Not Mocks
Mocking your own Actions tests the wiring, not the behaviour. How I test Laravel Action classes for real with Pest, and where fakes still belong.
Why your Laravel controllers should be almost empty
Learn architectural patterns to keep Laravel controllers thin, improve testability, and build maintainable applications.
Building your first MCP server with Laravel
Learn how to build a Laravel MCP server for task management with tools, resources, prompts, Sanctum auth, Pest testing, and Claude integration.
Building modular systems in Laravel - A practical guide
Learn how modular architecture transforms Laravel apps into scalable, maintainable systems.
Diving into Notifications
Learn to send multi-channel notifications in Laravel with email, Slack, and in-app alerts.
Behavioural Driven Development in Laravel
Discover how Laravel can embrace BDD with the 'Given When Then' approach, uniting teams and creating a ubiquitous testing language without new syntax.
Using Laravel Model Factories in your tests
Master the use of Laravel Model Factories for predictable test data. Learn how to define and modify states for various scenarios in your app.