Your App is a Package Manager
Keeping code organized, readable, and maintainable is tough, and there's no one-size-fits-all solution. Separating your features into dependencies is a good first step for most applications, resulting in cleaner code without the huge complexity cost of a microservice architecture.
Tidying Up Your PHPUnit Tests with Data Providers
Writing tests for real-world applications can be messy. Our intentions are good: we write a few tests to cover our edge cases, but we soon notice very similar logic repeated in each of them with only slight variances in the setup data. Maybe we're...