PHP
How we're using static analysis to improve our codebase
A static analyzer helps you to find bugs in your code without even running it. Popular static analyzers for PHP are Psalm and PHPStan. In this post, we’re going to look at what such a Read more…
PHP
The benefits of writing tests
I’ve been creating web applications for over 15 years now. It’s only in the last five years that I’ve learned how to test an application automatically. I can safely say that there is no other Read more…
PHP
How to test middleware in Laravel
[AdSense-A]
In this video, which is part of the Testing Laravel video course, I explain to cool ways to test middleware in Laravel.
In this video, we're using Pest, but you can easily use the techniques in a PHPUnit testsuite as well.
(more…)PHP
How we use ElasticSearch, Kibana and Filebeat to handle our logs
Flare runs on a few different servers that each produce their own logs. In this post, you’ll learn how you can combine multiple logs in a single stream. Read more
PHP
Don't use Mocking libraries
Native PHP functionality and having a good design in the first place provide everything you need to avoid a mocking library. Read more
PHP
Laravel Seeders on Steroids
Seeders are a great way of creating fixture data, as well as dummy data, for your development environment. Let me show you how we can make them even better. Read more
PHP
Are you a component control freak?
If you’re into React, you’ll appreciate these patterns for working with uncontrolled components Read more
PHP
Introducing Iterator Functions
This post exmplains how you can work with iterators and generators as if they were arrays. Read more
PHP
Add And Remove Table Row Dynamically In Angular.
Here, we will learn about how we can dynamically add and remove table rows using VueJs. Step 1: Create New App. ng new angular-addremove Step 2: Update ts file. Add below code in src/app/app.component.ts. import { Read more…