Ad

Overview

Welcome to machinateur.dev, my development blog and homepage.

I write about pretty much anything I've found to be poorly documented online regarding PHP and other web technologies. While I try to focus on the topics and stuff I wish I would've known earlier or that were hard to gain knowledge about, there is no shortage of bug-anecdotes and reports too.

If you'd like to know more about me and my qualification, have a look at the "About me" page.

Below you can find the three most recent blog posts...

(... find even more on the "Blog" page using search)

Using symfony front-controller to switch between applications

@machinateur Oct 10, 2024 7 min read

Have you ever been in a situation, where a completely separate test environment was impractical to integrate? I recently faced an interesting use-case for the symfony front-controller, which I thought was worth sharing (the technical...

How to sanitize full HTML 5 documents with HTMLPurifier

@machinateur Mar 01, 2024 15 min read

When it comes to sanitization of HTML content, HTMLPurifier (ezyang/htmlpurifier) is a popular library. Sanitization is commonly used in content management systems and really all kinds of software that deals with web content.

N...

Talking to Arduino from PHP using phpduino

@machinateur Jan 20, 2024 5 min read

This is what phpduino does.

// First register the protocol and stream wrapper, ... \Machinateur\Arduino\streamWrapper::register(); // ... then use the protocol in a stream function... $fd = \fopen('arduino://', 'r+b'); // ... and...