This publish initially appeared on Symfony Station.

Welcome to this week’s Symfony Station Communiqué. It is your weekly evaluation of essentially the most important information within the Symfony and PHP development communities.

This week, we proceed our protection of the struggle crimes occurring in Ukraine and how one can assist. That sparks some cybersecurity protection as properly. There was not a lot Symfony information so I’m including in additional Drupal protection that overlaps with Symfony development.

Take your time and benefit from the gadgets Most worthy for you.

Due to Javier Eguiluz and Symfony for sharing our last communiqué of their Week of Symfony.

Please notice that hyperlinks will open in a brand new browser window. My opinions will likely be in daring.

As at all times, we are going to begin with the official information from Symfony.

Spotlight -> “This week, Symfony 4.4.39, 5.4.6, and 6.0.6 upkeep variations had been launched. As well as, all the schedule of the SymfonyLive Paris 2022 convention was printed. Lastly, Symfony expressed its solidarity with Ukrainian folks.”

A Week of Symfony #792 (28 February – 6 March 2022)

In addition they remind us that “the French SymfonyLive convention organized in Paris will likely be quickly right here! Be part of us on April seventh and eighth for two days of Symfony talks. Common pricing ends on March 14th!”

Only 4 weeks left before SymfonyLive Paris 2022

SymfonyCasts continues its exploration of EasyAdmin.

This week on SymfonyCasts

Featured Merchandise

A current Forbes article notes “over one-quarter of U.S. shoppers haven’t taken any steps to guard their digital/on-line privateness – and which means it’s extra essential than ever for organizations to make sure their software program and functions are as bulletproof as doable towards dangerous actors. Nonetheless, the fast shift to digital and the fast-paced nature of enterprise in right this moment’s post-pandemic world, coupled with the rising and complicated menace panorama, continues to problem even essentially the most superior safety groups.

One thing wants to vary, and one firm is arguing that the business requires a brand new method to safety centered on developers. In any case, developers have turn into the lifeblood of a corporation’s digital transformation journey – however the quicker developers transfer to deliver new functions to market, the higher the possibilities for flaws or safety points inside their code.”

Why the Future of Cybersecurity Rests in Developers’ Hands

I wholeheartedly agree with this.


This Week

Dans français Guillaume Ponty explores Third-party authentication with Symfony.

Symfony 6: S’authentifier avec Google, Facebook, GitHub, …

Heddi Nabbisen has this attention-grabbing tutorial for us:

EasyAdmin 4 for admin panel based on PHP 8 and Symfony 6: Install and create a sample

Andy Blum writes “Following Drupal 8’s formidable overhaul to “get off the island,” the advisable option to create a brand new Drupal website is to make use of composer to handle all PHP dependencies. By now, most Drupal developers can have had an opportunity to put in a brand new module or replace current modules utilizing composer’s require or replace instructions, however do you know which you can additionally use composer to run scripts to work together together with your code?”

Add a Composer Script to Your Module or Theme

Griffin Polonus writes “PHP 8 consists of enhancements that present a transparent want to modernize, as
properly as capabilities of different common languages that developers will respect. Due to PHP 8, Drupal 10 can now use instruments that may allow continued progress and enhanced efficiency. Upgrading to PHP 8 will likely be helpful to any website operating on PHP–nonetheless, as a Drupal developer, I’m notably enthusiastic about how this may affect Drupal 10. I’ll spotlight a number of the advantages that apply to many websites, however particularly the way it might apply to Drupal.

PHP 7 to 8: Entering the Modern Era of Programming Languages

Golems states, “Drush (the Drupal Shell) is among the most handy and purposeful assistants for all Drupal developers. Learn on in the event you’re all in favour of studying how Drupal 9 and Drush work collectively, what advantages it has, and the way straightforward it’s to sanitize information with Drush.”

Drupal 9: Sanitizing Data With Drush

Final Month

Manish Saharan says, “On this article, we’re going to debate two such Drupal 8/9 utility instruments which have massively simplified and improved the way in which you’re employed with Drupal code, modules, and installations – Drupal Console (leveraging Symfony Console) and Drush.”

Accelerating Drupal Development with Drupal Console and Drush


As we famous in How Symfony Station was built: an adventurous exploration of layout solutions, the default Drupal admin theme is an eye-destroying abomination. We wrote “Gin is gorgeous compared. It is clear, cool, and picked up with some customization choices.” It was constructed on the inspiration of Claro from one of many lead designers of the Claro & Drupal Design System.

