Moving this blog from Grav to Symfony
Grav worked well until its fifteen plugins started conflicting with PHP 8. I moved to Symfony to control the codebase and avoid relying on third-party plugins for features like comments and moderation.
5 posts
Grav worked well until its fifteen plugins started conflicting with PHP 8. I moved to Symfony to control the codebase and avoid relying on third-party plugins for features like comments and moderation.
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
PHP 8.1 added Enums, this allows us to set a defined number of possible values for an array. It is a very interesting way of making sure only the values we want can be to a specific value. So I started to play around with them, A while back and ran into a few issues with Doctrine and the Symfony FormType. Let's dive…
Continue reading — PHP 8.1 Enums, Doctrine and Symfony EnumType
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
At my company, CodeBuds, we make use of the Mattermost messaging platform to communicate. This is a very nice open source system that allows us to have it on our own server without any limits, unlike Slack. We figured it would be nice to be able to have our Symfony apps easily communicate with us on the platform. So…