https://www.phparch.com/article/domain-logic-in-one-place/ By https://www.phparch.com/community/stathis-georgiou/ In this article, I want to examine one of the most common problems I have faced while working on many applications, legacy or not.
This month we’ll dive into upgrading a PHP 7.1 application originally built with the Laravel framework version 5.6 with reckless abandon.
Tests allow us to leap major versions of our framework and dependencies and even PHP versions in some cases.
We’ll ensure that responses are internally consistent, whether success response, or error response.