Clayton Dewey expounds upon this with, “I’ve seen, repeatedly, the distinction a clear and trendy web site enhancing interface can have on each the amount and high quality of website content material. When a web site’s back-end is irritating and unappealing to work with, it dissuades the writer from posting.” In a multi-post sequence, he explores the wonders of Gin.

There are quite a lot of design classes to choose up within the sequence. And in the event you’re a brand new Drupal person, classes on methods to use it. It’s excellent for bigger publishers.

Enhance Your Drupal Website’s Authoring Experience Part 1 – Modernize the Admin Theme with Gin

Enhance Your Drupal Website’s Authoring Experience Part 2 – Declutter the User Interface

Enhance Your Drupal Website’s Authoring Experience Part 3 – Improve the Field User Interface

Enhance Your Drupal Website’s Authoring Experience Part 4 – Fine Tune Admin Pages

Enhance Your Drupal Website’s Authoring Experience Part 5 – Accessibility Tools and Conclusion

Word: Drupal is addressing their usability downside with a model of Claro that will likely be non-experimental for core in v. 10.

Sponsored Article

We printed our third sponsored article on Symfony Station exploring methods to Implement Code Execution Monitoring in your Symfony apps by way of Inspector. Like all our articles it’s now accessible by way of audio.

How to Implement Code Execution Monitoring for your Symfony apps via Inspector

All sponsored articles are for merchandise we have now vetted and stand behind. We both use them or would accomplish that in the event that they had been relevant to the Symfony Station website.


This week

Rafael Bernard Araujo explores Area-Pushed Design in and worth object:

Introducing value objects in PHP

Tomasz Dobrowolski covers dependency injection and writes, “whereas it sounds advanced, it’s not as scary because it sounds on the floor. And if used appropriately, it might remodel your code to be cleaner and simpler to work with.”

What Is Dependency Injection in PHP and How You Can Use It to Write Better Code

Marco Aurélio Deleu says, “I’ve been engaged on a brand new Runtime for Bref for some time now and it has been my greatest open supply journey to this point. It has been extremely difficult and an incredible studying expertise. On this publish, I need to run by some key elements that I confronted whereas engaged on this.”

3 things I learned working on a Bref Runtime

Frank de Jonge exhibits us methods to:

Use a message envelope

Andreas Heigl takes a have a look at PHP attributes.

Attributes are awesome

Harpreet Kaur notes “Memcache is object storing mechanism which is used to retailer the outcomes of database queries serving to web sites to serve pages quicker. Memcaching course of shops information as key-value pairs in reminiscence in order that it may be accessed later. Will probably be helpful in these functions which rely closely on database queries. Memcaching goes to enhance the efficiency of the applying considerably.”

What is Memcache & How to use it in PHP?

Ten7 appears to be like at Memcache in Drupal.

Memcache Testing and Proxying

Gene Wilburn wanted to construct a light-weight search performance. He writes “As I considered an answer for this small website, I considered grep, the open-source search utility with an extended Unix heritage that may rip by textual content information to seek for phrases or phrases and present them in context.”

Greppy: A Lightweight Perl/PHP Website Search Engine Based on Grep

Jakub Misek says, “Have you ever heard in regards to the Visual Studio Code for the Web? It is the code editor operating in your browser, permitting you to work together with your native information, information in your GitHub repositories, or information on Azure. Anyplace.

Within the case of the PHP language, it’s only appropriate for fast edits on small initiatives, as a consequence of its limitations. Nonetheless, PHP Instruments for Visible Studio Code is newly accessible for VS Code for the Web. All of the editor options can now be used on this browser-based development atmosphere.”

PHP IntelliSense on the Web

Final Month

Alessandro Castellano has a brand new tutorial and says, “you’re going to see how class constructors work in PHP, what occurs with class inheritance, and a brand new PHP 8 characteristic known as “argument promotion”.”

PHP Constructors Explained

WPGraphQL notes “Organising Finish to Finish checks for WordPress plugins could be achieved in a number of methods (Codeception, Cypress, Ghost Inspector, and so on), however these days, the best approach I’ve discovered to do that is to make use of the @wordpress/env and @wordpress/scripts packages, distributed by the crew engaged on the WordPress Block Editor (a.okay.a. Gutenberg), together with GitHub Actions.”

Adding End 2 End Tests to WordPress plugins using wp-env and wp-scripts

Frank Pins explores Gitlab pipelines in a sequence of articles.

Optimizing Gitlab pipelines – Basics (1)

Optimizing Gitlab pipelines – PHPUnit (2)


