Library PHP Tek 2026 Supercharge your PHP apps with Go-powered PHP extensions
PHP Tek TV

Log in to watch this talk

You need to be logged in to access this video. If you don't have an account, purchase a virtual pass for the latest php[tek] conference to get access to the full video library.

Supercharge your PHP apps with Go-powered PHP extensions

Alexandre Daubois Alexandre Daubois PHP Tek 2026 Beginner Standard (50 minutes)

Frameworks like Laravel and Symfony gives us a huge amount of flexibility through their service container and drivers system. Sometimes, PHP itself becomes the bottleneck. In this talk, we’ll go one layer deeper: writing a custom PHP extension with FrankenPHP and Go, without any C code, before plugging it directly into Laravel as if it were a native feature. Let's see how we can implement an in-memory LRU cache as a PHP extension, then expose it to Laravel and Symfony through a custom cache driver. Step by step, we'll explore how to extend the caching system with our high-performance extension. Expect to see real code and real internals! Even if you never wrote a PHP extension yourself, you’ll walk away with a deeper understanding of both Laravel’s and Symfony's flexibility, as well as PHP’s core runtime, without prior knowledge in C. It opens endless possibilities to blow-up your apps performances!