@dunglas@mastodon.social
@dunglas@mastodon.social avatar

dunglas

@dunglas@mastodon.social

Founder of https://mastodon.online/@cooptilleuls, a tech worker cooperative. Free Software creator: https://fosstodon.org/@ApiPlatform, Mercure, Vulcain, FrankenPHP, various Symfony components…

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dunglas, to Laravel
@dunglas@mastodon.social avatar

Yesterday I learned that it's possible to change the path where apps store uploaded files, caches, logs, etc thanks to the LARAVEL_STORAGE_PATH env var. This is super convenient when distributing apps as standalone binaries using FrankenPHP.

https://github.com/laravel/framework/pull/51243

dunglas, to random
@dunglas@mastodon.social avatar

Serve a PHP app behind a reverse proxy using FrankenPHP, the Proxy Protocol, or trusted headers: https://github.com/dunglas/frankenphp/discussions/718#discussioncomment-9250960

dunglas, to random
@dunglas@mastodon.social avatar

The Caddy rate limit module of the great Matt Holt now supports request matching rules with the Caddyfile format ⚡️

https://github.com/mholt/caddy-ratelimit/pull/45

dunglas, (edited ) to Symfony
@dunglas@mastodon.social avatar

Big day for ! A new version containing many static binaries-related fixes and improvements has been released (mimalloc support, autodetection of needed PHP extensions...).

https://github.com/dunglas/frankenphp/releases/tag/v1.1.3

Also, the long-standing "MySQL has gone away" issue when running apps in worker mode has been fixed by Allison Guilhem 🎉

https://github.com/symfony/symfony/pull/53214

dunglas, (edited ) to php
@dunglas@mastodon.social avatar

🧙 @arnaud_lb has crafted a patch for that improves performance when using @ApiPlatform by 20% with GNU libc and 40% with musl (Alpine Linux). What a wizard!
Of course, this will also benefit many other projects.

https://github.com/php/php-src/pull/13974

dunglas, to random French
@dunglas@mastodon.social avatar

Are you using in production? Please let us know!

dunglas,
@dunglas@mastodon.social avatar

@Skoop Nice! Thanks. Could you share the name of the project or could we use the name of your company in the reference list we are creating?

dunglas,
@dunglas@mastodon.social avatar

@shochdoerfer @bitexpert great! would you be able to share the names of the customers? We’re gathering a user list.

dunglas, to random
@dunglas@mastodon.social avatar

Thanks to , @withinboredom and I discover (and sometimes fix) many bugs in @php itself! Free software FTW. https://github.com/php/php-src/pull/13942

dunglas, to random
@dunglas@mastodon.social avatar

The latest versions of Chromium-based browsers now support Zstandard compression by default. This means that all your websites using Caddy or FrankenPHP are served using this state-of-the-art compression format for users of Chrome, Edge, and Opera 🎉.

dunglas, to random
@dunglas@mastodon.social avatar

Don't miss on June 27 in Paris. The lineup is top-notch! 😎

dunglas, to random French
@dunglas@mastodon.social avatar

FrankenPHP will soon be able to automatically detect the extensions to build for PHP apps packaged as standalone binaries. To do so, we use Composer of course! https://github.com/dunglas/frankenphp/pull/717

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

OK... here is a question ( but other communities are welcome to comment.

When building a decoupled app, do you consider the usage of something like
ClassWithAnnoyingName::class
(not to call the class, but to reference the name as a string and to simply avoid to type it out) as coupling?

IMHO, it is not

  • it is very trivial to replace with its string value if needed
  • it greatly improves DX
  • it greatly reduces errors because of typos

But what do you think ? And why ?

dunglas,
@dunglas@mastodon.social avatar

@dgoosens my 2 cents: it's ok in an application, but probably a sign of the lack of an extension point to do control inversion in a library.

dunglas, to random French
@dunglas@mastodon.social avatar

X-Sendfile/X-Accel-Redirect support is coming to and all Caddy modules! https://github.com/caddyserver/caddy/pull/6232

dunglas, (edited ) to php
@dunglas@mastodon.social avatar

Tonight at the @afup meetup, I'll be explaining how to debug the most bizarre problems in your applications. I'll take the opportunity to explain in an accessible way (I hope) how the execution engine of the venerable language that powers the web works.

Case in point: I'll show you how to use these techniques to find and fix a bug in... a debugger (in this case, Xdebug).

No need to know C (or even PHP) to attend this live coding session!

https://www.meetup.com/afup-hauts-de-france-php/events/300011985/

dunglas,
@dunglas@mastodon.social avatar

@derickr @afup Unfortunately, this will not be recorded, but I will likely submit a longer version of this presentation at a conference.

About Xdebug, I'll mostly explain step by step how - with your help (thanks!!) - we crafted this patch: https://github.com/xdebug/xdebug/pull/958

dunglas, to random
@dunglas@mastodon.social avatar

Ryan Weaver makes huge contributions to the API Platform, Symfony, and PHP ecosystems, as well as to the free software movement as a whole. It's time for the community to return the favor. Please support Ryan.

https://www.gofundme.com/f/support-ryans-brain-cancer-battle

dunglas, to php
@dunglas@mastodon.social avatar

✨ New patch releases of Mercure and the Symfony Mercure component are available. They fix small bugs in the Helm chart and the integration.

https://mercure.rocks

dunglas, to random
@dunglas@mastodon.social avatar

Radically simple, super-efficient "low-JavaScript" approach or full-fledged TypeScript application using a "heavy" framework and consuming an API? Symfony supports both approaches, and I explained how to choose during Paris.

https://dunglas.dev/2024/04/front-end-application-development-symfony-styles/

dunglas, to random French
@dunglas@mastodon.social avatar

Achievement unlocked: I debugged a debugger! https://github.com/xdebug/xdebug/pull/958

dunglas, to random French
@dunglas@mastodon.social avatar

Most free and open-source software is supplied "as is", with no guarantee of maintenance. Want more? Pay for it, or fork it and go it alone.

https://x.com/robmen/status/1774067844785086775

dunglas,
@dunglas@mastodon.social avatar

@pierstoval as long as the license allows me to fork, I’m fine with that.

Software maintained by a large non-commercial entity or by a co-op is the best (but is often not enough to fix the free labor problem), but commercially supported MIT-like software is still way better than proprietary software.

dunglas, to drupal
@dunglas@mastodon.social avatar

💧 was a real blast! I had the opportunity to introduce FrankenPHP to a very welcoming and knowledgeable community. After that, @nod_, @fgm and I worked to improve FrankenPHP support for .

We created a secure Caddy configuration and updated the Drupal+FrankenPHP Docker skeleton: https://github.com/dunglas/frankenphp-drupal

dunglas, to random French
@dunglas@mastodon.social avatar

On the train for Paris 🚅

Today I run an @ApiPlatform workshop and tomorrow I’ll explain when (and how) to use @symfony UX or API Platform JavaScript tools. Be there 🎉

dunglas, to random
@dunglas@mastodon.social avatar

FrankenPHP 1.1.2 is out. Thanks to @withinboredom, this version fixes a problem with requests >= 2MB.

https://github.com/dunglas/frankenphp/releases/tag/v1.1.2

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • PowerRangers
  • hgfsjryuu7
  • magazineikmin
  • InstantRegret
  • rosin
  • everett
  • Youngstown
  • slotface
  • vwfavf
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • Leos
  • Durango
  • tacticalgear
  • cubers
  • cisconetworking
  • khanakhh
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • tester
  • normalnudes
  • ethstaker
  • modclub
  • provamag3
  • All magazines