Symfony Station Communique - 10 December 2021. A Look at Symfony and PHP News.
Tags: symfony, php, drupal, docker
Published: 2021-12-10 15:25:59

This post originally appeared on [Symfony Station](https://symfonystation.com/Symfony-Station-Communique-10-December-2021).
 
Welcome to this week's Symfony Station Communique. It's your weekly review of the most valuable and essential news in the Symfony and PHP development communities. This week it's extensive again, so take your time and enjoy its most valuable items.
 
Thanks to Javier Eguiluz and Symfony for sharing [our last communique](https://symfonystation.com/Symfony-Station-Communique-3-December-2021) in their [Week of Symfony](https://symfony.com/blog/a-week-of-symfony-779-29-november-5-december-2021).

**My opinions will appear in bold.**
 
![Symfony Logo](https://symfonystation.com/sites/default/files/inline-images/Symfony-logo-horizontal_0.png) 
 
##Symfony
 
 
As always, we will start with the official news from Symfony.
 
Highlight -> "This week, Symfony 5.4.0 and 6.0.0 stable versions were released. In addition, SymfonyInsight announced its support for PHP 8.1. Finally, the SymfonyWorld Online conference is coming next week."
 
A Week of Symfony #779 (29 November - 5 December 2021)
https://symfony.com/blog/a-week-of-symfony-779-29-november-5-december-2021
 
 
Fabian provided an overview of all the posts Javier published on what's new in Symfony 5.4 while adding some for 6.0.
 
Symfony 5.4/6.0 curated new features.
https://symfony.com/blog/symfony-5-4-6-0-curated-new-features


Symfony UX is an initiative and set of libraries centered around the Stimulus JavaScript library. Symfony is pleased to announce several new releases:
Version 2.0 of all symfony/ux libraries
Version 3.0 of @symfony/stimulus-bridge
Version 2.0 of @symfony/stimulus-testing

Symfony UX has been updated to support Stimulus 3.

Symfony UX 2.0 & Stimulus 3 Support
https://symfony.com/blog/symfony-ux-2-0-and-stimulus-3-support

Symfony 6.0.1 released
https://symfony.com/blog/symfony-6-0-1-released

 
This one is self-explanatory.
 
Blackfire now supports PHP 8.1
https://blog.blackfire.io/php-8-1-support.html
 

![Featured item graphic](https://symfonystation.com/sites/default/files/inline-images/Featured-Item_0.png) 
 
##Featured Item

We continue to highlight [a post of the week](https://symfonystation.com/How-Symfony-Station-Built).
 
Our second item of original content is out. It’s a dual-function one serving as a case study of how Symfony Station was built and our About page. Learn how Symfony, Drupal, Layout Builder, Layout Paragraphs, Bootstrap, and Gutenberg became a crew.

[How Symfony Station was built: an adventurous exploration of layout solutions](https://symfonystation.com/How-Symfony-Station-Built)
 
 
###This week
 
Alex Daubois continues to publish helpful posts. This week he looks at end-to-end testing with Panther.
 
Symfony’s Panther: Unleash the Tests Beast
https://alex-daubois.medium.com/symfonys-panther-unleash-the-tests-beast-aca0131c08f5
 
 
Via SymfonyCasts: "Join me on a quick aside from security to leverage Symfony's serializer component to create a user JSON API endpoint. You will LOVE the result!
 
This week on SymfonyCasts
https://5hy9x.r.ag.d.sendibm3.com/mk/mr/aUHRyragkkEBC7jRbR7wRV8seuxnSGGwJldTlI-rkJRPukn0dEs_e9uzRyh_9XTIV56g1ztwLb9V5_UQ76UAbcZB77W30GXesdMLAT26vUuP7nJCULwtKYVIZ79LAi67jEL3pXS0aQ
 
 
Carlos Delgado has a tip article for us. 
 
How to solve Symfony 6 Exception: The metadata storage is not up to date. Please run the sync-metadata-storage command to fix this issue. 
https://ourcodeworld.com/articles/read/1645/how-to-solve-symfony-6-exception-the-metadata-storage-is-not-up-to-date-please-run-the-sync-metadata-storage-command-to-fix-this-issue

And I want to know how he created the fantastic mouse effect on his site.
 
 
 
##Last Week
 
Slawomir Dymitrow created a Symfony 6 based Application that can serve as an Enterprise Architecture reference for anyone who's planning to build Large Scale Applications with Symfony. It uses a similar 'Blog' theme as the official Symfony Demo.

PHP: Symfony Demo meets Modular, Microservice-ready Architecture - Part 1
https://www.kode-krunch.com/2021/11/php-symfony-modular-architecture-demo-part-1.html
 
PHP: Symfony Demo meets Modular, Microservice-ready Architecture - Part 2
https://www.kode-krunch.com/2021/12/php-symfony-modular-architecture-demo-part-2.html
 
 
##Timeless
 
 
As you may know, I ran across Akashic Seer's blog last month, which boasts Symfony-related posts. Here are a few more from his archive delivered with his unique approach.
 
How to make AJAX requests to Symfony 5+ controllers
https://akashicseer.com/web-development/how-to-make-ajax-requests-to-symfony-5-controllers/

Symfony 5+ how to include page-specific javascript or CSS when using Webpack encore and SASS
https://akashicseer.com/web-development/symfony-5-how-to-include-page-specific-javascript-or-css-when-using-webpack-encor-and-sasse/


 
I also found another treasure trove of Symfony posts on Twilio’s blog and will share them starting with: 
 
A Beginner's Guide to Test Driven Development With Symfony and Codeception
https://www.twilio.com/blog/beginners-guide-test-driven-development-symfony-codeception

A Beginner's Guide to Test Driven Development With Symfony and Codeception - Part 2
https://www.twilio.com/blog/beginner-guide-to-test-driven-development-with-symfony-codeception-part-2
 
![PHP Logo](https://symfonystation.com/sites/default/files/inline-images/php-logo_4.png) 
 
 
##PHP
 
###This week
 
Tara Prasad Routray wants you to learn the most outstanding features offered by the PHP 8.1 update.
 
Top 10 PHP 8.1 Features You Should Start Using Now
https://levelup.gitconnected.com/top-10-php-8-1-features-you-should-start-using-now-7161b91275fd



Brent Rose is tired of hearing this question. Is PHP dead? He gives his answer in this video.

PHP in 2022
https://www.youtube.com/watch?v=W3p8BGeiTwQ

**And the obvious answer to quote Ted Lasso’s Roy Kent is “Fuck no”! Unfortunately, this stupidity is wearing on me as well.
**

PHP Releases has an interesting new site with the details on all PHP versions.


PHP Releases
https://phpreleases.com/
 
 
Cloudways notes “if you’re are doing development on web application, having a PHP server is perfect way, the most perfect way to start.”


Best Open Source PHP Servers for Your Next Web Application
https://www.cloudways.com/blog/best-php-servers/


 
Dharizza Espinach wrote an excellent introduction to services, plugins and events in Drupal.
 
An Introduction to Services, Plugins and Events in Drupal
https://evolvingweb.ca/blog/introduction-services-plugins-and-events-drupal


 
Block are covered in the article above and this one shows you how to create one.

Programmatically Creating a Block in Drupal 9 – A Brief Tutorial
https://www.specbee.com/blogs/programmatically-creating-block-in-drupal-9

 
###Timeless
 
In this enlightening post, Christian Lück does a great job of looking at Fibers, Promises, Coroutines, and async/await keywords.
 
Fibers in PHP: A new opportunity for async PHP?
https://clue.engineering/2021/fibers-in-php

![Code Logo](https://symfonystation.com/sites/default/files/inline-images/code-logo_3.jpeg) 

##Other
 
You should take this survey today.
 
Open Source Initiative Launches New Free Membership Level, Opens 2022 OSS Usage Survey
https://wptavern.com/open-source-initiative-launches-new-free-membership-level-opens-2022-oss-usage-survey
 
 
TechCrunch has this interesting question.


Is tech hurting American soft power?
https://techcrunch.com/2021/12/04/have-american-tech-firms-gone-from-soft-power-gain-to-soft-power-liability/
 
HTTP/3 is here, and it’s a big deal for web performance. See just how much faster it makes websites!
 
HTTP/3 is Fast
https://medium.com/request-metrics/http-3-is-fast-dc7f8871df6
 
 
GitHub Enterprise Server 3.3 is generally available. https://github.blog/2021-12-07-github-enterprise-server-3-3-is-generally-available/
 
 
Looking to up your Docker build game? Trying using a .dockerignore file for more efficient and secure builds. Jack Wallen shows you how.
What are .dockerignore files, and why you should use them?
https://www.techrepublic.com/article/what-is-a-dockerignore-file-and-why-you-should-be-using-them/
 
 
 
Have you published or seen something related to Symfony or PHP that we missed? If so, please contact us.
 
 
That's it for this week. Thanks for making it to the end of another extended edition. I look forward to sharing next week's Symfony and PHP news with you on Friday. 
 
 
Please share this post. :) Be sure to join our newsletter list, so you get each week's communique directly in your inbox (a day early). And follow us on Twitter at @symfonfystation.
 
Happy coding Symfonistas!
 
![photo of Reuben Walker](https://symfonystation.com/sites/default/files/inline-images/Reuben_5.png)
 
Reuben Walker
Founder Symfony Station
https://symfonystation.com/
 
Reuben is also Ringmaster of Mobile Atom Media and its division Mobile Atom Code. 
https://media.mobileatom.net/about-us/
https://www.mobileatom.net/