News
Aggregated news about Symfony
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
With deep sadness, we share that Ryan Weaver — co-founder of SymfonyCasts, father,
husband, beloved teacher, and friend — has passed away after a long and courageous
journey with brain...
Swag Industries
·
We Inspire AI
Our old slogan was "Computing, except it works properly", it was slightly provocative but never pretentious. We wanted to write about tech. specifically practical, functional...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Installing PHP and Symfony CLI Locally
The Symfony CLI makes local development a breeze - but it works best when PHP
is installed directly on your machine. Let's walk through setting up PHP (plus
common database extensions)...
JoliCode blog - Symfony
·
SymfonyLive Paris 2025 comme si vous y étiez
Les 27 et 28 mars 2025, la Cité Internationale Universitaire de Paris a résonné sous les applaudissements : le Symfony Live Paris célébrait les 20 ans de Symfony !
Nous y étions à...
JoliCode blog - Symfony
·
Comment migrer du type array vers JSON avec Doctrine
Doctrine a déprécié les types array et object en version 3. Il est temps de migrer vers un type plus interopérable, et moins sensibles au refactoring ! Vous l’aurez compris, il faut...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Ditch mailto Links: Pre-Fill & even Attach Files with Symfony Mailer (.eml Magic!)
The `mailto:` link is a simple way to open an email client with a pre-filled
email. But what if you want this email to have a pre-filled attachment?
Let's dive into how...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Mailtrap Tutorial (Free) = Mailer + Webhook + Contributing back to Symfony
The free Mailtrap tutorial is here! It's all about the Mailer & Webhook
components with the joy of previewing emails in a sandbox. As a bonus,
this tutorial triggered several...
JoliCode blog - Symfony
·
Adding PHP Function to Symfony ExpressionLanguage, The Simple Way 👌
Today I want to share a quick tip for Symfony users ✌️. When you use the ExpressionLanguage component you get a context: some variables and some functions.
Those functions are not the...
Swag Industries
·
Install Go on Ubuntu 24.04
Install Go on Ubuntu 24.04 natively using apt or snap.
JoliCode blog - Symfony
·
Écrire des assertions PHPUnit plus simples grâce au VarDumper
Les tests unitaires sont une étape cruciale pour garantir la qualité de votre
code, mais parfois, les répétitions peuvent devenir lassantes. Avez-vous déjà soupiré en enchaînant des...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
SymfonyCasts November Open Source Roundup!
This month we've got 6 SymfonyCasts open source releases, let's take a quick
look at what's new and give a huge thanks to all the contributors who helped make
these...
The Strangebuzz PHP/Symfony blog
·
A better ADR pattern for your Symfony controllers
This post shows various experiments and attempts around the ADR pattern applied to Symfony controllers.
JoliCode blog - Symfony
·
Désactiver des routes Symfony en production
Dans certains cas, il peut être nécessaire d'avoir des actions qui ne sont disponibles que lorsqu'on développe en local, mais pas en production. On peut penser au styleguide...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Using a Symfony Reproducer
Now that you've created a Symfony reproducer, let's use it to fix a
bug in Symfony or verify a fix proposed by someone else. We'll fork
the Symfony repository, link...
JoliCode blog - Symfony
·
PHP Object Lazy-Loading is More Than What You Think
We recently attended a talk about lazy-loading by Nicolas Grekas and it inspired me this blogpost!
We can find lazy-loading in all modern PHP applications, in ORMs, for example. But...
The Strangebuzz PHP/Symfony blog
·
Playing with the Symfony tagged iterator
In this post, we see how we can use the Symfony tagged iterator to gather services of the same type. For sure, it is one of the most useful Symfony features.
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Creating a Symfony Reproducer
Oh snap! You've discovered what you suspect is a bug in Symfony.
Don't despair, Symfony is open source so there are many ways you can
help get it resolved. Let's look...
SymfonyCasts - PHP and Symfony Video Tutorial Screencasts
·
Kevin Bond (aka Zenstruck) joins SymfonyCasts
Kevin Bond (aka Zenstruck) is joining forces with us as a head
tutorial writer. This means tutorials created by Kevin in the SymfonyCasts
style you know and love. It also means the...
The Strangebuzz PHP/Symfony blog
·
Installing and using php-cs-fixer
In this post, we see different methods to install and use php-cs-fixer. We see that it's not as obvious as it seems.
Florent Destremau
·
Upgrade your Twig "includes" syntax with a simple regex
I tinkered with ChatGPT and ended up with a pretty simple regex that you can use on your Twig project to upgrade to the syntax from this:
To this:
Here's the script below, update...