Elektrine lite

← Feed

LoΓ―c Faugeron

loicfaugeron@phpc.social

<p>My name&#39;s pronounced &quot;Law-eek&quot; (as in &quot;coup-le o&#39; week-s&quot;)<br />β€’ πŸ§‘β€πŸ’»οΈ I&#39;m a Lead / Senior backend developer<br />β€’ ⚧️ My pronouns are: he / his<br />β€’ 🐘🎼 I write PHP and Symfony code<br />β€’ 🐬🐘 I develop with MySQL and PostgreSQL databases<br />β€’ πŸ§πŸ’» I use Linux/Mac and the CLI<br />β€’ 🧱🦿 I like LEGO and Bionicle</p>

Posts

  • Post #4205120

    Great to see another big company using #PHP and #Symfony ! https://sensiolabs.com/success-stories/yuka-a-healthy-balanced-symfony-upgrade

  • Post #4031538

    TIL: one thing I was annoyed with phpactor was the spawning of `find` processes to index stuff. Today I decided to do something about it! Originally I was thinking about swapping `find` for `fd`, so I looked at the docs. Turns out there&#39;s a better option: find re-scans periodically for changed files even if nothing changed. But `inotify` (Linux) and `fswatch` (macOS) can be used instead, which is more efficient because they listen for OS notifications when the files actually changed!

  • Post #3812543

    I&#39;ve made a video describing my 2026 dev workflow / setup: AeroSpace, tmux, #vim and more. https://youtu.be/xsz4LZvUtgU

  • Post #2758390

    I saw @SecondeJ reply to a post with the following link (&amp;quot;Think of an Elephant&amp;quot; by Liam Hammett), and I couldn&amp;#39;t agree more. This is somewhat related to the &amp;quot;PHP lacks marketing&amp;quot; discussion: we need to carefully consider how we talk about PHP, to better promote it. https://liamhammett.com/think-of-an-elephpant

  • Post #2500121

    Symfony TUI component MERGED! πŸŽ‰ https://github.com/symfony/symfony/pull/63778#discussion_r3104843460

  • Post #2500119

    Now I want raindrop ripples in my terminal. Cube spinning when switching tmux sessions! Wobbly tmux windows!! https://www.youtube.com/watch?v=cY9AX5j-osY

  • Post #2500118

    One of PHP biggest problem is lack of marketing, you say? Let&amp;#39;s fix that. Thames (the good dog in picture) proudly recommends PHP. https://stitcher.io/blog/php-biggest-problem

  • Post #2353621

    #PHP &amp;amp; #Symfony in 2026: the stack worth a CTO’s attention https://mustiere.fr/en/blog/php-symfony-2026-cto-perspective/

  • Post #1010532

    I’m on the hunt for good #Artemis clips to show with my daughters. Any favs to share? Here are pictures of our LEGO SLS + Orion as payment (set 60228 from 2019) Best clip we have is about the launch (with booster separation!): https://youtu.be/rKhtEkr127Y?is=-wL0mPsqCXI2iMsd Would love to find more in space clips

  • Post #946817

    How to turn a PHP app into a standalone binary? I&amp;#39;m working on DTK, a CLI tool made with PHP / Symfony. It runs fine with `php dtk`. But asking teammates to have the right PHP version, extensions, and Composer? Friction I&amp;#39;d rather not impose on anyone. Turns out PHP can produce a standalone binary. No PHP needed on the target machine. The trick is literally a cat command 😼 Full article: https://gnugat.github.io/2026/03/25/turn-you-php-app-into-a-standalone-binary.html #php

  • Post #929113

    Woops. I just realised that in Rector, RuleSet::PHP_85 doesn&amp;#39;t contain the previous versions (8.4, 8.3, etc). So when a new PHP version comes, we add the RuleSet, but we don&amp;#39;t remove the previous ones. got it. 🫑

  • Post #929110

    RE: https://phpc.social/@asgrim/116341393166196043 Static PHP binary for PIE! Amazing 😻

  • Post #817670

    Let me translate to English @pockystar &amp;#39;s Tweet Storm of the #Symfony_Live Paris 2026 for you. Fabien&amp;#39;s keynote: a new Symfony Terminal component, to build TUIs

  • Post #784597

    @dantleech@fosstodon.org legit concern, especially given the recent js, python etc supply chain attacks. But it&#39;s what&#39;s being used for FrankenPHP, NativePHP, Laravel Herd, and Castor (JoliCode).

  • Post #784127

    I&#39;ve just added a &quot;Distribution / Upgrade&quot; section, demonstrating how easy it is to use a package manager for your PHP bin, such as homebrew (mac and Linux). https://gnugat.github.io/2026/03/25/turn-you-php-app-into-a-standalone-binary.html#distribution-%2F-upgrade

  • Post #746813

    I have a Form!

  • Post #746810

    Qalin, BisouLand&amp;#39;s Test Control Interface, has 3 UIs: a CLI, API and Web. And to my utter dismay, I kept reaching for the Web UI. I live in the terminal. Unacceptable. Next week Fabien will announce a Component to build TUI apps, at SymfonyLive Paris. I literally couldn&amp;#39;t wait. So I built a TUI with PHP-TUI, a PHP port of Rust&amp;#39;s Ratatui. My geek honour is saved 😼. Check out the article detailing it here: https://gnugat.github.io/2026/03/18/xl-12-php-tui.html

  • Post #553247

    @dantleech@fosstodon.org I&#39;ll see if I can figure this out. Heck, I might even try to go down The Elm Architecture way πŸ˜…

  • Post #552973

    @dantleech@fosstodon.org so I&#39;m slowly finding my footing. I&#39;ve got a concept of &quot;Screens&quot; and &quot;Layouts&quot;. I&#39;ve seen that Widgets are all about the &quot;rendering&quot;, but somehow lacking the behaviour side. For example: I&#39;ve created a HotkeyTabsWidget: tabs that can be switched by pressing the corresponding hotkey. I suppose a corresponding HotkeyTabsComponent would manage the behaviour?

  • Post #512740

    When my 2 apps (monolith and Qalin) started needing the same domain objects, I had a choice: publish packages to Packagist, and feel the pain of having to update multiple repos to propagate a change... Or pull up a 10 year old trick: monorepo. 2 apps, 10 packages, zero extra tooling. Composer path repositories handle it all out of the box! I&#39;ve written about how to set this up. https://gnugat.github.io/2026/03/04/xl-11-monorepo.html

  • Post #404870

    How do you test a feature that only triggers 3 days after registration? You could wait. Or hack the DB. Or hardcode a bypass. Or... expose a dedicated internal API that presets your app into any state on demand, like they&#39;ve done at Bumble. I couldn&#39;t find an established name for this pattern, does one exist? I&#39;ve written about how to build one with modern #Symfony Usable by devs, QA, designers and product alike, through a CLI, API and web UI. Even in PHPUnit tests! https://gnu...

  • Post #254701

    PHP CS Fixer can add `declare(strict_types=1)` to ALL PHP files in the project, but what if some of those rely on loose types? RectorPHP (now) has you covered: it can add it only to files that are safe. https://getrector.com/blog/introducing-safe-and-progressive-strict-type-adoption-rule

  • Post #233188

    Symfony&#39;s got a super secret mascot since 2025: the SymPony. Why is there no official announcement introducing the cutie? πŸ¦“ Here&#39;s a clip about it: https://youtube.com/clip/UgkxLaUvYHSClyeTCPaeLkuwIJ68Oh9QFydu?si=D3tF2towLesGuI68 And here&#39;s a picture of my SymPony