Bram Devries

Bram Devries

24 posts
Automating malware scanning on uploaded files

Automating malware scanning on uploaded files

Implementing a malware scan for file uploads using ClamAV on DigitalOcean, this post details setting up a pragmatic solution despite infrastructure limitations. It covers the initial approach, technical setup, challenges, and potential improvements for a secure file-handling system.

The command pattern in Laravel

The command pattern in Laravel

This post delves into the Command Bus pattern, highlighting its use in software architectures and Laravel implementation. It covers commands as user actions, command handlers, and the Command Bus for execution, emphasizing the pattern's role in simplifying and maintaining code structure and logic.

Value objects vs DTOs

Value objects vs DTOs

Value objects are a common occurrence in domain driven design but are they always the best choice? In this article we’ll dive into a real situation where we consider the usage of a data transfer object.

Why defining a product vision is crucial in ensuring you are building the right things.

Why defining a product vision is crucial in ensuring you are building the right things.

A company should have a vision, but a product should also have one. A product vision may sound like something large corporates work on. It may sound like a waste of time. However, a good product vision helps your team make the right choices while building your product.

Why is operational documentation more important than you think

Why is operational documentation more important than you think

Do you have an employee handbook? Are senior people required to spend hours answering questions of colleagues? Here's how documentation can help.

Why it’s worth spending time on writing out tickets

Why it’s worth spending time on writing out tickets

Have a small team that likes to move fast and break things? You are writing tickets. Right?

Pusher alternatives for local development with Laravel Broadcasting

Pusher alternatives for local development with Laravel Broadcasting

Recently, I built a proof of concept for a feature using Laravel’s Broadcasting feature. While I was familiar with its existence, it was my first time actually using it for something.  With broadcasting, we’re referring to the concept of transmitting server-side events to one or more clients; typically,...

Adding GitHub annotations with PHP-CS-Fixer

Adding GitHub annotations with PHP-CS-Fixer

Have you ever seen an error message like the one above before? If you’ve used tools such as PHPStan alongside GitHub Actions then it might be familiar to you. GitHub refers to these as annotations. They are used to add an error message (on the offending line in a...

The easiest production-ready image to run your Laravel application

The easiest production-ready image to run your Laravel application

It’s no secret that we are big fans of Docker during our daily development work. It’s still one of the easiest ways to ensure a common working environment when developing locally and avoid the “It works on my machine” arguments. Even Laravel ships with a default Docker-based environment...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.