DEV Community

Cover image for Symfony Station Communiqué - 18 February 2022. A look at Symfony and PHP news!
Reuben Walker, Jr.
Reuben Walker, Jr.

Posted on • Edited on

Symfony Station Communiqué - 18 February 2022. A look at Symfony and PHP news!

This post originally appeared on Symfony Station.

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é in their

Week of Symfony.

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)

One of Symfony's sibling companies expands its blogging.

SensioLabs started a Medium account.

Be sure to follow us on Medium as well.

Symfony has a new Twig certification available.

Introducing the Twig 3 Certification

SymfonyCasts is producing some great EasyAdmin Content lately.

This week in SymfonyCasts

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

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 (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

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

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

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

Shopware 6 development recap

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

Elasticsearch with Symfony

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

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

New! Sylius 1.11 – a lovable release with catalog promotions

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

Golems shows us how to:

Write Better Code with 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

Drupal announced:

Return type hints added to some class methods for Symfony 5.4/Symfony 6 compatibility

Timeless

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

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

PHP

Vishwa Chikate shares some additional standards his team uses.

PHP — additional coding standards

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)

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

They also have:

DRY vs WET Principles — Php Implementation

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

Codecourse has a free PestPHP course.

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

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

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://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

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

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

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

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

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

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

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. Joining gets you each week's communiqué in your inbox (a day early). And follow us on Twitter at @symfonfystation.

Do you own or work for an organization that would be interested in our promotion opportunities? If so, please contact us. We’re in our infancy so it’s extra economical. ;)

Happy Coding Symfonistas!

AUTHOR

Reuben Walker

Founder
Symfony Station

Top comments (0)