's Avatar

@nikophil.bsky.social

72 Followers  |  182 Following  |  63 Posts  |  Joined: 08.12.2024
Posts Following

Posts by (@nikophil.bsky.social)

pour avoir bossΓ© sur un gros projet avec postgres, je peux t'assurer que c'est un plaisir Γ  utiliser :)

aprΓ¨s une migration de SGDB sur des projets aussi gros que ceux sur lesquels on bosse, Γ§a fait un peu flipper πŸ˜…πŸ˜±

25.02.2026 14:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

super article ! Γ§a me fait regretter de ne pas utiliser postgre πŸ˜‘
et il manque les lateral join 😜

25.02.2026 09:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Rdv chez Marti mercredi 3 décembre 😘

25.11.2025 07:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Release v2.8.0 Β· zenstruck/foundry This release introduces a new attribute #[AsFoundryHook], which allows to declare Foundry hooks as Symfony services. It also permits to have "global" hooks for all kind of objects created with Foun...

Foundry 2.8 released, which introduces new attribute`#[AsFoundryHook]`

github.com/zenstruck/fo...

#php #symfony @zenstruck.com

09.11.2025 15:02 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
Post image

Symfony 7.4 brings a cleaner way to define console inputs: command arguments and options can now be mapped directly to PHP classes and enums using attributes like `#[MapInput]`, `#[Argument]`, and `#[Option]`.

Type-safe, structured input for your CLI commands πŸŽ‰πŸ•πŸ₯“
#Symfony #PHP #DX

09.11.2025 12:48 β€” πŸ‘ 14    πŸ” 6    πŸ’¬ 0    πŸ“Œ 1

Yeah, this is awesome 🀩

25.10.2025 18:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - bamarni/composer-bin-plugin: No conflicts for your bin dependencies No conflicts for your bin dependencies. Contribute to bamarni/composer-bin-plugin development by creating an account on GitHub.

I like to use this composer plugin
github.com/bamarni/comp...

So that we can fix the versions of the tools (and their dependencies does not mess with ours)

11.10.2025 11:42 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
PHP’s New URI Extension: An Open Source Success Story The PHP Foundation β€” Supporting, Advancing, and Developing the PHP Language

Say goodbye to parse_url() headaches! πŸ₯³

PHP 8.5 is introducing a new URI Extension with standards-compliant (RFC 3986 & WHATWG) and secure URL parsing. It provides a clean API and lets you easily modify URI components.

Learn more πŸ‘‡

thephp.foundation/blog/2025/10...

10.10.2025 11:40 β€” πŸ‘ 20    πŸ” 12    πŸ’¬ 0    πŸ“Œ 0

just released zenstruck/foundry 2.7

This release deprecates the proxy system in PHP 8.4 in favor of an auto-refresh mechanism which leverages PHP lazy objects. Huge milestone!

We provide a Rector set in order to ease the upgrade.
github.com/zenstruck/fo...

@zenstruck.com
#php #symfony

17.09.2025 15:38 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

I'm a Go, JS/TS, C and PHP developer. I also know many other languages, although I'm less efficient with them (I try to learn one a year).

In 2024, I'm still choosing #PHP for most new projects because:

1/4

20.11.2024 21:54 β€” πŸ‘ 63    πŸ” 19    πŸ’¬ 1    πŸ“Œ 4

yeah we say "debeuguer" / "deboguer"

we like to "frenchify" eerything we touch πŸ˜…

we also say "merger" as "to merge" even if this word does not exist in french

03.09.2025 14:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

So true πŸ˜…

14.08.2025 22:29 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - hbekel/magic: define bash functions on a per-directory basis define bash functions on a per-directory basis. Contribute to hbekel/magic development by creating an account on GitHub.

