PHPnews.io

Overview for 'stitcher-io'

09. Test factories

Written by Stitcher.io / Original link on Jan. 29, 2020

Note: this chapter mostly addresses domain-related code. We'll come back to the application layer in future chapters. In this chapter of Laravel beyond CRUD, we're going to look at how we can manage domain data for tests. Test factories in Laravel are a known concept, though they lack in many areas…


PHP in 2020

Written by Stitcher.io / Original link on Jan. 17, 2020

It's no secret among web developers and programmers in general: PHP doesn't have the best reputation. Despite still being one of the most used languages to build web applications; over the years PHP has managed to get itself a reputation of messy codebases, inexperienced developers, insecure code,…


Preloading benchmarks in PHP 7.4

Written by Stitcher.io / Original link on Jan. 10, 2020

After writing about how preloading works, it's time to measure its impact in practice. Before diving into results, we need to make sure we're all on the same page: what we're measuring, and what not. Because I want to know whether preloading will have a practical impact on my projects, I'll be runn…


08. View models

Written by Stitcher.io / Original link on Dec. 6, 2019

In this chapter of my Laravel beyond CRUD series, we take a deep dive in the application layer. A major trend throughout the series is to keep code clean, concise and manageable. This chapter won't be any different, as we'll look at how to keep controllers clean and to-the-point. The pattern we'll…



What's new in PHP 7.4

Written by murze.be / Original link on Nov. 25, 2019

PHP 7.4 will probably be released this week. My colleague Brent wrote a good post on all the shiney new things this release brings. PHP 7.4, the latest version before PHP 8, brings lots of new featur…