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 π
π±
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 π
π±
super article ! Γ§a me fait regretter de ne pas utiliser postgre π
et il manque les lateral join π
Rdv chez Marti mercredi 3 dΓ©cembre π
25.11.2025 07:50 β π 1 π 0 π¬ 0 π 0
Foundry 2.8 released, which introduces new attribute`#[AsFoundryHook]`
github.com/zenstruck/fo...
#php #symfony @zenstruck.com
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
Yeah, this is awesome π€©
25.10.2025 18:02 β π 2 π 0 π¬ 0 π 0
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)
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...
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
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
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
So true π
14.08.2025 22:29 β π 1 π 1 π¬ 0 π 0github.com/hbekel/magic (avec le lien, c'est mieux π )
14.08.2025 10:19 β π 1 π 0 π¬ 1 π 0j'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
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`
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
`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...
Hey Romain!
Why didn't you define an interface for the attribute, to enforce the map method?
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
plein de bons conseils sur la relecture d'une PR ici
gb-prod.fr/2016/12/01/l...
π @gbprod.bsky.social
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
Haha sounds familiar π
25.05.2025 20:29 β π 1 π 0 π¬ 1 π 0
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
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
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...
Very good post
suckup.de/2025/05/the-...