Need help with Drupal or Grav admin, site building, design, or content? Contact us! 

Help Defend Democracy! → Join Battalion today.

Back to top with progress scrollbar

Symfony Station Communiqué - 17 March 2023

By Reuben Walker, 17 March, 2023

Illustration of a spaceship on the rocky surface of an alien planet.

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

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

Thanks to Javier Eguiluz and Symfony for sharing our latest communiqué in their Week of Symfony. There's two wagon loads of PHP items this week.

My opinions will be in bold. And will often involve profanity.


A significant proportion of the content we curate is on Medium. I highly recommend investing in a membership to access all the articles you want to read. It's a small investment that can boost your career. As you may have noticed, non-members can only access a limited number of articles per month.

Become a member here! 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 upcoming Symfony 6.3 version added features to create targeted value resolvers, to allow you to select the parser used in DomCrawler component, to support autowiring services as closures using attributes and to improve Serializer performance.“

A Week of Symfony #845 (6-12 March 2023)

Symfony announced:

SymfonyLive Berlin 2023 - SymfonyLive comes back to Germany on October 5-6!

SymfonyLive Paris 2023 - Only 7 days to go!

Blackfire has:

The Power of Blackfire Alerting

SymfonyCasts start its second API Platform course, and it covers security.

This week on SymfonyCasts


Featured Item

https://symfonystation.com/sites/default/files/inline-images/Featured-Item_1_0.png

The Guardian opines that artificial intelligence in its current form is based on the wholesale appropriation of existing culture, and the notion that it is actually intelligent could be actively dangerous.

The stupidity of AI


This Week

Riya Joshi explores:

Manipulating a Large CSV File with Symfony, JS, and Python

Stefano Alletti shares a:

Step-by-step Guide to use Auth0 with Symfony 6

Ozan Akman examines:

Programming paradigms: Which framework is better?

Jessica Kuijer looks at:

Symfony Chatbot with Chat-GPT (and other APIs...)

I don’t know why you would want to do this, but here’s how.

Jarosław Szutkowski explores:

Behat: The Easy and Effective Way to Write Acceptance Tests

Nacho Colomina Torregrosa examines:

Using PHP anonymous classes to test collection services

Jérôme Tamarelle shares:

Rendering Twig templates in Storybook

Great stuff here.

Speaking of Twig, this is an interesting project from Wynton Franklin:

Building a Time Off System

CMSs

And speaking of Storybook, Diffy explores:

Drupal And Design Systems

Drupal shares:

Lupus Decoupled Drupal

Nominations are now open for the 2023 Aaron Winborn Award

And needs your help with this:

Survey: Module Project Pages on Drupal.org

And most importantly:

DrupalCon Pittsburgh 2023 Schedule

Jacob Rockowitz explores:

Providing JSON:API and GraphQL support for the Schema.org Blueprints module

Specbee examines:

Mastering Drupal 9 Layout Builder: A Comprehensive Guide to Effortlessly Customize Your Website's Design

My recent article shared some critiques of Drupal’s development, but the work on the frontend is an exception. Great strides have been made in the last year to modernize it.

And this is an effort that is similar to the one I propose in my article:

The Drupal Association Supports ICFOSS/Zyxware Back-to-work Programme

Mike Herchel shares:

Creating Your First Single Directory Component within Drupal

And after automatic updates and starter themes, this is the most exciting development upcoming in Drupal 10.

Aten Design Group looks at:

Everything You Want to Know About Backdrop CMS But Are Afraid To Ask

Previous Weeks

Sylvain Fabre explores a:

Proprietary PHP framework migration to Symfony

Ulrich shares:

Manage Elasticsearch indices with elasticsearch-php library

Index document in Elasticsearch using elasticsearch-php

PHP

This Week

Jetbrains announces:

PhpStorm 2022.3.3 is now available

Regular readers know Jason Knight is one of my favorite writers and a kindred spirit.

He has this spectacularly entertaining case study:

New Client’s Website Had Some Interesting “Problems”

The WP Minute is:

Digging Into the WordPress Block Protocol Plugin

I love the Block Protocol initiative and hope it can integrate with Gutenberg as tightly as possible.

Jorge Castro looks at:

Using ORM in PHP without a framework

This got a lot of love on Mastodon this week.

Moslem Deris explores:

Mastering Strategy Pattern in PHP: 2 Real-World Use Cases

Aminul Islam Sarker examines:

Designing PHP Applications Like a Pro: Leveraging the Power of Design Patterns for Optimal Code

Freek.dev has:

Discovering PHP's first-class callable syntax

Matt Glaman updates us on:

PHPStan's new @not-deprecated annotation

Claudio Riberio shares a:

Quick Tip: How to Get the Current Date in PHP

And Andy Blum has this nifty little tool:

PHP DateTime Cookbook

Alp Emre asks:

Do you want to rid of the long and complicated “If Else”?

God, I hate gifs.

Ryan Chandler has this interesting article on Foreign Function Interface:

Blazingly Fast Markdown Parsing in PHP using FFI and Rust

Farhan Tanvir is back with another:

7 Useful PHP Libraries You Should Use in Your Next Project