Please visit our Support Ukraine page to be taught how one can assist kick Russia out of Ukraine (ultimately).

I feel we should always all cease doing enterprise with Russian corporations. Nonetheless, many assume web entry is an exception. At this level, I’m not certain. However Cloudflare is.

Cloudflare won’t cut off Russia, says it “needs more Internet access, not less”

Evidently Twitter itself agrees because it has created an onion website for Tor browsers.

Learn more in this Tweet thread

And Lumen doesn’t.

Breaking Russia’s internet backbone

Enterprise Beat has a report on the Ukrainian IT Military’s offensive.

Ukraine’s IT army is doing well, hitting Russia with ‘cost and chaos’

Nameless continues its assault on Putin’s minions and lackeys.

Anonymous claims it hacked into Russian TVs and showed the true devastation of Putin’s Ukraine invasion

Cyber Scoop reviews “NATO nations voted unanimously final Friday to confess Ukraine to their Cooperative Cyber Defence Centre of Excellence (CCDCOE), a development which specialists stated will assist Ukraine combat off mounting cyber threats from Russia.”

Ukraine, looking to fortify itself against Russian attacks, admitted to NATO cyber center

The free world additionally must kick up its defensive sport. Three corporations are aiding the trouble.

Cloudflare, CrowdStrike, and Ping Identity launch the Critical Infrastructure Defense Project

What gained’t work is the Ostrich method.

It’s time to stop hoping that cybersecurity problems will just go away

One option to defend your website is to dam entry to it by nation. In case you don’t have an viewers in Russia, it is best to accomplish that. We accomplish that we aren’t.

How to block access to your website and related services in Russia, PHP 8, and client-side alternatives

Tawhid has this safety recommendation for us:

11 Security tips to protect your website

For instance of an assault, Nevulo explains XSS. “Cross-site scripting is an assault carried out on web sites, the place an attacker can inject some malicious code or scripts that get executed to change the conduct of that web site.”

What is cross-site scripting (XSS) and how does it work?

Harvard Enterprise Overview’s Stuart Madnick takes a peek at the place this would possibly all lead.

What Russia’s Ongoing Cyberattacks in Ukraine Suggest About the Future of Cyber Warfare

Through Quick Firm “MacPaw’s Julia Petryk talks about sheltering in an underground parking storage, enduring Russian propaganda, and confronting the emotional toll of the struggle.” MacPaw is a Ukrainian company we urge you to support.

What it’s like to work at a Ukraine tech company during Russia’s invasion

Talking of tech corporations:

It took a war for Big Tech to take a side

Listed below are a couple of articles analyzing why Putin’s struggle of terror just isn’t going so properly (except for the truth that most thugs are corrupt, dumb, and incompetent).

Putin Underestimated the Connective Tissue of Capitalism

The Strategy That Can Defeat Putin

The Spectacular Collapse of Putin’s Disinformation Machinery

And now in additional encouraging information, right here’s a have a look at the spectacular issues coming to CSS. Michelle Barker writes “It’s truthful to say that we’re in a booming period for CSS proper now. As I write this, I discover that many of those new options have some issues in frequent. Sure, they usually assist us write higher, cleaner, and extra environment friendly code.”

New CSS Features In 2022

Icons are at all times helpful for UI, UX, and web design. Right here’s methods to use Font Superior irrespective of your dev/design stack.

Now You Can Stop Shoehorning Solutions to Get Icons Working with Your Tech — Font Awesome Matches Your Tool Stack

Microsoft made an announcement that may make JavaScript developers pleased.

A Proposal for Type Syntax in JavaScript

Writing for Forbes, Amir Husain says:

Decentralization Is the Future of Software

That is it for this week. Thanks for making it to the top of one other prolonged version. I look ahead to sharing subsequent week’s Symfony and PHP information with you on Friday.

Please share this publish. 🙂 Be sure you join our newsletter list at the bottom of our site’s pages. Becoming a member of will get you every week’s communiqué in your inbox (a day early). And follow us on Twitter at @symfonfystation.

Do you personal or work for a corporation that will be all in favour of our promotion alternatives? In that case, please contact us. We’re in our infancy so it’s additional economical. 😉

Extra importantly, in case you are a Ukrainian firm with coding-related merchandise, we will offer you free promotion on our Support Ukraine page. Or if you understand of 1, get in contact.

Preserve going Symfonistas!

Reuben Walker

Symfony Station

Abu Sayed is the Best Web, Game, XR and Blockchain Developer in Bangladesh. Don't forget to Checkout his Latest Projects.

Read More