github.com/hbekel/magic (avec le lien, c'est mieux πŸ˜…)

14.08.2025 10:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
foundry/Makefile at 1aefc394059a315ef8567de9745efd5ba6aacfd0 Β· zenstruck/foundry A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine. - zenstruck/foundry

j'avais fait un truc comme Γ§a, Γ  l'Γ©poque oΓΉ j'utilisais encore Make : github.com/zenstruck/fo...

14.08.2025 10:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

yep tout à fait, c'est d'ailleurs très pratique, comme ça, tu clones un projet, tu peux directement lancer genre `make sf arg="cache:clear"` et il va te lancer docker, installer les vendors, etc...

mais Γ§a se fait au prix de la lisibiltΓ© du Makefile je trouve

14.08.2025 10:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

je trouve cet argument discutable : j'utilise un petit soft qui s'appelle "magic", qui permet de dΓ©finir dans un fichier `.spells` des alias contextualisΓ©s Γ  un rΓ©pertoire

dans un ancien projet on avait commitΓ© ce fichier, comme Γ§a tout le monde bΓ©nΓ©ficiait des alias `sf`, `symfony`, `phpstan`

14.08.2025 10:12 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

ha oui oui on est d'accord qu'on peut faire pire :D

blague à part, c'est super pratique pour certaines choses, et celui ci m'a l'air clair et lisible, mais je préfère 100 fois utiliser un alias pour lancer des commandes phpunit / symfony ou autre

14.08.2025 09:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

`make test arg='./tests/Unit'`
`make composer arg='install --optimize-autoloader'`

please don't do that πŸ˜…

pourquoi se faire autant de mal ? et au passage on perd l'autocompletion...

14.08.2025 08:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hey Romain!
Why didn't you define an interface for the attribute, to enforce the map method?

23.07.2025 19:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Vous avez vu, l’Espagne va baisser la TVA sur les produits essentiels. Vous savez pourquoi on ne le fait pas en France ? La rΓ©ponse courte, c’est Macron, comme souvent. Mais le dΓ©tail du pourquoi est hyper intΓ©ressant. Explications :

22.07.2025 21:00 β€” πŸ‘ 371    πŸ” 179    πŸ’¬ 14    πŸ“Œ 9
La revue de code bienveillante Je pratique la revue de code depuis plusieurs annΓ©es maintenant. Bizarrement, c'est toujours un exercice difficile. Qu'on la reΓ§oive ou qu'on la donne, que ce soit en pair programming, en groupe ou pa...

plein de bons conseils sur la relecture d'une PR ici

gb-prod.fr/2016/12/01/l...

πŸ‘ @gbprod.bsky.social

18.07.2025 11:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

one of the best feature of PHP 8.4 IMO

18.06.2025 18:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Foundry 2.6 is released πŸŽ‰

We've introduced a new command `bin/console foundry:load-stories` you can use to load fixtures in your database

see docs for more info symfony.com/bundles/Zens...

@zenstruck.com
#php #symfony

05.06.2025 09:04 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1

Haha sounds familiar 😏

25.05.2025 20:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Release v2.5.0 Β· zenstruck/foundry 30270ec feat: introduce "in-memory" behavior (#590) (#901) by @nikophil 87acf7a feat: add generic doctrine-like repository for in-memory (#887) (#901) by @nikophil ae662a3 minor: make "in-memory" c...

Foundry 2.5 is released πŸŽ‰

This release comes with "in-memory" repositories support, and a nice performance improvement.

github.com/zenstruck/fo...

The "in-memory" behavior is still experimental, feedback is very welcome!

#php #symfony @zenstruck.com

13.05.2025 06:45 β€” πŸ‘ 8    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Allez, lisez ceci, et pourrissez votre propriΓ©taire. Faire chier les marchands de sommeil est un devoir civique. β™₯

11.05.2025 14:55 β€” πŸ‘ 528    πŸ” 137    πŸ’¬ 4    πŸ“Œ 0
Preview
feat: replace proxy mechanism with PHP 8.4 lazy objects by nikophil Β· Pull Request #893 Β· zenstruck/foundry relates to #899 I think we'll release this in Foundry 2.6

it seems like Foundry will soon leverage PHP 8.4 lazy objects, and we will be able to get rid of a lot of quirks and complex/ugly code πŸŽ‰πŸ‘€

#php #symfony
github.com/zenstruck/fo...

09.05.2025 09:57 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
The PHPDoc Guide (2025 Edition) String-based pseudo-types Numeric & bounded pseudo-types Arrays, lists, and shapes Object & class-based types Callable types Generics with @template, @extends, @implements Constant values ...

Very good post
suckup.de/2025/05/the-...

01.05.2025 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Fantasy : la nouvelle prise de risque de Yoann Kavege - ActuaBD Il avait gagnΓ© le prix C'est plus que de la SF avec Moon Deer. Son space opera au trait rond, quasiment muet, avait marquΓ© l'Γ©closion de Yoann Kavege au rang des auteurs Γ  suivre dans le nouveau paysa...

😍 ça a l'air vraiment chouette ça

25.04.2025 07:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0