How many libraries can you use in a project?

Honey Badger has:

Reducing Errors With Type Hinting in PHP

Daniil Bazhenov shows us:

How to Develop a Simple Web Application Using Docker-compose, Nginx, PHP 8, and MongoDB 6

One of my Mastodon buddies, Grant Horwood, explores:

writing command line scripts in php: part 5; styling output text

Nico Mercado looks at why WordPress is moving forward the way it is, and why it’s having success.

The elePHPant in the room: Wordpress

Hayden James explores:

Monitoring PHP Performance and Diagnosing Bottlenecks

Cool Fellow examines:

Self and Static in PHP and their differences

Morteza has:

Unleashing the Full Potential of PHP: How to Overcome the Limitations of Web Development

Previous Weeks

Rakibul Islam shares:

Exploring the Power of ReflectionClass in PHP

Adrien Roches opines on:

PHP : The fall of array

Other

Please visit our Support Ukraine page to learn how you can help kick Russia out of Ukraine (eventually).

The cyber response to Russia’s War Crimes and other douchebaggery

The New York Times reports:

Flood of Russians Alters Life for Countries That Took Them In

Forbes reports:

What Corporate Directors Need To Know About The White House National Cybersecurity Strategy

Decipher reports:

US, German Authorities Take Down ChipMixer Platform

The Evil Empire Strikes Back

And:

Winter Vivern APT Targeting Ukrainian, European Organizations

Via Bloomberg Law:

Florida ‘Digital Rights’ Push Big Tech Into DeSantis Culture War

Stubby Ron DeCuntis took a break from endorsing Vlad Cuntin this week to have his lickspittle cronies push some undoubtedly unconstitutional legislation. Nothing he gives a shit about other than it helping him in his coup attempt on Cheeto Jesus.

Bleeping Computer:

Microsoft fixes Outlook zero-day used by Russian hackers since April 2022

The Guardian reports:

Russia disinformation looks to US far right to weaken Ukraine support

NBC reports:

Russian hackers could be regrouping ahead of elections, Microsoft warns

Wired reports:

This Is the New Leader of Russia's Infamous Sandworm Hacking Unit

The Hacker News reports:

YoroTrooper Stealing Credentials and Information from Government and Energy Organizations

Cybersecurity/Privacy

And:

GoBruteforcer: New Golang-Based Malware Breaches Web Servers Via Brute-Force Attacks

Warning: AI-generated YouTube Video Tutorials Spreading Infostealer Malware

PCMag reports:

US Shuts Down 'Netwire' Malware That Posed as Legit Remote Admin Tool

Forbes reports:

GPT-4 Can’t Stop Helping Hackers Make Cybercriminal Tools

Don’t use autofill on your password manager—especially if it’s Bitwarden

This is good advice I was not familiar with.

More

SWYX says:

Preemptive Pluralization is (Probably) Not Evil

Tomasz Dobrowolski shares:

4 Crucial Skills Every Entry-Level Developer Needs but Doesn’t Have (And How You Can Learn Them…

The Begin Blog looks at:

Redefining Developer Experience

Brain Schnee shows us:

How to Learn and Use TypeScript: A Comprehensive Beginner's Guide

David explains:

Why Svelte Outperforms React: A Deep Dive into Render Performance

Longtime readers know I hate React and love Svelte, so I dug this.

CatlinCodes explores:

One problem that is now solved by CSS Subgrid

IFTTT asks:

What are Webhooks and how to you use them?

Adam Zewe reports:

New method accelerates data retrieval in huge databases

Leopardo Rossi shares:

SQL Server and Flyway: a Docker approach

And Servebolt shows us:

How To Profile SQL Queries for Better Performance

Fediverse

Wired reports:

Twitter’s $42,000-per-Month API Prices Out Nearly Everyone

C^nts gonna c^nt.

Johannes Ernst

Meta and ActivityPub

As we covered last week, the reaction to this news ranged from incredulous disbelief to horror.

TechCrunch reports:

WordPress.com owner Automattic acquires an ActivityPub plugin so blogs can join the Fediverse

Meanwhile, this news was met with joy and acclaim.

Here’s the official statement:

ActivityPub

Joe Lotter writes:

On POSSE and IndieWeb

Storybench has:

Adam Davidson talks Mastodon, @Journa.Host, and content moderation

If you think the Fediverse would be an interesting option to explore for your side projects, The FediForum is coming up

FediForum | Who's coming?

Here’s an example project from Veronica Berglyd Olsen:

Threaded Mastodon Comments

CTAs (aka show us some free love)

Do you own or work for an organization that would be interested in our promotion opportunities? Or supporting our journalistic efforts? 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. Or, if you know of one, get in touch.

Keep coding Symfonistas!

section separator
Article Type
Donate using Liberapay

Symfony Station covers the essential news in the Symfony, PHP, and Fediverse development communities with a focus on protecting democracy. Please use the button above to make a small donation to help cover our out-of-pocket costs. Our labor is provided free of charge to support the communities we write about.

Join our newsletter list

Subscribe to The Payload, our weekly newsletter exploring the Symfony Universe.

  Start exploring!