Ad

Blog

RSS Feed

PHP 8.3 and Imagick extension inside Docker

@machinateur Nov 21, 2024 4 min read

Adding ext-imagick to a PHP 8.3 Docker image, from source.

The situation

I recently found myself setting up a new PHP project, with its own simple Docker image.

What I already knew:

Apache 2 will likely be th...

Mobile tab hoarders, behold: The ultimate tab-transfer tool

@machinateur Nov 10, 2024 12 min read

Showcasing the latest release of tab-transfer:

A tool to transfer Google Chrome tabs from your Android or iPhone to your computer.

See https://github.com/machinateur/tab-transfer/releases/tag/0.5.1 (*) for more informa...

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...