Tag: PHP

5 posts

All posts

Building a Live Dart Scoreboard with Symfony, Mercure, and Turbo Streams

After a night out at the pub with friends, we ended up playing a game of darts called Killer. It's a great game, chaotic, social, and surprisingly strategic. But keeping score on a piece of paper or on someone's phone notes app is a mess. Someone always loses track, someone else disputes a point, and half the group…

Continue reading — Building a Live Dart Scoreboard with Symfony, Mercure, and Turbo Streams

Creating a HoneyPot to avoid Spam in Symfony Forms

On one of the sites I have set up with a contact form there started to get quite a few automated spam messages. To avoid this I could add something like reCaptcha but first I'll try to take care of this on my own and not add more Google stuff to the page. My form was pretty simple: Based on my Message Entity: The form…

Continue reading — Creating a HoneyPot to avoid Spam in Symfony Forms

WebP converter

Make the world smaller? WebP is developed by Google. it is a Picture for the Web (get it ?). The idea is to make the images smaller to reduce the loading time of websites. This sounds great but it is not very simple for the average person to save his images in this format. Also as this is a pretty recent format not…

Continue reading — WebP converter