Symfony Station Communiqué - 18 February 2022. A look at Symfony and PHP news!
Tags: symfony, php, docker, kubernetes
Published: 2022-02-18 13:09:34

This post originally appeared on [Symfony Station](https://www.symfonystation.com/Symfony-Station-Communique-18-February-2022).

Welcome to this week's Symfony Station Communiqué. It's your weekly review of the most essential news in the Symfony and PHP development communities. Take your time and enjoy the items most valuable for you.

Thanks to Javier Eguiluz and Symfony for sharing [our last communiqué](https://www.symfonystation.com/Symfony-Station-Communique-11-February-2022) in their

[Week of Symfony](https://symfony.com/blog/a-week-of-symfony-789-7-13-february-2022).

**Please note that links will open in a new browser window. My opinions, if I present any, will be in bold.**

## SYMFONY

As always, we will start with the official news from Symfony.

Highlight -> “This week, the upcoming Symfony 6.1 version deprecated the $defaultName property
in Console commands and added a new cache:pool:invalidate-tags command to ease the management of cache pools. Meanwhile, we discussed bumping PHP to 8.1in Symfony 6.1. Lastly, we announced the first speakers of SymfonyLive Paris 2022 and the Call for Papers for the international Symfony conferences.”

[A Week of Symfony #789 (7-13 February 2022)](https://symfony.com/blog/a-week-of-symfony-789-7-13-february-2022)

One of Symfony's sibling companies expands its blogging.

[SensioLabs started a Medium account.](https://medium.com/the-sensiolabs-tech-blog)

[Be sure to follow us on Medium as well.](https://medium.com/@mobileatom)


Symfony has a new Twig certification available.

[Introducing the Twig 3 Certification](https://symfony.com/blog/introducing-the-twig-3-certification)


SymfonyCasts is producing some great EasyAdmin Content lately.

[This week in SymfonyCasts](https://5hy9x.r.ag.d.sendibm3.com/mk/mr/pvCGA8_xIuzQzt1GJN-8HsqUaH6loYrl3EDFxSCFEgr6pOL2KRwoYY8g39zljli5CeMeCCbC6NmX5JG3lPNLCTnEXbIufiqqN_ROMoN6tWVUL-v6HE_8mCCGDNUqar_apyV0udsHfw)


Discover more talks and speakers selected for SymfonyLive Paris 2022, the Symfony conference organized in French on April 7-8, 2022.

[Discover more talks and speakers selected for SymfonyLive Paris 2022](https://symfony.com/blog/discover-more-talks-and-speakers-selected-for-symfonylive-paris-2022)

Prior to the SymfonyLive Paris 2022 conference, Symfony is providing several workshops on April 5-6 2022. Discover all the workshops on offer. Register for the workshops via your OPCO and Datadock.

[All the pre-conference workshops at SymfonyLive Paris 2022 are announced](https://symfony.com/blog/all-the-pre-conference-workshops-at-symfonylive-paris-2022-are-announced) (en francais)


The team released a new edition of the Symfony Fast Track book. Purchasing one is the most economical way to financially support the framework.

[The Symfony Fast Track book now available for Symfony 5.4 and 6.0](https://symfony.com/blog/the-symfony-fast-track-book-now-available-for-symfony-5-4-and-6-0)

What is crazy is that I just bought the French version of the previous edition (5.2) to bone up my language skills for SymfonyCon Paris. Now, where is my credit card?

![Featured Post Graphic](https://symfonystation.com/sites/default/files/inline-images/Featured-Item_1_0.png)

## Featured Post

We shared a similar post on server-side rendering tech last week. **This one is more applicable to the Symfony universe.**

You do not need to be Ruby on Rails developer to read this. The ideas around Hotwire and server-side rendering are making waves across different web development stacks - PHP/Laravel **or Symfony**, Elixir/Pheonix, Python/Dyango have equivalent tech that implements Hotwire. Even React has added support for server-side rendering it seems.

[All About Hotwire and Turbo](https://dev.to/bhumi/all-about-hotwire-and-turbo-17hn)


## Symfony

In a two-part series, Ingo Steinke says, “Coming back to Shopware development after a while, I have to recap how to start the server, how to use the command-line interface, and which notation to use for namespaces and services in which file.”

[Learning in public](https://dev.to/ingosteinke/learning-in-public-dmn)

[Shopware 6 development recap](https://dev.to/ingosteinke/shopware-6-development-recap-31o)


From Sergii Demianchuk here’s the first in a series of articles looking at Using Elasticsearch with Symfony.

[Elasticsearch with Symfony](https://sergiiblog.com/symfony-elasticsearch/) 


Laurent Voullmier writes “In this post, I will use Keycloak, an IAM implementing OpenId Connect as an SSO. The features and settings of Keycloak are many (other popular identity providers like Twitter, Facebook, and so on, 2FA, …). Here, we are going to use users directly registered in Keycloak.”

[Let’s play with the Symfony new security system: OpenId Connect with Keycloak](https://medium.com/the-sensiolabs-tech-blog/lets-play-with-the-symfony-new-security-system-openid-connect-with-keycloak-de7a1508ea4)


The Symfony-base eCommerce platform Sylius has a new release.

[New! Sylius 1.11 – a lovable release with catalog promotions](https://sylius.com/blog/sylius-1-11-a-lovable-release/)

Thomas Dutrion recently ran into some trouble with Flysystem. "Upgrading to PHP 8.1 and Symfony 6 has been a breeze… Until I had to use league/flysystem-google-cloud-storage!"

[Flysystem Google Cloud Storage dependency issue](https://medium.com/@tdutrion/flysystem-google-cloud-storage-dependency-issue-e1c7ca94ebb8)


Golems shows us how to:

[Write Better Code with Typed Entity](https://gole.ms/blog/write-better-code-typed-entity)


Mike Herchel says, “Within Drupal 10 core, we’re implementing a new auto-filling CSS Grid technique that I think is cool enough to share with the world.”

[An Auto-Filling CSS Grid with Max Columns of a Minimum Size](https://css-tricks.com/an-auto-filling-css-grid-with-max-columns/)


Drupal announced:

[Return type hints added to some class methods for Symfony 5.4/Symfony 6 compatibility](https://www.drupal.org/node/3236232?no_cache=1645106354)


### Timeless

![https://symfonystation.com/sites/default/files/inline-images/Horizontal-Inspector-Tagline-Logo_0.png](https://symfonystation.com/sites/default/files/inline-images/Horizontal-Inspector-Tagline-Logo_0.png)

*Sponsored Article*

We published our **second** sponsored article on Symfony Station exploring **how code-driven monitoring helps you deliver successful Symfony products**. Like all our articles it is now available via audio.

[How code-driven monitoring helps you deliver successful Symfony products](https://www.symfonystation.com/code-driven-monitoring-deliver-products)

*All sponsored articles are for products we have vetted and stand behind. We either use them or would do so if they were applicable to the Symfony Station site.*

![https://symfonystation.com/sites/default/files/inline-images/php-logo_4.png](https://symfonystation.com/sites/default/files/inline-images/php-logo_4.png)

## PHP

Vishwa Chikate shares some additional standards his team uses.

[PHP — additional coding standards](https://medium.com/@vishwa.chikate/php-additional-coding-standards-bef833fc154d)


In case you didn’t know PHP8.1 is fast. There are major boosts for Symfony and WordPress in particular. Kinsta has this:

[The Definitive PHP 7.2, 7.3, 7.4, 8.0, and 8.1 Benchmarks (2022)](https://kinsta.com/blog/php-benchmarks/)


Backend Developer writes “The Singleton pattern is used to ensure that there is only one instance of an object and that the same (and single instance) is called everywhere in your codebase whenever you need that object.”

[Singleton Pattern — PHP Implementation](https://kvnc-inc.medium.com/singleton-pattern-php-implementation-d332bfb9bf0f)

They also have:

[DRY vs WET Principles — Php Implementation](https://kvnc-inc.medium.com/dry-vs-wet-principles-php-implementation-9d1a2bd6d324)


Yactouat notes “While web API's like SendGrid are great tools for emailing at scale from within a web application, they are not free. Also, they often provide overkill features when you just want to send plain confirmation emails, for instance.

What we are going to look at in this post is how to send an email using a Gmail account programmatically with a PHP app' running in Docker, for free. This may pave you a way to build a mailer service that you could later run in Kubernetes or Google Cloud Run or any other platform of your choice.”

[Send Gmail emails from a Dockerized PHP app the easy and free way](https://dev.to/yactouat/send-gmail-emails-from-a-dockerized-php-app-the-easy-and-free-way-4jn7)


Codecourse has a free PestPHP course.

[Up and Running with Pest](https://codecourse.com/courses/up-and-running-with-pest). 

Vonage Dev says, “In early Symfony and Zend Framework applications the PHP-FIG didn’t exist, and coding standards were at the discretion of whoever was writing it. Over the years that we’ve seen widespread adoption of PSR standards, rock-solid static analysis tooling has been somewhat patchy. That is, until now, with the release of version 1.0 of PHPStan. Let’s celebrate this occasion by going through some of its features!”

[Scrub up! Cleaning up your PHP Application with PHPStan](https://medium.com/codex/scrub-up-cleaning-your-php-application-with-phpstan-6d1c17ddd272)


Jordi Bassaganas writes “object-oriented programming aka OOP is something you definitely want to add to your skillset. It is all about writing apps in terms of real-world concepts like coffee, pizza or cat — more of a way of doing things and approaching problems rather than using a particular library or implementing a software design pattern.”

[PHP Examples of Polymorphism](https://medium.com/codex/php-examples-of-polymorphism-ab70d58cf41a)


Learning by doing (why we created Symfony Station) is the best way to learn. Sharing what you learn is even better. Joshua Otwell shares a PHP function he recently learned and is excited about.

[PHP array_diff() function - A handy use case learned](https://openlamptech.substack.com/p/php-array_diff-function-a-handy-use)

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

## Other

Wired notes “Employers have found it difficult to replace the wave of workers who quit in The Great Resignation, which began last year and hasn’t let up since. In the US, the number of workers quitting has now exceeded pre-pandemic highs for eight straight months.”

[After the Great Resignation, Tech Firms Are Getting Desperate](https://www.wired.com/story/great-resignation-perks-tech/)


Dave Vellante writes “the rise of Kubernetes came about through a combination of forces that were, in hindsight, quite a long shot.”

[The improbable rise of Kubernetes to become the operating system of the cloud](https://siliconangle.com/2022/02/12/improbable-rise-kubernetes-become-operating-system-cloud/)

Venture Beat notes “One of the core maintainers instrumental in issuing a Log4j fix has a full-time job elsewhere as a software architect, and only works on “Log4j and other open-source projects” in his spare time. While this was used by some to assert that community-driven software isn’t secure enough, others offered that it simply highlighted the need to implement a more rigorous security regimen with any open-source software that plays such a fundamental role in critical infrastructure.”

[The challenges of community- vs vendor-led open source-software](https://venturebeat.com/2022/02/14/the-challenges-of-community-vs-vendor-led-open-source-software/)


Sascha Segan writes “Part of Web3's problem is that it's being promoted by many of the most obnoxious narcissists in the world. But the 'Web3' dream is also familiar techno-utopianism for anyone who lived through Web 1.0.”

[Web3 Will Fail Because You Can't Solve Politics with Technology](https://www.pcmag.com/opinions/web3-will-fail-because-you-cant-solve-politics-with-technology)


Matthew Reinbold writes that several years ago “Google instituted a lightweight, scalable, and distributed design review process. Peer review has long been a staple of healthy, modern software development practices. Google’s application of the approach to API design ultimately reduced usability defects while being more efficient than API usability tests.

Companies of all sizes, not just the Googles of the world, can benefit from an API design review process. But what is involved?”

[5 Tips for a Game-Changing API Design Review](https://blog.postman.com/5-tips-for-game-changing-api-design-review/)


GitHub announced “A picture tells a thousand words. Now you can quickly create and edit diagrams in markdown using words with MermaidJS support in your Markdown files.”

[Include diagrams in your Markdown files with Mermaid](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/)

PHP Architect has an article on this type of tech in their February issue.

Jolicode has this for us:

[Docker Cheat Sheet for Common Database Engine](https://jolicode.com/blog/docker-cheat-sheet-for-common-database-engine)


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 at the bottom of our site’s pages](https://www.symfonystation.com/contact). Joining gets you each week's communiqué in your inbox (a day early). And [follow us on Twitter at @symfonfystation](https://twitter.com/symfonystation).

Do you own or work for an organization that would be interested in our promotion opportunities? If so, [please contact us](https://www.symfonystation.com/Contact). We’re in our infancy so it’s extra economical. ;)

Happy Coding Symfonistas!

## AUTHOR

###Reuben Walker
Founder
Symfony Station