Symfony Station Communique - 24 September 2021. A look at Symfony and PHP news.
Tags: symfony, php, docker, doctrine
Published: 2021-09-23 18:48:24

This article originally appeared on [Symfony Station](https://symfonystation.com).

Welcome to this week's Symfony Station Communique. It 's a weekly review of the most valuable and essential news in the Symfony and PHP development communities.

Thanks to the team at [Symfony's blog](https://symfony.com/blog/a-week-of-symfony-768-13-19-september-2021)for featuring our [previous Communique](https://symfonystation.com/symfony-station/f/symfony-station-communique---17-september-2021) on Sunday!

We are loading up on articles this week. We are going to Bavaria; sorry strike that, Cape Cod to celebrate Octoberfest and may not have time for long newsletters in the next two weeks. ;)

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


##Symfony


###This week

Let's start as we always will with the official weekly post of everything new from Symfony for last week.

Highlight →
" This week, Symfony continued preparing the upgrade to a fully-typed codebase, including the release of a command utility to patch type declarations in your own code and a blog post explaining how to prepare your apps and bundles for Symfony 6. Finally, the Call for Papers for the upcoming SymfonyWorld 2021 conference will close next week. "
[A Week of Symfony #768 (13–19 September 2021)](https://symfony.com/blog/a-week-of-symfony-768-13-19-september-2021)

Continuing from the Symfony team, it's time to start preparing for Symfony 6.

[Preparing Your Apps and Bundles for Symfony 6](https://symfony.com/blog/preparing-your-apps-and-bundles-for-symfony-6)

Wouter J has more details about the Symfony 6 transition regarding PHP8 and Native Typing.

[Symfony 6: PHP 8 Native Types & Why we Need YOU](https://wouterj.nl/2021/09/symfony-6-native-typing)


The news also came out that Symfony Flex is Going Serverless.

[Symfony Flex is Going Serverless](https://symfony.com/blog/symfony-flex-is-going-serverless)

The tutorials featured in SymfonyCasts this week cover Doctrine and Foundry.

[This week in Symfony Casts](https://5hy9x.r.ag.d.sendibm3.com/mk/mr/OuMLthFd-Fudx6IcpN8HhLeAXvZAwLuKhwisvrvGTfdeXtCmgk2iE63aut6Rj66JZI9d8joGF2T0Mzx_1Bd46npLneuv7-h1h27VLtCzvIXIXieC).

Here's a look at authenticating user roles and permissions with Vue.js & Symfony.

[Vue.js & Symfony - roles authentication](https://medium.com/nerd-for-tech/vue-js-symfony-roles-authentication-f9c5ea00d750)

Want to know how Doctrine, Symfony, AWS, and MySQL can play nice together?


[Configure Doctrine in Symfony to use AWS Secret values as MySQL connection parameters](https://dev.to/nikolastojilj12/configure-doctrine-in-symfony-to-use-aws-secret-values-as-mysql-connection-parameters-5901) 

And here is a valuable resource.

[Doctrine - DQL functions cheat-sheet](https://medium.com/geekculture/doctrine-dql-functions-cheat-sheet-bfcb3f3ff45e)


###This month

joliCode takes a look at the Symfony HttpClient component.

[Symfony HttpClient and sequential requests assertions](https://jolicode.com/blog/symfony-httpclient-and-sequential-requests-assertions)

###Timeless

Eton Digital takes a look at us and our so-called rival.

[The Ultimate PHP Duel: Symfony Or Laravel?](https://www.etondigital.com/the-ultimate-php-duel-symfony-or-laravel/)
 
They also have this helpful article.

[ED's Developers Recommend: 6 Imperative Symfony Bundles](https://www.etondigital.com/symfony-bundles/)


Here are two excellent articles looking at Symfony, Webpack Encore, and TailwindCSS.

[TailwindCSS and Symfony's Webpack Encore: A quick guide to integrating TailwindCSS into Webpack encore](https://betterprogramming.pub/tailwindcss-and-symfonys-webpack-encore-7bfc8c18665b)

[Using Tailwind CSS and PurgeCSS with Symfony Encore](https://dev.to/railto/using-tailwind-css-and-purgecss-with-symfony-encore-5cgj)


##PHP


###This week

Fabio Hiroki posted this unique article about using reflection as a tool to inspect your code and bypass static typing.

[Improve your PHP code's testability](https://fabiohiroki.medium.com/improve-your-php-code-testability-467e1ed07301)


Doeke Norg looks at the similar but different Decorator and Proxy Patterns.

[Decorator Pattern vs. Proxy Pattern](https://doeken.org/blog/decorator-vs-proxy-pattern)

Kinsta has this useful and extensive guide to writing our source code with PHP 8.0 and transpiling it to a previous PHP version - even to PHP 7.1.

[The Ultimate Guide for Transpiling PHP Code](https://kinsta.com/blog/transpiling-php/)


###This month

If you subscribe to PHP Architect, Tomas Votruba also has an article on the topic.

[Why Would Anyone Want to Downgrade Their PHP Code?](https://www.phparch.com/article/why-would-anyone-want-to-downgrade-their-php-code/)


There were several exciting RFCs for PHP earlier in the month by Tyson Andre.

[RFC: Add `final class Vector` to PHP](?)

[Adding `final class Deque` to PHP](https://externals.io/message/116100)

Here's a video that's just as relevant to Symphony as it is to Laravel.

[4 PHP OOP Topics Laravel Devs Need to Master](https://www.youtube.com/watch?v=bHvSfxyNkeA)

Alexandre Daubois wants us to code better together.

[PSR - The PHP Standards Recommendations Guide](https://alex-daubois.medium.com/psr-the-php-standards-recommendations-guide-359d282a3af)

This one is self-explanatory.

[PhpStorm 2021.2.2 is released](https://blog.jetbrains.com/phpstorm/2021/09/phpstorm-2021-2-2-is-released/)

###Timeless

Everyone knows Legacy Code and PHP are not synonyms. If you don't, then read this.

[It's not legacy code - it's PHP](https://medium.com/vimeo-engineering-blog/its-not-legacy-code-it-s-php-1f0ee0462580)

##Other

A look at what's coming for Docker.

[Accelerating New Features in Docker Desktop](https://www.docker.com/blog/accelerating-new-features-in-docker-desktop/)

There's more Docker info from Tech Republic here.

[How to pass environment variables to Docker containers](https://www.techrepublic.com/article/how-to-pass-environment-variables-to-docker-containers/)

And this ends the Docker trifecta.

[Using Blackfire Player with Docker](https://blog.blackfire.io/using-blackfire-player-with-docker.html)

Here's a new way to support Open Source Contributors.

[Open Collective Launches New Way to Support Open Source
through Public Stock Shares](https://wptavern.com/open-collective-launches-new-way-to-support-open-source-through-public-stock-shares)

This is fantastic community news for troubleshooting and debugging issues.

[Slack launches new media sharing features](https://venturebeat.com/2021/09/21/slack-launches-new-media-sharing-features-and-government-tier/)

And finally, according to ZNet:

[Turns out low-code and no-code is valuable to professional developers, too](https://www.zdnet.com/article/low-code-and-no-code-is-for-professional-developers-too/#ftag=RSSbaffb68)

What do you think?

For many, and I mean many, more articles on Symfony and PHP coding, visit our [Symfony for the Devil Flipboard Magazine](https://flipboard.com/@mobileatom/symfony-for-the-devil-allupr6jz) or follow us on Twitter [@SymfonyStation](https://twitter.com/SymfonyStation).

I will be updating them while enjoying Octoberfest.
That's it for this week. I look forward to sharing next week's Symfony and PHP news with you on Friday.
Please share this post. :)

Happy coding Symfonistas!

![Reuben Walker headshot](https://img1.wsimg.com/isteam/ip/029e7d9a-e63f-4682-93b6-9b0642aa546c/Reuben.png/:/cr=t:0%25,l:15.51%25,w:66.67%25,h:100%25/rs=w:600,h:600,cg:true)

Reuben Walker
Founder [Symfony Station](https://symfonystation.com)
Reuben is also Ringmaster of [Mobile Atom Media](https://media.mobileatom.net) and its division [Mobile Atom Code](https://mobileatom.net).