KNP Labs

KNP Labs “We offer Quality Development services for your Symfony project.” We only hire and train passionate developers: be sure that they will care about your code!

The KNP Labs agency was started in 2009 by developers for entrepreneurs, CTOs and communication agencies all over the world. Our goal is to help you make your Symfony2 project a success thanks to our experience with it − both in commercial and open-source projects.

End-to-end tests with JS but no web server?!🎭  Playwright-PHP + Symfony hands the request straight to your Symfony kerne...
08/09/2026

End-to-end tests with JS but no web server?!
🎭 Playwright-PHP + Symfony hands the request straight to your Symfony kernel - so you get container access, PHP exception catching, DAMA rollbacks and ParaTest.
From a real browser. 🤯

Real browser. Real JavaScript

Rewind ⏪ Cosmic Coding with Symfony  #6Twig's template inheritance is neat. Working exactly like object-oriented inherit...
07/09/2026

Rewind ⏪ Cosmic Coding with Symfony #6
Twig's template inheritance is neat. Working exactly like object-oriented inheritance (in fact, it was once implemented behind the scenes as OO inheritance!), we break our base template into as many parts as we want, then override those from the child.

Uses Twig template inheritance so a page template can plug its content into a shared base.html

Rewind ⏪ Cosmic Coding with Symfony  #5I absolutely ❤️ Twig.We get to know the 3 Twig syntaxes, filters & more. Oh, and ...
04/09/2026

Rewind ⏪ Cosmic Coding with Symfony #5
I absolutely ❤️ Twig.We get to know the 3 Twig syntaxes, filters & more. Oh, and packs! Unrelated to Twig, packs are a way to install multiple packages at once to get everything you need for a robust setup.

Uses Twig in Symfony 7 to move HTML out of controllers, render templates with data, and understand Twig’s core syntax so controllers still return Response objects.

Rewind ⏪ Cosmic Coding with Symfony  #4Fun fact: Symfony projects start as a *single* file: composer.json! So then where...
02/09/2026

Rewind ⏪ Cosmic Coding with Symfony #4
Fun fact: Symfony projects start as a *single* file: composer.json! So then where do the other files come from? Say hello to Symfony's unique recipes systems. To show it off, we'll install PHP CS Fixer, skip configuration & use it immediately.
https://symfonycasts.com/screencast/symfony/flex-recipes

Rewind ⏪ Cosmic Coding with Symfony  #36 minutes: that's all we need to explain the first half of Symfony: route -> cont...
31/08/2026

Rewind ⏪ Cosmic Coding with Symfony #3
6 minutes: that's all we need to explain the first half of Symfony: route -> controller -> response. The song of the web!

Builds Symfony’s first real page by wiring a route to a controller method and returning an HttpFoundation\Response, establishing the core “route + controller = page” pattern.

🔐 Symfony Security Basics  #17Let's protect our login form from brute-force attacks! We'll enable Symfony's login thrott...
27/08/2026

🔐 Symfony Security Basics #17
Let's protect our login form from brute-force attacks! We'll enable Symfony's login throttling, see what happens when we trip the limiter, then dig into its configuration and how it works. Delightful nerdery!

Enables Symfony login throttling to limit failed login attempts, explains the required RateLimiter dependency and cache-backed storage, and shows how the default per-IP/per-username and global IP limits work to reduce brute-force login attacks.

🔐 Symfony Security Basics  #16User impersonation is super useful... until you forget you're impersonating someone! Let's...
25/08/2026

🔐 Symfony Security Basics #16
User impersonation is super useful... until you forget you're impersonating someone! Let's make it painfully obvious when we're switched to another user and add an easy way to exit.

Adds clear production UI for Symfony user impersonation: detect IS_IMPERSONATOR, show a prominent warning, provide an “exit impersonation” link, and control where the user lands after exiting.

Adresse

8q Rue Emile Péhant
Nantes
44000

Notifications

Soyez le premier à savoir et laissez-nous vous envoyer un courriel lorsque KNP Labs publie des nouvelles et des promotions. Votre adresse e-mail ne sera pas utilisée à d'autres fins, et vous pouvez vous désabonner à tout moment.

Raccourcis

Partager