Symfony Station Communiqué — 11 February 2022. A look at Symfony and PHP news.
Tags: symfony, php, drupal, docker
Published: 2022-02-11 15:03:07

This communique originally appeared on [Symfony Station](https://www.symfonystation.com/Symfony-Station-Communique-11-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-4-February-2022) in their [Week of Symfony](https://symfony.com/blog/a-week-of-symfony-788-31-january-6-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 added context builders to simplify the creation of serialization contexts. In addition, SymfonyCon announced that it's coming back as a physical conference at Disneyland Paris later this year (November 15-18, 2022)."

[A Week of Symfony #788 (31 January - 6 February 2022)](https://symfony.com/blog/a-week-of-symfony-788-31-january-6-february-2022)

Currently, the Call for Papers for SymfonyWorld Online 2022 Summer Edition and SymfonyCon Disneyland Paris 2022 are both open. You can submit your talk and workshop proposals in English for both conferences. Those for the Summer Edition end on February 14th.

[Call for Papers open for SymfonyWorld Online 2022 Summer Edition and SymfonyCon Disneyland Paris 2022](https://symfony.com/blog/call-for-papers-open-for-symfonylive-online-2022-summer-edition-and-symfonycon-disneyland-paris-2022)

And they announced the first set of speakers and talks for SymfonyCon. (en francais)

[First selected talks at SymfonyLive Paris 2022](https://symfony.com/blog/first-selected-talks-at-symfonylive-paris-2022)

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

## FEATURED ITEM

MIT Tech Review notes “Something has changed for the tech giants. Even as they continue to hold tremendous influence in our daily lives, a growing accountability movement has begun to check their power. Led in large part by tech workers themselves, a movement seeking reform of how these companies do business, treat their employees, and conduct themselves as global citizens has taken on unprecedented momentum, particularly in the past year.”

[Why the balance of power in tech is shifting toward workers](https://www.technologyreview.com/2022/02/07/1044760/tech-workers-unionizing-power/)

###This Week

Akashic Seer writes “you are not limited to just one logger in Symfony, but the most popular is Monolog and Symfony has built in support making it easier to implement. So that is what I cover here.”

[Symfony 5+ error logging handlers explained](https://akashicseer.com/web-development/symfony-5-error-logging-handlers-explained/)

I know I just shared one of these last week, but this one has details, statistics, and illustrations.

[Laravel vs Symfony: the Key Differences in 2022](https://aglowiditsolutions.com/blog/laravel-vs-symfony/)

Coding CEO writes “People use to say Laravel apps do not scale well, but after working with Laravel for some time are reviewing a lot of projects, I think is not totally Laravel fault. Indeed, you can do great apps with Laravel the same as with Symonfy, but is more easier to succeed with Symonfy than using Laravel. The problem? Laravel “magic”.”

[Why Laravel apps don’t scale well (I)](https://juanmacias.medium.com/why-laravel-apps-dont-scale-well-i-cd5d56d1c014)

Martin Schindler says “During a project cycle, there are always situations that feel like deadlocks or circular dependencies… only seen on an organizational level.” He shares:

[Decoupling frontend and backend development — The easy way!](https://mrtnschndlr.medium.com/decoupling-frontend-and-backend-development-the-easy-way-5b93a6513e0d)

Benjamin Ellis shows us how to generate a nice and human-readable changelog with API Platform (2.6).

[Managing a changelog with API Platform & OpenAPI](https://medium.com/@benellis.nz.eu/managing-a-changelog-with-api-platform-openapi-7f05b463266e)

Zumata has this for us” “As of version 6, the [Symfony routing](https://symfony.com/doc/current/routing.html) package supports Attributes. If there is one place where metadata is interesting to use, it is routing. In previous versions of PHP, this could be solved using comments (annotations). With attributes, the dependency on doctrine/annotations is not needed anymore.”

[Symfony Routing with Attributes](https://www.zumuta.be/posts/2022-02-06-hairpin-turn-3.html)

Alen Pokos writes “If you either love AWS services already, or are looking for a good option to use with your multiplatform products, AWS Cognito seems to be a good candidate to adopt into your technical stack.”

[Fastest Symfony authentication - AWS Cognito integration](https://dev.to/bornfightcompany/fastest-symfony-authentication-aws-cognito-integration-583i)

Yannic Chenot asks “PHP doesn’t have to be web-only — how about you start creating your own CLI tools?”

[How to Build and Distribute Beautiful Command-Line Applications with Symfony, PHP, and Composer](https://levelup.gitconnected.com/how-to-build-and-distribute-beautiful-command-line-applications-with-php-and-composer-50b6420245f2)

Drupal revealed how they will handle PHP requirements for the upcoming Drupal 10 release.

[Drupal 10 PHP requirements will be announced at least five months before Drupal 10.0.0](https://www.drupal.org/about/core/blog/drupal-10-php-requirements-announcements)

Devin Katz shares nine tasks awaiting you at the end of a Drupal migration.

[9 Tasks at the End of Your Drupal Migration](https://medium.com/codex/9-tasks-at-the-end-of-your-drupal-migration-2263d05769f1)

We shared some Lando items last week and in this article Specbee looks at:

[Getting Started with Lando and Drupal 9](https://www.specbee.com/blogs/getting-started-with-lando-and-drupal-9)

Last week I shared a short tutorial from Lindevs. They have many of them. So, instead of selecting one each week, here they all are.

[Lindev Symfony Content](https://lindevs.com/category/framework/symfony/)

In this post, Kinsta looks a WordPress-based WooCommerce and Symfony-based Magento.

[Magento vs WooCommerce: Which One Is Better?](https://kinsta.com/blog/magento-vs-woocommerce/)

Speaking of Symfony-based e-commerce platforms, Aimeos announced “Since 2022.01 beta, the Aimeos core is using [Upscheme](https://upscheme.org/) for updating the database schema and migrating data between new releases. Upscheme is composer package for schema management based on Doctrine DBAL which offers an easy to use API. You can also [integrate Upscheme it in your own application](https://upscheme.org/#integrating-upscheme) easily and this article explains the differences and how you can write migrations with only a few lines of code”

[Aimeos 2022 news](https://aimeos.org/tips/aimeos-2022-news/)

And contrary to the title, here is a a quick overview of Prestashop.

[Ultimate Guide to PrestaShop: Everything You Need To Know!](https://dev.to/universetechnologies/ultimate-guide-to-prestashop-everything-you-need-to-know-1dk)

###Last Week

Suzanne Dergacheva writes “I believe any Drupal developer can use this advice: everyone who contributes to building a website also contributes to UX. When we all incorporate UX design thinking into our work, the quality of our output can only get better.

In this article, we'll discuss the goals of UX design, how users evaluate it, and, specifically, how developers can do their part to build a better user experience.”

[Making Better UX Choices: Advice for Drupal Developers](https://evolvingweb.ca/blog/making-better-ux-choices-advice-drupal-developers)

Nathaniel Catchpole discusses long-term Drupal support and how it ties in with Symfony’s release cycle.

[Long(er)-Term Support for Drupal 10](https://www.thirdandgrove.com/insights/support-for-drupal10/)

Somehow, I missed this one last week from Jolicode.

[(Re)discover XPath selectors](https://jolicode.com/blog/re-discover-xpath-selectors)

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

Tomas Votruba presents “Software engineering principles, from Robert C. Martin's book *[Clean Code](https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882)*, adapted for PHP. This is not a style guide. It's a guide to producing readable, reusable, and refactorable software in PHP.

Not every principle herein has to be strictly followed, and even fewer will be universally agreed upon. These are guidelines and nothing more, but they are ones codified over many years of collective experience by the authors of *Clean Code*.

Inspired from clean-code-javascript.”

[“Clean Code” concepts adapted for PHP](https://github.com/jupeter/clean-code-php)

Backend Developer takes a look at:

[SOLID Principles in PHP](https://kvnc-inc.medium.com/solid-principles-in-php-1c41069e9af6)

Zvonimir Spajic writes “If you follow Michael Feathers’ definition of legacy code (every code not covered with tests) then the first line of business in dealing with some legacy code that needs updating is to put it in a test harness (write a test for it). But this is often easier said than done. It can be surprisingly hard just to instantiate a (legacy) class in a test, due to the way it handles its dependencies.”

[Testing Legacy Troubles](https://levelup.gitconnected.com/testing-legacy-troubles-7f3aedf2db17)

The February edition of PHP Architect is out.

[February Edition](https://www.phparch.com/magazine/2022/02/parallelize-your-code/)

Matt Glaman “recently did a deep dive into command authoring with Drush, which is where I discovered two *amazing* new features: **[auto-discovery of commands via autoloading](https://mglaman.dev/blog/auto-discovery-global-commands-drush)** and the addition of attributes for defining your commands.

What are attributes? Attributes were added in PHP 8, and **[the overview on the PHP website is a great resource](https://www.php.net/manual/en/language.attributes.overview.php)**. So, if you are new to PHP 8 and have been living on PHP 7.4, still, or haven't tried out PHP 8's coolest feature, this blog will be a great introduction!”

[Writing Drush commands with PHP attributes](https://mglaman.dev/blog/writing-drush-commands-php-attributes)

PHP Monitor, the native Mac app for managing PHP, has released version 5.

[PHP Monitor](https://github.com/nicoverbruggen/phpmon/releases/tag/v5.0)

Dariusz Gafka shows us how to:

[Implement an Event Sourcing PHP Application in 15 minutes](https://dariuszgafka.medium.com/implementing-event-sourcing-php-application-in-15-minutes-806cffa1e5ca)

William Donizetti writes (in Spanish) “If you deal with databases in your day-to-day life you may have already noticed how data is often exposed, in such a structured and easy-to-exploit way. However, this is not always interesting and through encryption we can minimize some of this data exposure and provide greater security for our applications.”

[AES e PHP: criptografia de dados.](https://guilhermedonizettiads.medium.com/aes-e-php-criptografia-de-dados-292353e38ba2)

![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

Let’s start this section with a good reminder piece.

[What is the htaccess file?](https://medium.com/@byteblogger22/what-is-the-htaccess-file-d81c9d7cb81a)

Smashing Mag (a fantastic design resource) writes “Statoscope is an instrument that analyses your webpack-bundles. Created by Sergey Melukov, it started out as an experimental version in late 2016, which has now become a full-fledged toolkit for viewing, analyzing, and validating webpack-bundles.”

[Statoscope: A Course Of Intensive Therapy For Your Webpack Bundle](https://www.smashingmagazine.com/2022/02/statoscope-course-intensive-therapy-bundle/)

The ReadMe Project shares “The client-side made a come back over the past decade as developers built “single-page applications” (SPAs) with [JavaScript](https://github.com/topics/javascript). But a [new crop of tools](https://github.com/dbohdan/liveviews) is sending the pendulum swinging back towards the server.” 

Obviously, for Symfony this would be implemented with  [Turbo](https://symfony.com/doc/current/ux-turbo/index.html), [Mercure](https://symfony.com/doc/current/mercure.html), and [Stimulus](https://symfony.com/doc/current/frontend/ux.html#how-does-symfony-ux-work). And we are particularly excited about [Viewi](https://viewi.net/).

[Move over JavaScript: Back-end languages are coming to the front-end](https://github.com/readme/featured/server-side-languages-for-front-end)

Speaking of the backend, Kinsta notes “Most applications and programs in the modern era need somewhere to store data. For web apps, a database is a crucial cog in the wheel. An open-source database is your best bet for many reasons.”

[The Best in Open-Source Database Software: Top 10 Picks](https://kinsta.com/blog/open-source-database/)

Last week I shared some Web3 content. Here’s some more worth checking out if you haven’t made up your mind.

Fast Company writes “the Web3 wave has a long way to go before proving it can produce technology with the functionality, reliability, security, and scale needed to disrupt the internet we have now. O’Reilly is one of a handful of influencers who have begun to raise doubts about its chances of doing that. After all, he’s seen this movie before—twice.”

[Tim O’Reilly helped bring us Web 1.0 and 2.0. Here’s why he’s a Web3 skeptic.](https://www.fastcompany.com/90716841/tim-oreilly-on-web3)

The global managing partner of Flourish Ventures, Tilman Ehrbeck, shares his perspective on a digital future that could expand economic opportunity—if innovators and society can harness its potential.

[I’m an advocate for inclusive capitalism. Here’s why I’m intrigued by Web3](https://www.fastcompany.com/90718905/im-an-advocate-for-inclusive-capitalism-heres-why-im-intrigued-by-web3)

The Atlantic writes “Web3 is making some people very rich. It’s making other people very angry.”

[The Crypto Backlash Is Booming](https://www.theatlantic.com/technology/archive/2022/02/crypto-nft-web3-internet-future/621479/)

Docker says, “They’re excited to announce the release of Docker Desktop 4.5 which includes enhancements we’re excited for you to try out.”

[New Docker Menu & Improved Release Highlights with Docker Desktop 4.5](https://www.docker.com/blog/new-docker-menu-improved-release-highlights-with-docker-desktop-4-5/)

Have you published or seen something related to Symfony or PHP that we missed? If so, [please get in touch](https://www.symfonystation.com/contact).

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!


![https://symfonystation.com/sites/default/files/inline-images/Reuben-Blur.jpg](https://symfonystation.com/sites/default/files/inline-images/Reuben-Blur.jpg)

### **Reuben Walker**

**Founder
Symfony Station**