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. Take your time and enjoy the items most valuable for you.
And more importantly, we want to wish you a Happy Holiday Season!
Thanks to Javier Eguiluz and Symfony for sharing our last communique and our article on how Symfony Station was built in their Week of Symfony.
*Please note that links will open in a new browser window.
Symfony
As always, we will start with the official news from Symfony.
Highlight -> "This week, Symfony wrapped up its 2021 conferences and announced a new SymfonyWorld Online 2022 conference for June 14-17. In addition, SymfonyCorp, the company behind the Symfony project, announced that it's hiring new developers from anywhere in the world to work on in-house projects."
A Week of Symfony #781 (13-19 December 2021)
https://symfony.com/blog/a-week-of-symfony-781-13-19-december-2021
The Blackfire PHP SDK now provides a seamless integration to monitor your CLI commands.
Symfony Commands Monitoring
https://blog.blackfire.io/symfony-commands-monitoring.html
Featured Item
We continue to highlight a post of the week.
I considered the profile of Matt Mullenweg below for our featured item but decided on the following.
We all know PHP is not dying. However, its popularity is slowly decreasing. Which is not a disaster by the way.
This post is a level-headed look at why PHP isn’t being used for as many purposes as it once was.
Why is PHP’s Popularity Decreasing?
https://blog.llbbl.com/why-is-phps-popularity-decreasing-ec13c68202e5
This week
Alex Daubois has yet another post for us. This week he explains the Symfony 6 Security Component.
Symfony’s Security Key Concepts in 5 minutes
https://alex-daubois.medium.com/symfonys-security-key-concepts-in-5-minutes-e18033c26b35
William Pinaud provides this review of SymfonyWorld Online Winter 2021
A quick REX on SymfonyWorld Online 2021 — Winter Edition
https://william-pinaud.medium.com/a-quick-rex-on-symfonyworld-online-2021-winter-edition-3b098a0f89e5
Dariusz Włodarczyk explores breaking your Symfony project into smaller pieces when you have limited local computing resources.
Splitting Symfony project into chunks
https://medium.com/nerd-for-tech/splitting-symfony-project-into-chunks-c297b5a55dab
StrangeBuzz shows you how to organize your Symfony project tests. Check all the available test types and create consistent and robust test suites.
Organizing your Symfony project tests
https://www.strangebuzz.com/en/blog/organizing-your-symfony-project-tests
Drupal announced that version 9.3 is available.
Drupal 9.3.0 is available
https://www.drupal.org/blog/drupal-9-3-0
Vishwa Chikate covers “alternative approaches which can be introduced to handle API validation in Drupal 8/9 or any PHP-based project, thereby further reducing the need to write needless custom code to validate the HTTP request.”
Drupal 8/9: Writing validation for RESTful API’s the simple way
https://medium.com/@vishwa.chikate/drupal-8-9-writing-validation-for-restful-apis-the-simple-way-e7c10b47f71d
And Nevin Katz shows us how to set up local development for Drupal with Lando.
How to Set up a Local Drupal Website With Lando
https://medium.com/codex/how-to-set-up-a-local-drupal-website-with-lando-504ae3765130
The following post also looks at breaking large projects into smaller pieces. It promotes the Divide and Conquer approach in Spanish..
Divide y vencerás: Parte 1
https://medium.com/bigbuy-team/divide-y-vencer%C3%A1s-parte-1-dfa1a6ada228
Last Week
Prestaconcepts looks at the history of Symfony versions in this post in French.
Symfony : Une genèse majeure
https://www.prestaconcept.net/blog/symfony/symfony-une-genese-majeure
This Month
Zlato Spajic writes HautelookAliceBundle is a tool you can use to effortlessly seed test data for your development environment. The bundle utilizes a PHP library called Faker which generates the test data for you.
How to Seed Data With Symfony Hautelook Fixtures
https://q.agency/blog/how-to-seed-data-with-symfony-hautelook-fixtures
Timeless
If you ever need to send someone an explanation of what Symfony is, this post's for you.
Symfony framework explained
https://metrabit.medium.com/symfony-framework-explained-8deceebdf8b
I have been sharing many posts from Akashic Seer's blog over the past months. These two catch us up.
Working with your apps local image assets in Symfony 5+
https://akashicseer.com/web-development/working-with-your-apps-local-image-assets-in-symfony-5/
How to quickly create a Symfony 5+ controller
https://akashicseer.com/web-development/how-to-quickly-create-a-symfony-5-controller/
We also continue to share the treasure trove of Symfony posts on Twilio’s blog.
Verifying Twilio API Requests in Symfony 5
https://www.twilio.com/blog/verifying-twilio-api-requests-php-symfony-5
Implement Two-Factor Authentication With Symfony and Twilio's Authy App and API
https://www.twilio.com/blog/implement-two-factor-authentication-symfony-authy
PHP
This week
Doeke Norg is back with a look at Heaps in PHP. He explores the world of Heaps, the data structure. Because some knowledge of Trees is useful he suggests you read his Trees and Tree Traversal in PHP article before diving into this one. https://doeken.org/blog/tree-traversal-in-php/
Heaps explained in PHP
https://doeken.org/blog/heaps-explained-in-php
DeliciousBrains wants you to “imagine a world where your IDE or code editor detected problems before you even ran the code.”
Get Started with PHP Static Code Analysis
https://deliciousbrains.com/php-static-code-analysis/
Anders Björkland continues his month-long series of PHP Christmas posts with one on MVC.
Have Yourself a Model View Controller
https://dev.to/andersbjorkland/have-yourself-a-model-view-controller-3jlf
Platform.sh was a gracious sponsor of the recent SymfonyWorld Online. They now support PHP 8.1 on the platform.
PHP 8.1 lays new ground on Platform.sh
https://platform.sh/blog/2021/php-81-lays-new-ground-at-platformsh/
Italo Baeza Cabrera notes that “the PSR-3 implementation describes eight log levels. You read that right. In order of “severity”: Emergency, Alert, Critical, Error, Warning, Notice, Info and Debug.”
PHP: Making Sense of the 8 Log Levels
https://darkghosthunter.medium.com/php-making-sense-of-the-8-log-levels-ddd27c4719a
Smaine Milianni provides a reminder piece on PHP constants.
Use PHP Class constants
https://smaine-milianni.medium.com/use-php-class-constants-cc82aee7da9d
Nicholas Valverde writes “Working in Docker feels like you are working in virtual machines, so it can be a bit confusing at first glance, because you don’t have anything installed on your local machine except Docker itself.
Luckily, PhpStorm has us covered; it provides a tight integration with Docker!”
https://medium.com/@nicolas.valverde/phpstorm-docker-ccc4ce9a0b8e
And speaking of PhP Storm:
PhpStorm 2021.2.4 is released
https://blog.jetbrains.com/phpstorm/2021/12/phpstorm-2021-2-4-is-released/
Michał Romańczuk posted a review of SOLID PHP principles. It's always a good time to keep these in mind.
SOLID principles in PHP
https://medium.com/accesto/solid-php-solid-principles-in-php-accesto-blog-3d3b8cc421a3
Timeless
Ivo Lukač has a useful article exploring options for headless php website development.
Headless possibilities for PHP
https://netgen.io/blog/headless-possibilities-for-php
Other
The Log4Shell fallout continues, and we can all learn things from the fiasco (especially about backward compatibility). Venture Beat takes a look back at Heartbleed and compares it to Log4.
What Log4Shell teaches us about opensource security
https://venturebeat.com/2021/12/18/what-log4shell-teaches-us-about-open-source-security/
Gizmodo looks at the frantic efforts to patch for the vulnerabilities.
Log4j Vulnerabilities Are Piling Up as Companies Scramble to Patch
https://gizmodo.com/log4j-vulnerabilities-are-piling-up-as-companies-scramb-1848245370
Enough of the negative. Now for the positive. The following article looks at how Matt Mullenweg, Automattic, and WordPress are building a more open internet. Can he play the hero to big tech villains?
Can Matt Mullenweg save the internet?
https://www.protocol.com/matt-mullenweg
Joshua Otwell writes: “I sometimes forget there is a difference in counting the number of rows in a MySQL table versus counting the number of column values for those rows. Because, as you will see, there is a difference.”
MySQL COUNT(*) and COUNT(column or expression) — Differences
https://medium.com/an-idea/mysql-count-and-count-column-or-expression-differences-e480b0db5f43
For those of you using TailwindCSS here is a handy font size reference.
Tailwind Size Reference. Lines with a blue background are official Tailwind sizes.
https://talltales.xyz/tw-sizes
Have you published or seen something related to Symfony or PHP that we missed? If so, please contact us. 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 any of our site’s pages. https://www.symfonystation.com/contact Joining gets you each week's communique in your inbox (a day early). And follow us on Twitter at @symfonfystation. https://twitter.com/symfonystation
Once again, Happy Holidays Symfonistas!
Reuben Walker
Founder Symfony Station
https://www.symfonystation.com/
Reuben is also Ringmaster of Mobile Atom Media and its division Mobile Atom Code.
https://media.mobileatom.net/about-us/
https://www.mobileatom.net/
Top comments (1)
Happy Holiday! Enjoy it the best you can 🎄