Kévin Dunglas' blog. About API Platform, Mercure.rocks, Vulcains.rocks, Symfony, Go, HTTP/2 and more.
✍️Write rieview ✍️Rezension schreiben 🏷️Get Badge! 🏷️Abzeichen holen! ⚙️Edit entry ⚙️Eintrag bearbeiten 📰News 📰Neuigkeiten
Compressing HTTP responses can significantly improve the performance of your PHP and Symfony applications. But you must still navigate the jungle of standards and formats. In this presentation, we’ll discover how HTTP compression works, the different formats supported by modern web browsers (deflate, gzip, Brotli, and the brand-new Zstandard), and how to use them correctly....
The post HTTP compression in PHP (new Symfony AssetMapper feature) first appeared on Kévin Dunglas.5.12.2024 15:59HTTP compression in PHP (new Symfony AssetMapper feature)Amazing! waiting for the 1.3-php8.2-bookworm build! Thank you!
13.11.2024 11:09Comment on FrankenPHP 1.3: Massive Performance Improvements, Watcher Mode, Dedicated Prometheus Metrics, and More by SilvioCongrats! Are we good to migrate to 1.3 now?
13.11.2024 08:20Comment on FrankenPHP 1.3: Massive Performance Improvements, Watcher Mode, Dedicated Prometheus Metrics, and More by Guillaume PontyI’m thrilled to announce the immediate availability of FrankenPHP 1.3, just in time for SyliusCon, where I’ll be presenting this new version this afternoon. First of all, I’d like to thank all the contributors, and in particular Alexander Stecher and Rob Landers, the other two project maintainers, who have done a titanic job. An incredible...
The post FrankenPHP 1.3: Massive Performance Improvements, Watcher Mode, Dedicated Prometheus Metrics, and More first appeared on Kévin Dunglas.13.11.2024 07:48FrankenPHP 1.3: Massive Performance Improvements, Watcher Mode, Dedicated Prometheus Metrics, and MoreWhat to do when the debugger has a bug? That’s the question I had to answer when my GitHub notifications went haywire because a new version of Xdebug was crashing FrankenPHP and therefore all the projects that use it. Together, we’ll retrace the epic story of this debugging debugger and discover a method that can...
The post How to debug Xdebug… or any other weird bug in PHP first appeared on Kévin Dunglas.11.10.2024 10:48How to debug Xdebug… or any other weird bug in PHPAPI Platform 4 was released today during the API Platform conference. It now officially supports Laravel! Let’s get started: Check out our brand new “getting started” guide for Laravel.
The post API Platform for Laravel first appeared on Kévin Dunglas.19.9.2024 15:40API Platform for LaravelGreat post! Containerization has indeed transformed the deployment landscape for PHP apps. I appreciate the tip about optimizing Dockerfile layers to speed up build times and reduce image sizes. The section on managing environment variables securely was particularly insightful. Thanks for sharing these practical tips!
30.5.2024 05:35Comment on Containerization Tips and Tricks for PHP apps by WebtoniqAPI Platform was one of the first PHP frameworks to provide native support for Docker, Docker Compose, Kubernetes, and, more recently, Skaffold. The API Platform skeleton also served as the basis for Symfony Docker, the most popular solution for containerizing Symfony projects. These years of developing skeletons compatible with dev environments, continuous integration chains, and...
The post Containerization Tips and Tricks for PHP apps first appeared on Kévin Dunglas.28.5.2024 13:58Containerization Tips and Tricks for PHP appsWe recently introduced the AssetMapper component and Symfony UX to make the most of the web platform and reduce the amount of JavaScript code to the absolute minimum. This “radically simple” approach is generally the most efficient, and should be the go-to method for most new Symfony applications. However, API-based, JavaScript-heavy applications are still inevitable...
The post Front-end application development, Symfony-style(s) first appeared on Kévin Dunglas.2.4.2024 13:08Front-end application development, Symfony-style(s)Here’s the talk I gave at Laracon EU 2023: And here are the slides:
The post Running Laravel Apps With FrankenPHP (Laracon EU) first appeared on Kévin Dunglas.28.2.2024 14:55Running Laravel Apps With FrankenPHP (Laracon EU)Hello Thank you for this new feature. Looks very nice Any informations about performances ? And when the application is build, is there any way to extract the PHP source code ? Thank you
8.12.2023 16:22Comment on PHP and Symfony Apps As Standalone Binaries by NicolasDDistributing PHP applications is quite complicated. For instance, to run a Symfony project in production, a web server, the PHP engine, and the appropriate PHP extensions need to be installed. Their versions and configurations must be compatible with the app. Because PHP is an interpreted language, the application source code must also be available. Composer...
The post PHP and Symfony Apps As Standalone Binaries first appeared on Kévin Dunglas.8.12.2023 14:31PHP and Symfony Apps As Standalone BinariesThe subscribe mechanism on this site doesnt work. I just get errors on various browsers.
7.12.2023 19:34Comment on Mercure, Braid, PREP… news about subscribing to HTTP resource updates by NickIntroduction For 32 years now, the venerable HTTP protocol has been at the heart of the Web. This protocol enables “resources” (anything that can be named can be a resource, but these are often documents) to be retrieved from a server using their unique identifier: their URL. Since 1991, the Web has exploded in popularity,...
The post Mercure, Braid, PREP… news about subscribing to HTTP resource updates first appeared on Kévin Dunglas.28.11.2023 16:40Mercure, Braid, PREP… news about subscribing to HTTP resource updatesVery informative and helpful article. Thanks for your hard work!
7.11.2023 01:53Comment on Webperf: Boost Your PHP Apps With 103 Early Hints by Mr Alexandre J-S William ELISÉGoogle Chrome, Firefox, Caddy, and Apache now support a new HTTP status code: 103 Early Hints. Since version 6.3, Symfony also supports 103 responses, and FrankenPHP also supports it natively. This new, rather unusual type of response has a single objective: to speed up the loading time of your websites and applications by allowing the...
The post Webperf: Boost Your PHP Apps With 103 Early Hints first appeared on Kévin Dunglas.13.10.2023 13:18Webperf: Boost Your PHP Apps With 103 Early HintsIn reply to <a href="https://dunglas.dev/2023/09/the-php-revolution-is-underway-frankenphp-1-0-beta/comment-page-1/#comment-102947">Rob Landers</a>. Can you elaborate what are the "patterns in PHP that are too complex to implement in C#" please?
29.9.2023 06:12Comment on The PHP Revolution Is Underway: FrankenPHP 1.0 Beta by Jan KadlecIn reply to <a href="https://dunglas.dev/2023/09/the-php-revolution-is-underway-frankenphp-1-0-beta/comment-page-1/#comment-102945">Sidux</a>. To run Wordpress ofc
22.9.2023 14:40Comment on The PHP Revolution Is Underway: FrankenPHP 1.0 Beta by OscarIn reply to <a href="https://dunglas.dev/2023/09/the-php-revolution-is-underway-frankenphp-1-0-beta/comment-page-1/#comment-102948">asdf</a>. Seems like, https://github.com/dunglas/frankenphp-wordpress
22.9.2023 14:30Comment on The PHP Revolution Is Underway: FrankenPHP 1.0 Beta by MutahharIn reply to <a href="https://dunglas.dev/2023/09/the-php-revolution-is-underway-frankenphp-1-0-beta/comment-page-1/#comment-102948">asdf</a>. Yes it does. Checkout the GitHub page. There is a sample of WordPress.
22.9.2023 14:17Comment on The PHP Revolution Is Underway: FrankenPHP 1.0 Beta by namankumar80510