This post originally appeared on Symfony Station.
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.
Thanks to the team at Symfony's blog for featuring our previous Communique on Sunday!
*Please note all links will open in a new browser window. My opinions, if I present any, will be in italics.
Symfony
This week
As always, we will start with the official news from Symfony.
Highlight -> “This week, Symfony continued adding tweaks to fix compatibility with the future PHP 8.1 version. Meanwhile, the upcoming Symfony 5.4 version merged some new features such as basic support for language negotiation and a CssColor constraint to validate that a given value matches any of the formats available to define CSS colors.”
A Week of Symfony #771 (4-10 October, 2021)
They announced the upcoming SymfonyWorld Online 2021 Winter Edition conference (December 9-10, 2021) will offer two days of online workshops. Seats are limited. Book your seats soon!
Announcing the Workshops of SymfonyWorld Online 2021 Winter Conference
And they also announced that the SymfonyWorld Online 2021 Winter Edition conference (December 9-10, 2021) will take place a few days after the release of Symfony 6. That's why it's a great opportunity to learn all about the latest Symfony 6 features.
First selected speakers at SymfonyWorld Online 2021 Winter Conference
Last but not least the Symfony Security Documentation has been updated.
SymfonyCasts looks at Doctrine Relations and using Foundry.
Matthias Noback observes that “It's an extremely common problem in legacy code bases: a new way of doing things was introduced before the team decided on a way to get the old thing out.” Regarding this code, he asks:
Do you have an exit strategy?
Do you have a Symfony/PHP application which needs to connect to AWS and use some of its services (S3, Secrets Manager, etc.)? Do you want to avoid pushing credentials to your Git repository or revealing them to any third party (deployment, testing, or code review tools). If so, then follow this guide.
Safe and simple AWS credential management for your Symfony/PHP application
This month
Mon Code examines mitigating data breaches. As you can't be confident in your security, encrypted data is an excellent way to reduce impact by making data unusable. There are some existing libraries and bundles to use with Symfony and Doctrine that allow you to encrypt and decrypt data on the fly with your database.
Secure your data using encryption in PHP
Blackfire was glad to announce the release of their Consumers Monitoring feature, expanding even further the scale of the Continuous Observability available to its customers. Consumers, background jobs, and CLI commands can now be monitored.
Introducing the Consumers Monitoring
Roberto Manchado says testing a listener using Symfony events is easy. He shows us how much in this article.
How to test your listener events on Symfony with PHPUnit
Timeless
We are building out the permanent Symfony Station website with Drupal and ran across this article during our research.
Why Symfony Is Perfect For Drupal Developers
This article is in French but it is a good review of the developer experience for Symfony and Laravel developers.
Symfony et Laravel : Retours d’expérience de développeurs PHP
Cet l’article est aussi en francais et looks at Doctrine filters.
Symfony — Les Filtres doctrines
PHP
This week
On GitConnected, Travis Weston asks what does goto have to do with loops?
Loops are just conditionals that repeat
Rector shows you how to upgrade your annotations to attributes with their product.
How to Upgrade Annotations to Attributes
Brent from Stitcher.io notes that PHP 8.1 adds a feature that might seem like a small detail, but one that I think will have a significant day-by-day impact on many people. So what's this "new in initializers RFC" thing?
PHP 8.1: new in initializers
Nikita Popov describes the concepts behind Opcache in this thorough article.
A 10-day newsletter from Brent Roose explores static analysis.
The Road to PHP: Static Analysis
This Month
In a new ebook Front Line PHP looks at building modern applications with PHP 8.1.
Building modern applications with PHP 8.1
On Dev.to Alua TYC mentions that PHP implicit casting is prevalent. But before he examined what it means, he looked at why it happens.
A detailed look into PHP type casting
Tomas Votruba explains that Coding Standard tools are very fast in processing a single file. However, the performance hiccup is in the number of processed files. If you have multiple files, the 2nd file cannot start until the 1st file finishes.
Fortunately, this architecture has a huge potential in performance improvement once we add a parallel run.
Introducing up-to a 16 Times Faster Easy Coding Standard
This Year
In a 2nd article, Tomas Votruba asks if you enabled parallel run in PHPStan and ECS? You may know the speed gain is brutal. But, on the other hand, there are few hidden costs in developer experience.
Hidden Productivity Costs of Parallel Run
Other
The Next Web had an interesting article about Natural Language Processing and its evolution to Natural Language Coding.
Programming in ‘natural’ language is coming sooner than you think
Mind Matters News says equating code debt with monetary debt can lead to strategic technology mistakes.
McKinsey has a new report looking at which technology trends will affect our future the most. The World Economic Forum has an overview.
These are the top 10 tech trends that will shape the coming decade, according to McKinsey
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
Founder Symfony Station
Reuben is also Ringmaster of Mobile Atom Media and its division Mobile Atom Code.
Top comments (1)
I can get behind a weekly write up that I can read just before hitting the weekend. It's the second one and I already get the Friday feels!
There's a bunch to look forward to. Maybe we'll see a talk about Fibers in SymfonyWorld, but first I gotta sink my teeth in Symfony 6.
As for SymfonyCasts I'm still going through Stimulus. Its syntax is pretty crazy but the Symfony-Stimulus bridge comes to the rescue. It still appears like magic but I want that tool in my belt! Anyway, the Doctrine course looks good. After Stimulus it may be something for me to look at.