Symfony Station Communiqué — 20 May 2022. A look at Symfony, PHP, and Cybersecurity News!
Tags: symfony, php, drupal, cybersecurity
Published: 2022-05-20 16:13:46

[This communiqué originally appeared on Symfony Station](https://www.symfonystation.com/Symfony-Station-Communique-20-May-2022), your source for cutting-edge Symfony and PHP news.

Welcome to this week's Symfony Station Communiqué. It's your weekly review of the essential news in the Symfony and PHP development communities. We also cover the cybersecurity world.

Take your time and enjoy the items most relevant and valuable to you.

Thanks to Javier Eguiluz and Symfony for sharing [our last communiqué](https://www.symfonystation.com/Symfony-Station-Communique-13-May-2022) in their [Week of Symfony](https://symfony.com/blog/a-week-of-symfony-802-9-15-may-2022).

**Please note that links will open in a new browser window. My opinions will be in bold.**

---

Many of the items we curate are on Medium. I recommend investing in membership as you can access everything you want to read. It’s a small investment in boosting your career. As may have noticed non-members can only access a limited number of articles per month.

**[Invest in a membership here](https://medium.com/@mobileatom/membership)**! The compensation we receive from your use of this link helps pay for our weekly communiqué.

---

## Symfony

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

Highlight -> “This week, the first release candidate of Symfony 6.1 was published so you can test it in your projects before its final release in two weeks. Meanwhile, we announced a new SymfonyWorld Online conference (December 8-9, 2022), made a recap of the past SymfonyLive Paris 2022 conference, and introduced a 50% discount in some past conference replays
 so you can enjoy their videos.”

[A Week of Symfony #802 (9-15 May 2022)](https://symfony.com/blog/a-week-of-symfony-802-9-15-may-2022)

Symfony announced:

[Symfony 6.1.0-RC1 released](https://symfony.com/blog/symfony-6-1-0-rc1-released)

[Last talks and speakers announced at SymfonyWorld Online 2022 Summer Edition](https://symfony.com/blog/last-talks-and-speakers-announced-at-symfonyworld-online-2022-summer-edition)

Javier Eguiluz continues his look at what’s coming in Symfony 6.1.

[New in Symfony 6.1: Services in Route Conditions](https://symfony.com/blog/new-in-symfony-6-1-services-in-route-conditions)

[New in Symfony 6.1: Improved Console Autocompletion](https://symfony.com/blog/new-in-symfony-6-1-improved-console-autocompletion)

[New in Symfony 6.1: Improvements Related to Types](https://symfony.com/blog/new-in-symfony-6-1-improvements-related-to-types)

## Featured Item

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

Quanta Magazine has a fascinating article and interview with programming legend Leslie Lamport. He revolutionized how computers talk to each other. Now he’s working on how engineers talk to their machines.

### **[How to Write Software with Mathematical Perfection](https://www.quantamagazine.org/computing-expert-says-programmers-need-more-math-20220517/)**  

### This Week

Demianchuk Sergii says, “welcome to the 4th article devoted to the theme: “How to work with ElasticSearch using Symfony PHP framework”.

[Symfony Elasticsearch — builder pattern, DTO criteria object](https://medium.com/@demianchuk.sergii/symfony-elasticsearch-builder-pattern-dto-criteria-object-f9b1ceae9e6c)

Dariusz Gafka writes, “Message processing is becoming more and more popular in PHP. And the Response model is not enough for current system needs.

Messaging platforms (RabbitMQ, Kafka, SQS, etc) help in solving those problems by increasing the amount of load the system can take, introducing background processing and handling failure retries.

Symfony Messenger, Laravel Queues and Ecotone Framework provides higher level abstraction for message processing that hides integration with given messaging platforms and introducing additional features.”

[Message Processing in PHP — Symfony Messenger, Laravel Queues and Ecotone](https://blog.devgenius.io/message-processing-in-php-symfony-messenger-laravel-queues-and-ecotone-8ca17102c5b2)

Jordi Bassaganas notes, “as a full-stack web developer, eventually you’ll need to write a REST API endpoint to generate a file to then be sent over the Internet.

A message broker like RabbitMQ or Apache Kafka may be a good option to be considered.

However, if it is an occasional task that takes little time like, let’s say five to twenty seconds, probably it is a good idea to implement a simple solution.”

[How to Delete a File After the Download Is Finished](https://medium.com/geekculture/how-to-delete-a-file-after-the-download-is-finished-e71f77d8bd)

Furcan Zurman notes, “Kabina uses Symfony as a core framework. Using an open-source and popular framework as the core of this project is awesome for developers and us. Because an existing framework can save a lot of hours for you. Okay, but why Symfony or why not Laravel?**”**

[Reborn of an API — Kabina CMS DevLog #1](https://medium.com/upskilling/reborn-of-an-api-kabina-cms-devlog-1-b8d3423246c5)

In French Les-Tilleuls Coop takes a look at what’s new in Symfony 6.1.

[Nouveautés dans Symfony 6.1 : Notre coopérateur Mathias vous en dit plus!](https://les-tilleuls.coop/blog/nouveautes-dans-symfony-6-1-notre-cooperateur-mathias-vous-en-dit-plus)

Sebastian Luczak explains:

[Why do we need Symfony Polyfill (... and why we shouldn't)](https://thecodest.co/blog/why-do-we-need-symfony-polyfill-and-why-we-shouldnt)

**CMSs**

Mediacurrent shares its recent experience at DrupalCon. Their Penn State presentation was a very interesting one on large-scale, decoupled Drupal.

[An Online Community Brought to Life: DrupalCon Portland 2022](https://mediacurrent.medium.com/an-online-community-brought-to-life-drupalcon-portland-2022-7ab19bb809a4)

The Drop Times follows:

[Drupal’s Accessibility Journey](https://www.thedroptimes.com/article/9058/drupals-accessibility-journey)

Evolving Web tells us:

[What You Need to Know to Get Ready for Drupal 10](https://evolvingweb.ca/blog/what-you-need-know-get-ready-drupal-10)

Specbee has a handy resource for us.

[Auditing your Drupal Website - A Checklist](https://www.specbee.com/blogs/drupal-website-audit-checklist)

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

## PHP

### This Week

In French, Alex Soyes looks at:

[DDD : Domain-Driven Design (Théorie & Pratique)](https://alexsoyes.com/ddd-domain-driven-design/)

Regarding Composer, opensource.com says, “This dependency management tool makes it easier to require a repository even when it hasn't been created as a package.**”**

[Use Composer to require Git repositories within PHP projects](https://opensource.com/article/22/5/composer-git-repositories)

Parthenon shares some:

[PHP Code Quality Tools](https://getparthenon.com/blog/php-code-quality-tools/)

Steve Kings explores:

[Testing API responses in pestPHP](https://www.juststeveking.uk/testing-api-responses-in-pest-php/)

Cédric Teyton shows us how to use Promyze to:

[Share your PHP best practices with your team in PHPStorm](https://medium.com/promyze/share-your-php-best-practices-with-your-team-in-phpstorm-7686abd2446f)

RemoteFace reveals:

[What We Can Do in PHP](https://medium.com/@remoteface111/what-we-can-do-in-php-1c5927333b9)

Craig Francis looks at:

[Ending Injection Vulnerabilities](https://eiv.dev/)

On PEAKD, Crell says there is:

[Much ado about null](https://peakd.com/hive-168588/@crell/much-ado-about-null)

Sumita K explores PHP encoding and decoding.

[PHP: Useful Encoding and decoding Functions You Need to Know](https://blog.canopas.com/php-useful-encoding-and-decoding-functions-you-need-to-know-210e523a065f)

This is self-explanatory:

[PHP 8.1.6 and 8.0.19 released!](https://phpmagazine.net/2022/05/php-816-released.html)

Amyy Stephanie Alex-Okenwa shows us:

[How to use Heroku to deploy your PHP website](https://stephanieamy.medium.com/how-to-use-heroku-to-deploy-your-php-website-63899c2898b)

My buddy on Mastodon, Grant Horwood continues his series on command-line scripts:

[Writing command-line scripts in php: part 4; key-down input](https://dev.to/gbhorwood/writing-command-line-scripts-in-php-part-4-key-down-input-ng5)

Dino Cajic looks at:

[PHP — P45: Class Constants](https://blog.devgenius.io/php-p45-class-constants-4a93c49b917f)

[PHP — P47: $this Keyword](https://blog.devgenius.io/php-p47-this-keyword-f7397e560949)

Jose Luis shows us:

[How to implement JavaScript-style Promises on PHP](https://medium.com/@jhuertasdeveloper/how-to-implement-javascript-style-promises-on-php-ca5b819c400e)

Eden AI explores:

[How to do Named Entity Recognition (NER) with PHP?](https://edenai.medium.com/how-to-do-named-entity-recognition-ner-with-php-838b6ab4f32)

Shawn McCool examines:

[Testing At Boundaries With Test Doubles And Fixtures](https://shawnmc.cool/2022-05-17_testing-at-boundaries-with-test-doubles-and-fixtures)

If you are in the eCommerce space check your apps for this.

[FBI: Hackers used malicious PHP code to grab credit card data](https://www.zdnet.com/article/fbi-hackers-used-malicious-php-code-to-grab-credit-card-data/)

### Last Week

Simon Ugorji shows us:

[How To Create A Simple Nonce in PHP](https://medium.com/nerd-for-tech/how-to-create-a-simple-nonce-in-php-a5afe046beee)

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

## Other

[Please visit our Support Ukraine page](https://www.symfonystation.com/Support-Ukraine) to learn how you can help kick Russia out of Ukraine (eventually).

### The cyber response to Russia’s War Crimes

The Guardian covers:

[‘They were furious’: the Russian soldiers refusing to fight in Ukraine](https://www.theguardian.com/world/2022/may/12/they-were-furious-the-russian-soldiers-refusing-to-fight-in-ukraine?CMP=oth_b-aplnews_d-1)

ZDNet reports that:

[US files criminal case against US citizen for evading sanctions with cryptocurrency](https://www.zdnet.com/article/us-files-criminal-case-against-us-citizen-for-evading-sanctions-with-cryptocurrency/)

### The Evil Empire Strikes Back

The Hill reports:

[Finland, Sweden’s NATO moves prompt fears of Russian cyber attacks](https://thehill.com/policy/cybersecurity/3488518-finland-swedens-nato-moves-prompt-fears-of-russian-cyber-attacks/)

### Cybersecurity

VentureBeat reports on:

[The missing link in the cybersecurity market](https://venturebeat.com/2022/05/13/the-missing-link-in-the-cybersecurity-market/)

They also have:

[Crippling AI cyberattacks are inevitable: 4 ways security pros can prepare](https://venturebeat.com/2022/05/16/crippling-ai-cyberattacks-are-coming-4-ways-security-pros-can-prepare/)

And this:

[Report: Credential access is top risk for ransomware attacks](https://venturebeat.com/2022/05/18/report-credential-access-is-top-risk-for-ransomware-attacks/)

### More

Wow, more from VentureBeat.

[Once frenemies, Elastic and AWS are now besties](https://venturebeat.com/2022/05/19/once-frenemies-elastic-and-aws-are-now-besties/)

Josh W. Comeau of CSS fame has:

[The Surprising Truth About Pixels and Accessibility](https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/)

Tech Republic has an excellent comparison article on:

[Kubernetes vs Docker: What are the main differences?](https://www.techrepublic.com/article/kubernetes-vs-docker/)

Speaking of comparisons, Kinsta goes in-depth on:

[PostgreSQL vs MySQL: Explore Their 12 Critical Differences](https://kinsta.com/blog/postgresql-vs-mysql/)

rushflow looks at:

[GitHub Actions vs BitBucket Pipelines vs GitLab CI/CD](https://rushflow.io/blog/github-actions-vs-bitbucket-pipelines-vs-gitlab-cicd?ref=laravelnews)

Postman says:

[There Are Many Paths to API-First—Choose Your Own Adventure](https://blog.postman.com/many-paths-to-api-first-choose-your-own-adventure/)

ZDnet also reports that the:

[Software Freedom Conservancy wins a big step forward for open-source rights](https://www.zdnet.com/article/software-freedom-conservancy-wins-big-step-forward-for-open-source-rights/)

The 2022 Stack Overflow developer survey is open.

[2022 Stack Overflow Developer Survey](https://stackoverflow.az1.qualtrics.com/jfe/form/SV_5jeoE1pq9sFcwIe)

Finally, Erik Hermansen has some advice I should listen to. 😬 See if you fall into the same boat. 

[You Versus a World of Stupidity — Advice for Angry Engineers](https://levelup.gitconnected.com/you-versus-a-world-of-stupidity-advice-for-angry-engineers-819550142477)

That's it for this week. Thanks for making it to the end of another edition. I look forward to sharing next week's Symfony and PHP news with you on Friday.

Please share this communiqué. 

Also, 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). 

If you don't already [follow us on Twitter at @symfonfystation](https://twitter.com/symfonystation). 

And since it may be turning into a full-scale dumpster fire, we are now on Mastodon as well at [@symfonystation@phpc.social](https://phpc.social/web/@symfonystation). Consider joining the [@phpc.social](https://phpc.social/web/home) instance.

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

More importantly, if you are a Ukrainian company with coding-related products, we can offer free promotion on [our Support Ukraine page](https://www.symfonystation.com/Support-Ukraine). Or, if you know of one, get in touch.

Keep coding Symfonistas!

## Author

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

### Reuben Walker

Founder
Symfony Station