Trying out event sauce paired with
redis streams. Interesting combo, wondering if anyone else out there has tried it?

Hot tip 🔥

Got a flat array as a parameter but want to ensure type safety? Consider converting the function to a variadic function 😃💻

I wish there was a way to enforce/default strict_types=1 within the ini config 🤷‍♂️

Hot tip 🔥

If you're passing a lot of arguments to a constructor or method, try to see if you can group them and create a new class/object with the arguments as properties. It'll better describe the domain and provide additional documentation🙂

P.S. these are called DTOs (Data Transfer Objects) or Value Objects

Where are you finding your contributions for ? 🎃👨‍💻

How do you handle HEIC image manipulation/conversion in ?

"Simplest" solution (not really) seems to be to compile imagick with `--with-heic=yes`

Cool site note about Canada's election, all of the big political party websites are built with



Messed around with Kafka this weekend, setup a very basic demo using Docker. Looking to dive deeper, if you have great resources for Kafka + PHP please share! 🙂

Hot tip 🔥

If you're passing an associative array around, consider converting it to an object. It'll better describe the domain, provide type checks (via constructor or properties assuming you're on PHP 7.4+), and potentially documentation if you add docblocks 😃

Hello PHP social verse! How have you found your PHP calling? Whatever it may be, blogging, making tutorials, contrib to OSS, etc?

I'd like to contrib to OSS but I'm having a hard time figuring out which project make sense and how to start 😅️

PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.