27 Followers
39 Following
225 Posts

author of eureka-framework (with PSR-7) and some other components, like ORM, validator...
Also author of MySQL Queue system (for small queue < 100k): php-mqdb

working with PHP since more than 20 years

GitHubhttps://github.com/velkuns
Eureka (GitHub)https://github.com/eureka-framework

@phpunit @ssemicolons oh, missed that! Thank you for the heads up!
Looks like a really useful addition! Thanks @sebastian !

For reference, here is the feature's documentation: https://docs.phpunit.de/en/13.0/test-doubles.html#sealed-test-doubles

#php #phpunit #testdoubles #phpunit13

6. Test Doubles — PHPUnit 13.0 Manual

Migrated all my own running projects to #PHP 8.5.
That's easily possible, thanks to a great ecosystem. This includes:

* phpunit.de/
* phpstan.org/
* php.net/ itself of course
* nixos.org/
* launchpad.net/~ondrej

They make it easily possible to maintain and run projects based on PHP.

PHPUnit: The PHP Testing Framework

PHPUnit is the industry-leading test automation framework for software built using PHP.

I've completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/8

Done in #php

Today, I missed something in the puzzle instruction, and I can figure out why my code does not work.

So after navigating on some diverse resolution, I found mention of dedicated algorythm for this kind of thing.

But meh.
I'm stilling unsatisfied to not understand why. Maybe due to the english (not my native language) 😕

Code here: https://github.com/velkuns/adventofcode-2025/blob/main/src/Day/PuzzleDay8.php

Day 8 - Advent of Code 2025

I've completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/7

Done in #PHP

Very happy, solution run in ~25ms (by part, but same algo).
Not so difficult, just need to find a good optimized solution for part 2.

I use my matrix helper class again to ease the readability.

Code here: https://github.com/velkuns/adventofcode-2025/blob/main/src/Day/PuzzleDay7.php

Day 7 - Advent of Code 2025

I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/6

Done in PHP, as every year :)
Code available here, https://github.com/velkuns/adventofcode-2025/blob/main/src/Day/PuzzleDay6.php

Other days also available, I didn't post yet.
I don't optimize the day 4 now (but know how to do that, it is pretty simple).

But other part are quite optimised, globally around the milliseconds.

Pretty nice for #php code :)

Day 6 - Advent of Code 2025

I'm delighted to announce that FrankenPHP is now officially supported by the @thephpf, that the project repository will be moved to the @php organization on GitHub, and that the collaboration between the PHP project, the Caddy web server, and @cooptilleuls will intensify even further!

PHP is kicking!

https://les-tilleuls.coop/en/blog/frankenphp-is-now-officially-supported-by-the-php-foundation

FrankenPHP is now officially supported by the PHP Foundation | Les-Tilleuls.coop

The FrankenPHP project is now officially supported by the PHP Foundation to simplifiy the PHP development experience.

Les-Tilleuls.coop

Glossary

Blockchain: a slow database

Crypto: an expensive slow database

NFT: an expensive slow database to store URLs

AI: a way to write slow & inefficient algorithms

LLM: a database that stores text in a slow & inefficient way

Chat GPT: an expensive imprecise query language for slow & inefficient text databases that often returns wrong results

Credit: @thomasfuchs

I'm obsessed. 50% memory savings with PHP arrays have driven me crazy 🤪

For the past few weeks, my after-work research on PHP arrays has dominated my free time. The 'Never* use arrays' talk by @Crell at PHPKonf 2021 and a misinterpreted statement that you can save ~50% memory with PHP arrays have triggered intensive research on the topic.

[1/2]

#php #php_src #web_development #development #C #array #php_array

https://lukasrotermund.de/posts/php-array-object-benchmarking/

PHP arrays have driven me mad

Larry Garfield's 'Never* use arrays' talk really confused me. How can it be that objects in PHP save 50% memory? How can every PHP developer not be excited about this? And why don't you hear about it anywhere?

Nouveau Front populaire ou Rassemblement National : l’heure du choix

Pour soutenir la lutte dessinée :
▶️ https://ko-fi.com/allanbarte

Buy Allan BARTE a Coffee

☕️ Vous m'offrirez bien un petit café ? ❤️ Soutenez-moi aujourd'hui avec un don unique ( one time ) ou bien régulier ( membership ) 😘

Ko-fi

Today, I finished to update my #php ORM, with PHPStan level to max and with lots of generic types.

After so many hours and some refactoring, lots of errors were remaining.
But after some more refactoring, alleluia, it is working very well without errors.

And now, I have correct types for my entities 🤩

And the tests keep going green with one or two adjustments after refactoring!

Many thanks to @OndrejMirtes for PHPStan and @sebastian for those fantastic tools that help to make strong code 🙂