@nikophil.bsky.social
66 followers 180 following 58 posts
Posts Media Videos Starter Packs
Reposted
thephpf.bsky.social
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...
PHP’s New URI Extension: An Open Source Success Story
The PHP Foundation — Supporting, Advancing, and Developing the PHP Language
thephp.foundation
nikophil.bsky.social
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
github.com
Reposted
dunglas.dev
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
nikophil.bsky.social
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
nikophil.bsky.social
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
nikophil.bsky.social
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`
nikophil.bsky.social
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
nikophil.bsky.social
`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...
nikophil.bsky.social
Hey Romain!
Why didn't you define an interface for the attribute, to enforce the map method?
Reposted
malauss.bsky.social
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 :
nikophil.bsky.social
one of the best feature of PHP 8.4 IMO
nikophil.bsky.social
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
symfony.com
nikophil.bsky.social
Haha sounds familiar 😏
Reposted
bouletcorp.bsky.social
Allez, lisez ceci, et pourrissez votre propriétaire. Faire chier les marchands de sommeil est un devoir civique. ♥
camillestineau.bsky.social
🔴 [TUTO] : Comment économiser légalement PLUSIEURS CENTAINES D'EUROS sur son loyer chaque mois à Paris.

Il suffit de faire respecter ✨l'encadrement des loyers✨ à son propriétaire.

Petit tuto en thread pour vous montrer comment faire. Pour l'exemple on va prendre cet appart.