Sorry, you need to enable JavaScript to visit this website.
Skip to main content

Symfony Station Communiqué - 1 July 2022

A white paragraph.

 


 

Symfony Station Logo

symfony logo

 

 


 

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 in detail this week. Because privacy and cuntitry.

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

As always, thanks to Javier Eguiluz and Symfony for sharing our last communiqué in their Week of Symfony.

My opinions will be in bold. Be forewarned, I will be doing some rage posting.


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.

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, Symfony officially introduced ux.symfony.com website alongside four new UX components (including a way to render React components and Ajax-powered autocomplete fields). In addition, it improved lazy services to allow using ghost objects and improved the usage of Enums in YAML config files.“

A Week of Symfony #808 (20-26 June 2022)

Symfony announced:

In case you didn’t know, SensioLabs is the company that created Symfony. They are celebrating.

SensioLabs celebrates its first 10 years

And:

Zoom in on Mastering OOP & Design Patterns workshop at SymfonyCon Disneyland Paris 2022

SymfonyCasts continues expanding their Symfony 6 Fundamentals Course.

This week on SymfonyCasts

Featured Item

Featured Item graphic

Nicolás Mercado looks at coding platforms and philosophy. How could that not be our featured item? The points he makes about WordPress apply to any platform.

What could Heidegger teach us about WordPress?

This Week

Sergii Demianchuk continues his look at Symfony and Elasticsearch

Symfony ElasticSearch - indexer symfony command

Tomas Votruba has:

Twig Smoke Rendering - Why do we Even Need it?

The Peoples Blog:

How to work with Twig Templates in Drupal?

Jeferson Guedes looks at:

Crie um servidor PHP + API Rest + GraphQL

Pascal Landau continues his series on Symfony and Make

Set up PHP QA tools and control them via Make [Tutorial Part 5]

eCommerce

Prestashop shares:

10 Powerful Modules to Integrate eBay & Amazon into PrestaShop

eCommerce events shares:

11 Reasons To Choose Magento 2 For eCommerce Development In 2022

CMSs

Palantir provides a:

Drupal Rector: Progress Update

Dropsolid make a solid argument as to:

Why Drupal is a Shark

Hashbang Code has the definitive (and I mean definitive) article on:

Drupal Testing Strategies

Previous Weeks

Tomas Votruba has:

Twig Smoke Rendering - Why do we Even Need it?

PHP logo

PHP

This Week

The PHP Foundation published:

PHP Core Roundup #3

PHP Watch has:

New composer audit Command and security audits in Composer 2.4

June newsletter

stitcher.io examines:

PHP version stats: July, 2022

Coding Karma has some:

Not So Obvious PHP Vulnerabilities

Mert Simsek shows us how to:

Reinvigorate PHPUnit Test Cases with Parallel Testing

Crell ruminates:

On the use of enums

Kodwings shows us how to use the:

PHP recursive function to generate a parent/child tree

Again, Dino Cajic has PHP tutorials for us:

PHP — P60: Abstract Classes

PHP — P61: Interface

PHP — P62: Traits

He’s into the good stuff now. 63 and 64 are out as well.

Chris Wolf has this fantastic article:

ddev: Easy Docker handling for web developers

Pascal Landau shows us:

How to build a Docker development setup for PHP Projects [Tutorial Part 1]

Jetbrains announced:

Increased Subscription Pricing for IDEs, .NET Tools, and the All Products Pack

Code logo

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

Venture Beat reports:

Ukraine deploys a DDoS protection service to survive the cyberwar

Fast Company reports:

The war in Ukraine hasn’t ended. Here’s how these founders continue to build their businesses.

The Guardian reports:

US blocks company worth over $1bn linked to Russian oligarch

The Evil Empire Strikes Back

The Jerusalem Post reports:

Brutal Russian invasion of Ukraine has transformed cybersecurity

TechSpot reports:

Microsoft warns of increased Russian cyberattacks on countries supporting Ukraine

The Hill reports:

Russian-backed hackers target Lithuanian websites

Ars Technica

China lured graduate jobseekers into digital espionage

Cybersecurity/Privacy

4 1/2 c⭐nts pictured here

Since six c⭐nts on the supreme court have decided half the U.S. population does not have a right to privacy, we’re renaming this section to Cybersecurity/Privacy.

I wasn’t sure whether to put this under the evil empire or cybersecurity/privacy.

But, the Guardian has:

Tech firms under pressure to safeguard user data as abortion prosecutions loom

MIT Technology Review reports:

Big Tech remains silent on questions about data privacy in a post-Roe world

The Washington Post has:

Seeking an abortion? Here’s how to avoid leaving a digital trail.

Here’s some more great advice for anyone interested in privacy. And you fucking should be.

Where We Go From Here

Protocol reports:

Big Tech is still preparing for post-Roe. It should already be planning for the next SCOTUS ruling

In a great article, Rohan Kumar explores:

Two types of privacy

The Next Web reports:

Firefox continues its fight for privacy by automatically stripping URL trackers

The Register reports on the:

Anatomy of a campaign to inject JavaScript into compromised WordPress sites

The MIT Technology Review reports:

The hacking industry faces the end of an era

Protocol reports:

Cybersecurity hype keeps building around XDR. So does confusion.

Forbes reports:

Okta Gives Back With Launch Of Nonprofit Cybersecurity Portfolio

ZDNet reports:

These are the 25 most dangerous software bugs you need to worry about

Cosmos Magazine reports:

New cybersecurity tool covers some yawning website gaps

Engadget reports:

FCC Commissioner urges Google and Apple to ban TikTok

More

Docker announced:

New Extensions, Improved logs, and more in Docker Desktop 4.10

Matthew Butterick has this tongue-in-cheek article for us on GitHub’s CoPilot.

This copilot is stupid and wants to kill me

GitHub itself has:

Improve Git monorepo performance with a file system monitor

Write Better Commits, Build Better Projects

And the Software Freedom Conservancy advises:

Give Up GitHub: The Time Has Come!

9 Best GitHub Alternatives in 2022

Semrush shows us:

How to Sync Data Between Different Databases

OpenLampTech has a:

Developer Interview with Ben Brumm

Ben is of DatabaseStar fame.

ZDnet reports:

Facebook's Meta is transferring the 'most used' JavaScript test framework to OpenJS Foundation

Dusted Codes opines:

Fund OSS through package managers

ADEO has this very solid article:

ADEO Design System: Building a Web Component library with Svelte and Rollup

Pragpub has a grumpy old man rant for us:

Tangled Up in Tools: What’s Wrong with Libraries, and What to Do About It

As a fellow grump I sympathize. ;) See my somewhat similar rant.

But, I am not always pissed off. Once in a full cold blue wolf harvest moon, I have a moment of joy. ⬇️

Reuben Walker with PHP Architect elePHPhant
PHP Architect elePHPhant finds a home.

That’s it for this week. Please share this communiqué.

Also, be sure to join our newsletter list at the bottom of our site’s pages. Joining gets you each week's communiqué in your inbox (a day early).

If you don't already follow us on Twitter at @symfonfystation.

And since it may be turning into a full-scale dumpster fire, we are now on Mastodon as well at @symfonystation@phpc.social. Consider joining the @phpc.social 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. Or, if you know of one, get in touch.

 

Visit our Communiqué Library

You can find a vast array of curated evergreen content.

 

Author

Reuben Walker photo

 

Reuben Walker

Founder
Symfony Station

 

 

 


 

Symfony Station Communiqué - 4 March 2022

A white paragraph.

 


 

Symfony Station Logo

symfony logo

 

 


 

Welcome to this week's Symfony Station Communiqué. It's your weekly review of the most essential news in the Symfony and PHP development communities. And this week, we also cover the war crimes going on in Ukraine and how you can help. Take your time and enjoy the items most valuable for you.

 

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

 

Please note that links will open in a new browser window. My opinions and there are plenty of them, will be in bold.

 

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

Highlight ->“This week, Symfony announced that Symfony 6.1 will require PHP 8.1. This is needed to fix some issues related to PHP preloading. We also decided to extend Symfony 6.0 maintenance by an additional 6 months to give you more time to prepare the migration to PHP 8.1. Finally, Symfony announced the last talks and speakers for the SymfonyLive Paris 2022 conference.”

A Week of Symfony #791 (21-27 February 2022)

 

Several updates were released.

Symfony 6.0.5 released

 

SymfonyCasts has new EasyAdmin tutorials and a link for how to help Ukraine.

This week on SymfonyCasts

 

Discover all the talks, keynotes, and speakers scheduled at the French SymfonyLive conference in Paris on April 7-8 2022.

The entire conference schedule for SymfonyLive Paris 2022 is out

 

Alexandre DuBois and SensioLabs have started a blog series on Medium named Symfony Internals.

Symfony Internals #1: Inside the Framework Configuration

 

And hotel rooms are available for SymfonyCon 2022 in Paris.

Book your hotel room at Disneyland Paris during SymfonyCon Disneyland Paris 2022

 

Featured Item graphic

 

Featured Post

 

This week’s was a no-brainer. Symfony has this on the war crimes in Ukraine:

“I like to say that an Open-Source project is nothing without a user community. You can have the best technical product ever, if nobody is using it, if nobody maintains it, if nobody spreads the word about it, it's useless. It's merely a proprietary project with an Open-Source license attached to it.

Symfony is first and foremost a community.

Today, the Symfony community is under attack.

Ukraine is in the top 10 countries in terms of visitors on this website (about 100.000 unique users during the last year alone). And we can see the traffic drop since last week :(

We have more than 2,000 registered SymfonyConnect users in Ukraine.

The Symfony book is already available in Ukrainian for both Symfony 5.4 and 6.0. It was one of the very first translations available thanks to the hard work of wonderful Ukrainian developers. The PDF book in Ukrainian on Leanpub is now free and it will stay free forever.

If you enjoy watching Symfony videos on SymfonyCasts, you can thank Ryan and Leanna from the US, but also Victor from Ukraine.”

Get the rest with this link.

 

Symfony stands with Ukraine 💙💛

 

I provide my pissed-off take in the Other section below.

 

This week

 

Since Russia has more than its fair share of bad actors and criminals, it’s time to beef up your Symfony Security.

 

Here at Symfony Station, we published a new article reviewing the eCommerce solutions using Symfony.

Exploring the 12 eCommerce Platforms of Symfony

 

Stefan Alletti shows us an “Example of a Symfony application using Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) principles while keeping the code as simple as possible.”

DDD, Hexagonal Architecture & CQRS with Symfony and Doctrine

 

Akashic Seer is back with this entertaining post.

Symfony Messenger vs EventDispatcher learn more

 

Wooter Carabain tells us “Testing your code is very important as a software developer. It not only helps you prevent bugs when you’re adding or changing features, but a good test suite also gives you and your customers a lot of confidence in the stability of the product.

Testing in Symfony is fairly easy using the Symfony/PHPUnit-bridge package. You’ll write classes containing your tests and run them, no problem. But creating the classes adds a lot of boilerplate code. What if I told you it’s possible to get rid of a lot of boilerplate code and have a nice and elegant way of writing your tests as if you’re writing an English sentence? This is where Pest comes in!”

Using the Pest testing framework in Symfony

 

Hantsy writes “PHP 8.1 introduces the official Enum support. Doctrine brought Enum type support in its ORM framework, and Symfony added serialization and deserialization support of an Enum type.” He explores:

Using Enum in Symfony

 

Guillaume continues his series we have been featuring with:

CMS en Symfony : le routing

 

Mateo Fuzul shows us “why it’s important to translate your application and how you can do it using the Symfony translation package.”

Nuts & bolts of internationalization and localization with Symfony

 

Jakob Perry makes:

The case for Drupal >=9

 

Kevin Wenger shows us how to:

How to Migrate content into Drupal Paragraphs

 

And Josh Estep demonstrates:

How to Ensure Images are Optimized in Drupal

 

We promised to share the Florida DrupalCamp presentations when they became available.

Here they are.

The slides can be found on individual session pages.

 

Last Week

 

Jacob Rockowitz says, “There are plenty of resources in the Drupal community for learning how to build a module. This article is not about building a custom module. My goal is to provide a guide for auditing and reviewing a Drupal module. In doing so, I'm aiming to help you achieve your goal to understand, document, clean up, and hopefully improve a Drupal module.”

A guide to auditing, reviewing, and improving a Drupal module

 

Joseph Udonsak finishes a series on Test Driven Design with “In this, the third and final part in the series, you'll implement the last feature of the application using TDD, transaction history. In addition to that, you'll learn about the concept of test coverage and how it impacts application reliability.”

A Beginner's Guide to Test-Driven Development with Symfony and Codeception - Part 3

 

Last Month

 

Strangebuzz has this for us “In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client, and test it with or without mock. Let's go!”

Simple API mocking with the Symfony HTTP client

 

Timeless

Inspector logo

Sponsored Article

We published our third sponsored article on Symfony Station exploring how to Implement Code Execution Monitoring for your Symfony apps via Inspector. Like all our articles it is now available via audio.

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

All sponsored articles are for products we have vetted and stand behind. We either use them or would do so if they were applicable to the Symfony Station site.

PHP logo

PHP

 

This Week

 

Michał Romańczuk writes “SOLID, this acronym was coined by Michael Feathers, it represents the five basic principles of object-oriented programming developed by Uncle Bob.

Most programmers probably know this acronym. But it seems to me that a minority can decode it.”

Solid PHP - SOLID principles in PHP

 

Moath Omarsa has a good review of PSR.

Intro To PSR (PHP standards recommendations)

 

Italo Baeza Cabrera says, “testing doesn’t have to be a 1,000 line per-test odyssey.”

PHP: 10 tips to use for Mockery

He also expands on the “PHP is dying” misconception.

Two years from PHP “dying”: There are other tools

Always use the best tool for the job. Sometimes it’s PHP. At other times it isn’t.

 

The March issue of PHP Architect is out.

March Issue

 

Zend details “Dockerfile, showing how you can use the same file to create different custom PHP Docker images, and demonstrates some additional techniques you can use.”

PHP Docker Images Tips and Tricks

 

Vincy shows us how to build a:

PHP Login Form with MySQL database and form validation

 

Rias has this for us:

Running PHPUnit tests in parallel using GitHub actions

 

This Year

 

Anand Rajendran writes “Object-oriented programming is about creating objects that contain both data and functions.” This article is a good review of OOP.

PHP — Object-Oriented Programming

Code logo

Other

 

It’s time for everyone in the free world to start attacking the Russian government and its cadre of war criminals, thugs, and all-around dipshits. It’s the way the outside world helped end apartheid and it’s what will work here eventually. We need to keep it up until the Russian people depose their latest tyrants or the Russian military disposes of Putin and withdraws from Ukraine.

I am doing what I can to help:

By the way, I am opposed to all fascists and communists be they in Russia, North Korea, China, Europe, the Middle East, Asia, Africa, or the Americas.

 

The Tech Policy Press writes “Imagine it is September 1939. Germany has invaded Poland on the false premise that Poland has joined with Britain and France in a bid to attack it.

But add a tweak to the timeline- imagine there is a set of major publishers based in the United States who channel Hitler’s propaganda campaign across the globe, including to a substantial American audience. Imagine Hitler has built an incredible capacity to manipulate media, use out of context images and film, create the impression of support by inventing false personas, and engage in a variety of other tactics that have been observed to advance his aims, taking advantage of the capabilities these publishers provide and the lax enforcement of their standards. Imagine that every official and government entity loyal to Hitler also has a deal with these publishers, and their means to easily reach a global audience instantly.

Would you demand those publishers pull the plug on Hitler, or would you defend the German state’s right to some confused notion of “free speech,” even as Hitler sets out to destroy the lives of millions?

That is the situation Google, Facebook, Twitter, and other U.S. tech firms are faced with right now, as they host, distribute, amplify, and in some cases help monetize Vladimir Putin’s propaganda outlets – including Russian state media that are already registered as foreign agents, as well as the official accounts of Putin’s government and its officials.

Silicon Valley Must Pull the Plug on the Kremlin

 

Rest of World has an overview of Big Tech’s tepid actions to date. Most of them have been taken because they are legally required.

Here’s a list of all the tech companies taking action against Russia

 

Venture Beat writes “Mykhailo Fedorov, the country’s vice prime minister, announced on Twitter, “We are creating an IT army.” “We need digital talents,” wrote Fedorov, who also holds the title of minister of digital transformation — sharing a link to a Telegram channel where he said operational tasks will be distributed. “We continue to fight on the cyber front.”

Going on offense: Ukraine forms an ‘IT army,’ Nvidia hacks back

If you have hacking skills, fucking join this.

 

The State notes “Anonymous, a renowned international hacker group, has declared a cyberwar against Russia, which is accused of its cyberattacks against Ukraine. President Biden has also reportedly been given options for “massive cyberattacks” to target Russia and complicate its invasion.”

Anonymous declares cyber war against Putin amid Ukraine invasion. What does that mean?

 

And it did not take them long to achieve results.

Anonymous leaks Russian Ministry of Defense database in major victory during a cyberwar

 

As mentioned above in addition to going on the offensive, the non-thug world needs to up its defensive game.

API security methods developers should use

 

A New York Times opinion piece explores America’s vulnerability to cyber-attacks.

I’ve Dealt With Foreign Cyberattacks. America Isn’t Ready for What’s Coming.

 

The Washington Post reports that fortunately:

The dire predictions about a Russian cyber onslaught haven’t come true in Ukraine. At least not yet.

 

Also, fortunately, Platformer reports:

The internet is a force multiplier for Ukraine

 

In less depressing news, Florian Jaton sheds light on the human side of algorithms.

Here’s how algorithms are made

 

Marc Andrews writes “When creating efficient, accessible, and beautiful UIs, it takes only the smallest tweaks to improve your designs.

In this follow-up article, I’ve brought you another selection of easy to put into practice UI & UX micro-tips.

Tips that can, with little effort, help improve both your designs and the user experience.”

UI & UX Micro-Tips: Best of 2021

 

CSSUI, a library that replaces some JS functionality with CSS, looks like a great tool. At least to me, a JS critic.

2022 - Product Roadmap

 

Damir Kotorić pontificates on:

The Future of User Interface Design: Next-generation UI Tools

 

Mozilla and others announced “Interop 2022 is a cross-browser initiative to find and address the most important interoperability pain points on the web platform. The end result is a public metric that will assess progress toward fixing these interoperability issues.”

Announcing Interop 2022

 

C.S. Rhymes writes “GitHub offers a dependabot service that can let you know of any potential security issues with your dependencies and automatically create a Pull Request for you. This works great without any configuration if you have a repo that contains npm, composer, or gem dependencies, but you may need additional configuration if your lock files aren’t in the root directory, or in separate directories in the case of a monorepo.

This article will guide you through the basics of creating your configuration for dependabot so it can correctly analyze your dependencies and automatically create Pull Requests for you.”

Using GitHub Dependabot with a Monorepo

 

To wrap up, Joshua Otwell has this for us:

Quick SQL Snippets in MySQL Workbench

 

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 our site’s pages. Joining gets you each week's communiqué in your inbox (a day early). And follow us on Twitter at @symfonfystation.

 

Do you own or work for an organization that would be interested in our promotion opportunities? If so, please contact 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 provide you with free promotion. Even though it's for the WordPress ecosystem, we're starting with Crocoblock. They make booking and eCommerce blocks.

 

Crocoblock screenshot

 

And within the Symfony ecosystem Codeception, which “collects and shares best practices and solutions for testing PHP web applications. With a flexible set of included modules tests are easy to write, easy to use, and easy to maintain.”

 

codeception screenshot

 

Keep going Symfonistas!

 

Visit our Communiqué Library

You can find a vast array of curated evergreen content.

 

Author

Reuben Walker photo

 

Reuben Walker

Founder
Symfony Station

 

 

 


 

Symfony Station Communique - 10 December 2021

A white paragraph.

 


 

Symfony Station Logo

symfony logo

 

 


 

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 Javier Eguiluz and Symfony for sharing our last communique in their Week of Symfony.
 
*Please note that links will open in a new browser window. My opinions will be in bold.
 
 

Symfony

 
 
As always, we will start with the official news from Symfony.
 
Highlight -> "This week, Symfony 5.4.0 and 6.0.0 stable versions were released. In addition, SymfonyInsight announced its support for PHP 8.1. Finally, the SymfonyWorld Online conference is coming next week."
 
A Week of Symfony #779 (29 November - 5 December 2021)
 
 
Fabian provided an overview of all the posts Javier published on what's new in Symfony 5.4 while adding some for 6.0.
 
Symfony 5.4/6.0 curated new features.

 

Symfony UX is an initiative and set of libraries centered around the Stimulus JavaScript library. Symfony is pleased to announce several new releases:

Symfony UX has been updated to work with Stimulus 3.

Symfony UX 2.0 & Stimulus 3 Support

 

The next posts are self-explanatory.

Symfony 6.0.1 released

Symfony 5.4.1 released

 
This one is also.
 
Blackfire now supports PHP 8.1
 

Featured Item graphic

Featured Item


We continue to highlight a post of the week.
 
Our second item of original content is out. It’s a dual-function one serving as a case study of how Symfony Station was built and our About page. Learn how Symfony, Drupal, Layout Builder, Layout Paragraphs, Bootstrap, and Gutenberg became a crew.


How Symfony Station was built: an adventurous exploration of layout solutions


 

This week


 
Alex Daubois continues to publish helpful posts. This week he looks at end-to-end testing with Panther.
 
Symfony’s Panther: Unleash the Tests Beast
 
 
Via SymfonyCasts: "Join me on a quick aside from security to leverage Symfony's serializer component to create a user JSON API endpoint. You will LOVE the result!

This week on SymfonyCasts
 


Carlos Delgado has a tip article for us.
 
How to solve Symfony 6 Exception: The metadata storage is not up to date. Please run the sync-metadata-storage command to fix this issue.

And I want to know how he created the fantastic mouse effect on his site.

 

Last week

 

Slawomir Dymitrow created a Symfony 6 based Application that can serve as an Enterprise Architecture reference for anyone who's planning to build Large Scale Applications with Symfony. It uses a similar 'Blog' theme as the official Symfony Demo.

PHP: Symfony Demo meets Modular, Microservice-ready Architecture - Part 1

 

PHP: Symfony Demo meets Modular, Microservice-ready Architecture - Part 2

 

Timeless

 
 
As you may know, I ran across Akashic Seer's blog last month, which boasts Symfony-related posts. Here are a few more from his archive delivered with his unique writing style.
 
How to make AJAX requests to Symfony 5+ controllers

 

Symfony 5+ how to include page-specific javascript or CSS when using Webpack encore and SASS

 
I also found another treasure trove of Symfony posts on Twilio’s blog and will share them starting with:
 
A Beginner's Guide to Test Driven Development With Symfony and Codeception

 

A Beginner's Guide to Test Driven Development With Symfony and Codeception - Part 2

 

PHP logo

PHP

 

This week

 


Tara Prasad Routray wants you to learn the most outstanding features offered by the PHP 8.1 update.
 
Top 10 PHP 8.1 Features You Should Start Using Now

 

Brent Rose is tired of hearing this question. Is PHP dead? He gives his answer in this video.

PHP in 2021

And the obvious answer to quote Ted Lasso’s Roy Kent is “Fuck no”!

I'm sorry but unfortunately, this stupidity is wearing on me as well.

 

PHP Releases has an interesting new site with the details on all PHP versions.

PHP Releases

 

Cloudways notes "If you’re are doing development on web application, having a PHP server is perfect way, the most perfect way to start."

Best Open Source PHP Servers for Your Next Web Application

 

Dharizza Espinach wrote an excellent introduction to services, plugins and events in Drupal.
 
An Introduction to Services, Plugins and Events in Drupal

 

Blocks are covered in the article above and this post shows you how to create one.

Programmatically Creating a Block in Drupal 9 – A Brief Tutorial

 

Timeless


In this enlightening post, Christian Lück does a great job of looking at Fibers, Promises, Coroutines, and async/await keywords.
 
Fibers in PHP: A new opportunity for async PHP?

Code logo

Other

 

You should take this survey today.
 
Open Source Initiative Launches New Free Membership Level, Opens 2022 OSS Usage Survey

 

TechCrunch has this interesting question.

Is tech hurting American soft power?

 

HTTP/3 is here, and it’s a big deal for web performance. See just how much faster it makes websites!
 
HTTP/3 is Fast
 
 
The GitHub blog has this announcement for us.

GitHub Enterprise Server 3.3 is generally available.
 

Looking to up your Docker build game? Trying using a .dockerignore file for more efficient and secure builds. Jack Wallen shows you how.

What are .dockerignore files, and why you should use them?


 
Have you published or seen something related to Symfony or PHP that we missed? If so, please contact us.
 
 
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 post. :) Be sure to join our newsletter list, so you get each week's communique directly in your inbox (a day early). And follow us on Twitter at @symfonfystation.
 
Happy coding Symfonistas!

 

 

Visit our Communiqué Library

You can find a vast array of curated evergreen content.

 

Author

Reuben Walker photo

 

Reuben Walker

Founder
Symfony Station

 

 

 


 

Symfony Station Communique - 3 December 2021

A white paragraph.

 


 

Symfony Station Logo

symfony logo

 

 


 

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. This week it's extensive again, so take your time and enjoy its most valuable items.

 

Thanks to Javier Eguiluz and Symfony for sharing our last communique in their Week of Symfony.

 

*Please note that links will open in a new browser window. My opinions, if I present any, will be in bold.

 

Symfony 

 

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

 

Highlight -> "This week, Symfony 4.4.35 and 5.3.12 releases were published to address some potential security vulnerabilities. In addition, Symfony 5.4.0-RC1 and 6.0.0-RC1 were published in preparation for their imminent stable release. Lastly, Symfony announced the last days of its Black Friday 2021 deals which end on November 29."

A Week of Symfony #778 (22-28 November 2021)

 

Javier continues a series of posts on what's new in Symfony 5.4.

 

 

It's finally here. Symfony 6 is available!

Symfony 6.0.0 released

 

Symfony 5.4 as well.

Symfony 5.4.0 released

 

SymfonyWorld conference starts in just a week: 10 workshops, 25 talks and hundreds of community members to meet. Don't miss it!

A week left before SymfonyWorld Online 2021 Winter Edition, book your ticket now!

 

SensioLabs has this for us: "To mark the release of Symfony 6, SensioLabs has interviewed Nicolas Grekas, one of the most active members of the Symfony core team. Grekas described the main new features of this latest major version of Symfony and how to start preparing for the upgrade."

Deep dive into Symfony 6: the interview with Nicolas Grekas

 

SymfonyInsight is the official Symfony platform to monitor and maintain high quality projects over long periods of time. It also helps you reduce business risks and upgrade your application dependencies.

PHP 8.1 is the latest version of PHP, released on November 25th. We’re thrilled to announce SymfonyInsight support of PHP 8.1 and all its features (enums, readonly properties, etc)!

SymfonyInsight now supports PHP 8.1!
 

 

Featured Item graphic

 

Featured Item

We continue to highlight the most significant post of the week.

 

Stitcher.io has this for us.

PHP 8.1 was released on November 25, 2021. This post will go through all features, performance improvements, changes, and deprecations one by one.

 

What's new in PHP 8.1

 

This week

 

Speaking of Symfony 6, Alex Daubois has this interesting post.

What's this upcoming "Encryption" component of Symfony 6.1?

 

Kiratas provides this advice: "SensioLabs has presented versions 5.4 and 6.0 of the popular PHP framework Symfony. The two versions are identical regarding the innovations, but Symfony 6 cuts off old braids and removes all content marked as outdated (deprecated). Therefore, developers who want to switch to the new main version should first switch to 5.4 and remove all deprecations."

PHP framework: Symfony 6.0 appears at the same time as version 5.4

 

Via SymfonyCasts: "We're heading into Twig and inside a service to fetch the currently-authenticated user. While we're there, we'll add some custom methods to our User class to make it smarter!" They continue their look at Symfony security with:

This week on SymfonyCasts

 

Mattia Toselli shows us how to develop a simple app with Symfony 5 on our local machine. Then we will deploy this app using a service of DigitalOcean called App Platform.

How to create an automated pipeline for deploy with Symfony 5 and DigitalOcean App Platform.

 

Why invest in AWS CDK today? Using a simple example with a basic web application built with the Symfony framework, this article will show you how to industrialize any application with Infrastructure as Code (IaC) methodology on AWS.

Build and Deploy a Symfony Application on AWS using CDK, ECS, and RDS

 

I know that there seems to be one of these comparison posts every week. But, if they have something new in them, even one sentence, we'll continue to feature them.

Laravel vs. Symfony: Which PHP Framework to Choose for Enterprise-grade Web Applications?

By the way, the answer for Enterprise-grade is Symfony.

 

Prestaconcepts brings us this post in French.

What Symfony 5.4 Brings

 

Doctrine has a new release.

New Release: Doctrine DBAL 3.2.0

 

Gábor Hojtsy writes: "As you may know, we are planning to release Drupal 10 in 2022 (as early as June) because Drupal 9's Symfony 4 and CKEditor 4 are both at the end of life the year after, around the end of 2023. So we plan to give enough time for people to update to Drupal 10 before Drupal 9 goes end of life. A similar situation happened with Drupal 8 to 9 driven by Symfony 3 to 4. However, moving Drupal 10 from Symfony 4 to 5 would again only give us a couple of years to move on to Symfony 6 next, so the current plan is to move to Symfony 6 straight away."

The big Symfony 4 to 6 jump plan in Drupal 10 and potential benefits down the line for future versions

 

Websites developed on the Symfony framework were vulnerable to web cache poisoning attacks due to misuse of HTTP headers, according to CyberIntelMag.

Symfony PHP Framework Had Cache Poisoning Vulnerability

 

Last Week

 

Hantsy has the following min-tutorial.

Building Restful APIs with Symfony 5 and PHP 8

 

Timeless

 

The idea behind Inspector is to create a monitoring environment specifically designed for software developers avoiding any server or infrastructure configuration that many developers hate dealing with. It works with a lightweight software library that you can install in your application like any other dependencies. In the case of Symfony, you can use our official Symfony Bundle. 

Code Execution Monitoring for Symfony applications using Inspector

 

When it comes to open source ecommerce platforms, there are quite a few solutions to choose from. You may have heard about Magento or PrestaShop. But have you ever seen something about Sylius?

What is Sylius and how to use it?

 

As you may know, I ran across Akashic Seer's blog last month, which boasts Symfony-related posts. Here are a few more from his archive delivered with his unique approach.

How to add CSRF protection to Symfony 5+ forms

How to access Doctrine in Symfony 5+ services

 

PHP logo

 

PHP

 

This week

 

To paraphrase Cloudways, PHP is the backbone for almost every website, and its security shouldn't be negligible. PHP developers are responsible for avoiding common threats like cross-site request forgery, SQL injections, and data tampering. And PHP has built-in security features that make it easier for developers to protect their websites.

Ultimate PHP Security Best Practices

 

This week, the latest PHP RFC, Deprecate Dynamic Properties, passed 2:1. It barely met the 2/3 vote threshold for passing, which of course, can and has been spun in various pro-and-con ways. The prominent argument people had against it was that it involves triggering deprecation warnings, which is kind of the point. That's what it does mostly.

Evolving PHP safely

 

Here's more on security as Matthieu Robin asks: "You've been using PHP for years, and it seems to work just fine, but have you ever wondered what more you could be doing to keep your scripts secure?" 

10 Ways to Improve Your PHP Security

 

Vedran Mihočinec too has a question. What is the easiest way to dockerize PHP applications?

The Easiest Way to Dockerize PHP Applications

 

In past communiques, we examined Anders Björkland posts on Bolt CMS. Here he takes a look at Silver Stripe CMS in two posts.

A CMS with a new take - SilverStripe first impression

Adding registration to SilverStripe and controlling privileges

 

On an unrelated note, he also posted.

Overview - The C in PHP stands for Christmas 🤶🎅. Follow this daily in December.

 

Speaking of PHP CMSs.

Composer and Contao for the Rest of the World

 

Ibrahim Alausa has written a comprehensive guide on writing cleaner, shorter class constructors.

PHP 8: Constructor Property Promotion

 

Jetbrains has another announcement, although it's quite as big as last week's.

JetBrains Remote Development: The ultimate coding experience for a remote world

 

They also announced that PhpStorm 2021.3 is now available. This major release introduces full support for PHP 8.1, better handling of generics in PHP, remote development, improvements to deployment, an HTTP client, refactorings, and much more.

PhpStorm 2021.3: PHP 8.1, Generics, Remote Development, Refactorings, and More

 

Olotin Temitope shows us how to configure Xdebug with PHPStorm and Docker to debug like a pro.

How to debug like a pro using Xdebug, PHPStorm, and Docker.

 

PHP Architect interviews feature contributor Vinícius Campitelli about his article Cryptography with Libsodium.

Interview with Vinícius Campitelli

 

As of today, when you update dependencies in a pull request, Private Packagist comments with all composer.lock changes displayed in a clear and easy to scan table.

Introducing: Update Review

 

Last Week

 

In this episode of the PHP Internals News podcast, they're looking back at all the RFCs that were discussed on the podcast for PHP 8.1. In their own words, the RFC authors explain these features, with your host interjecting his comments on the state of affairs. Please give it a listen.

PHP Internals News: Episode 95: PHP 8.1 Celebrations

 

In this video, BeachCasts shows us how to:

Measure PHP Code Quality With Static Analysis Using PHPStan

 

James Seconde has more on PHPStan.

Scrub Up! Cleaning Your PHP Application With PHPStan

 

If you use Drupal, its PHPStan solution gets an update.

Better static analysis with entity type storage in phpstan-drupal 1.10

 

And there's another one of these. Sigh.

Is PHP a Dying Language?

And as long as most of us will be alive, the answer is no. But the author still makes some interesting points about why that is.

 

Code logo

 

Other

 

How will future AI systems make the most ethical choices for all of us?

Worried about AI ethics? Worry about developers' ethics first

 

To continue on that line.

AI can translate standard written text to code

 

And regarding other so-called threats to the careers of developers.

Low code will help but don't expect a revolution

 

Here are five handy MySQL string functions you can add to your toolkit.

5 MySQL String Functions You Should Know

 

This type of CSS review is always helpful.

Flexbox vs. CSS Grid: What are the differences between the two, and when should you use them?

 

Postman says: "Before promoting an API direction, all parties must understand where we are and what destinations are possible. A map helps simplify an overwhelming number of technologies, techniques, and ideologies into something approachable and with a clear way forward. Ultimately, maps provide key insights so that having a conversation about an ecosystem's strengths and weaknesses can occur." 

How to Improve an API Ecosystem with Mapping

 

GitHub had some problems this week, but they were able to post this about Actions.

GitHub Actions: reusable workflows are generally available

 

Here's an in-depth look at Docker, which is always helpful.

Dock Life: Using Docker for All The Things!

 

And here's a look at the vital topic of user experience.

The State of UX in 2022

 

Like most articles in the New Yorker, this is a long one. But, it's worth grabbing your favorite beverage and reading it at your leisure.

Lina Khan's Battle to Rein in Big Tech

 

 

Have you published or seen something related to Symfony or PHP that we missed? If so, please contact us.

 

 

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, so you get each week's communique directly in your inbox (a day early). And follow us on Twitter at @symfonfystation.

 

Happy coding Symfonistas!

 

Visit our Communiqué Library

You can find a vast array of curated evergreen content.

 

Author

Reuben Walker photo

 

Reuben Walker

Founder
Symfony Station

 

 

 


 

Symfony Station Communique - 12 November 2021

A white paragraph.

 


 

Symfony Station Logo

symfony logo

 

 


 

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. This week it’s pretty extensive, so take your time and peruse it for the most valuable items.

Thanks to Javier Eguiluz and Symfony for sharing our last communique in their Week of Symfony.

 

*Please note all links will open in a new browser window. My opinions, if I present any, will be in bold.

 

Symfony

 

This week

 

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

 

Highlight -> “This week, Symfony 5.4.0-BETA1 and 6.0.0-BETA1 versions were published in preparation for their final release at the end of November 2021. We also published the first articles about the new features of Symfony 5.4. Lastly, we announced more speakers for the SymfonyWorld Online 2021 Winter Edition conference (December 9-10, 2021).

A Week of Symfony #775 (1-7 November 2021)

 

Javier has a series of posts on what’s new in Symfony 5.4.

New in Symfony 5.4: Nested Validation Attributes

New in Symfony 5.4: Controller Changes

New in Symfony 5.4: Route Aliasing

New in Symfony 5.4: PHP Enumerations Support
 

Would you like to put your brand ahead of the Symfony community? Make your Corporate social responsibility (CSR) policy a reality? The Fast-Track book for version 6 and SymfonyWorld Online conference next month are still open for sponsorship!

But in this blog post, Nicolas Grekas makes a specific call to SaaS providers for whom Symfony has a bridge (aka plugins).

Calling SaaS providers to back their Symfony bridge

 

SensioLabs, the company behind Symfony, has some great resources for getting the best out of your projects.

Read / Watch / Download / Enjoy our free resources


 

Featured Item graphic

Featured Item

We continue to highlight the most significant post of the week.

 

Makeoverarena says: “Although there are many PHP frameworks, Laravel and Symfony are the most popular. Hence, there has been a constant rivalry between both. Especially on which one to choose in the coming year (2022). So, if you are in the dark about the one to choose, it isn’t hard. Just pay attention to this article as its main purpose is to explain the best out of both.”

Laravel Vs. Symfony – Which PHP Framework to Choose in 2022?

 

Here is another comparison.

How Laravel Differs From Symfony?

 


Via SymfonyCasts: “If your app checks passwords, implementing the new PasswordAuthenticatedUserInterface is for you! How do you *check* if the submitted password is valid from inside an authenticator? You don't! Instead, you attach the new PasswordCredentials object to your Passport... and let Symfony do the heavy lifting for you!” 

This week on SymfonyCasts

 

Wouter Carabain, who provides some helpful info on his new blog, continues a new series of posts looking at pairing Symfony with API Platform. Here’s the third one and a follow-up of the articles we shared in earlier communiques.

How to create a simple application using Symfony and React Native – Part 3

 

Anders Björkland has a second article on Bolt CMS. The previous one dealt with content creation and editing. This one looks at how to implement a design for it. 

Bolt CMS for designers

 

Drupal users, Drupal needs your input. The decision was made to create a "test" branch with Symfony 5.4. The question now is how are they going to do that. A couple of choices must be made. Tell them what you think!

[POLICY] Release Symfony 5.4 with which Drupal branch and how much support will it get?
 

On a similar note Drupal 10’s rollout is dictated by Symfony 6’s.

What To Expect from Drupal 10, and How to Deal With Drupal 8’s End of Life

 

The API Platform Conference made their presentations available for replay. Several caught my eye.

 

In French. Why Symfony and PHP are still in the game for any project.

A suitable serialization with API Platform and Symfony
 

In English. Sylius and API Platform: the story of integration

Symfony Runtime: wrapping API Platform in a lambda

 

In this post, Mickaël Andrieu asks how to control the quality of your PHP and Symfony projects? In French.

Comment contrôler la qualité de vos projets PHP & Symfony?

He also posted this one.

Contrôler la qualité de vos projets PHP & Symfony avec PHP-CS-Fixer

And Mickaël finishes with the series with this one.

Contrôler la qualité de vos projets PHP & Symfony à l’aide des hooks Git

 

This article is from an unlikely source and, despite its title, is more about the history and advantages of SensioLabs and Symfony. But it’s still interesting.

Migrating from Legacy to Symfony? SensioLabs explains it all!

 

Romain writes Github Actions will help you guarantee optimal quality and good functioning of code thanks launching of automatic tests. But it also warns you about the known vulnerabilities of your dependencies.

Github Actions for Symfony 5, PHPUnit, and more

 

Timeless

 

I ran across Akashic Seer’s blog last week, which is a treasure chest of Symfony-related posts. Here are a few posts from his archive.

Symfony 5+ check if user is logged in inside a twig template

How to install and configure Redis in Symfony 5+ for local testing

PHP logo

PHP

 

This week
 

Our “frenemies” at Laravel have this helpful video for your enjoyment.

Getting Started With PHP in 2022

 

Mateusz Cholewka says that you should manage your logs if you are using Docker and cloud services to run your application live.

How to configure PHP logs for Docker

 

Sticher.io notes that PHP 8.1 will be released on November 25, 2021. We already know all the new features, performance improvements, changes, and deprecations, so let's go through them one by one.

What's new in PHP 8.1

Brent also had this article.

PHP 8.1 in 8 code blocks

And this video.

Generics in PHP (video)

 

In another video, Kinsta shows us:

How to install PHP on any server

 

Beau Beauchamp tells us why PHP is more popular and more hated than ever.

I thought about going with this one for the featured post.

PHP Is Killing Python

 

And we still get these kinds of articles generated from “data” from “a survey by”.

Is PHP Doomed to Decline in the Long Term? TIOBE Thinks So.
 

 

And yet another comparison article, this time for Node.JS.

PHP vs. Node.js: Which is Better for Backend Development?

 

Starting your journey as a PHP developer? Here are some of the best PHP Projects to inspire you.

10+The Best PHP Projects GitHub 2022

 

Type variance allows types to change during inheritance in a way that is compatible with the Liskov substitution principle. This article describes how this works on a technical level.

Type variance in PHP
 

Last Week
 

Smaine Milianni states “Le but de cet article est de donner une vue d’avion sur ce qu’est l’architecture hexagonale et de faire un retour d’expérience sur son utilisation dans un contexte professionnel.” 

L’archi Hexa est-ce archi bien? Is hexagonal architecture good architecture?
 

Timeless

 

In a post from last year, JetBrains notes the Pest PhpStorm plugin is a new addition to PhpStorm’s growing ecosystem. With this plugin, testing your code in your favorite IDE is even simpler and faster!

How the Pest PhpStorm Plugin Will Improve Your Testing Workflow
 

In a similar vein, Laravel News says "Better PHPUnit is a Visual Studio Code plugin by Caleb Porzio for running PHPUnit tests from the editor. Like Sublime PHPUnit, it automates running repetitive PHPUnit commands using the command palette or keyboard shortcuts."

Better PHPUnit VS Code Extension

Code logo

Other

 

In the Guardian, Jane Martinson writes, “I have been at the Web Summit in Portugal, a sort of Davos for the technology industry, which ended with the sense that after years of talk about harm and regulation, the demands are increasing, and change is finally in the air.

While it is true that most of the 40,000 startup founders, investors, and other attendees still yearn to be the next $7tn company like Meta, there was also genuine discussion about the kind of tech and the kind of society that discovers children are being harmed, and democracies undermined and yet does little or nothing about it.”

Mark Zuckerberg and the tech bros are still on top – but their grip is loosening

 

Burke Holland says: “One of the first things you realize after getting started with GitHub’sCodespaces, is that you desperately want your custom environment setup that you enjoy locally to somehow magically be available in Codespaces. You can do that using a “dotfiles” repo, and in this post, we’re going to look at how to set up a dotfiles repo and what quirks you need to be aware of to use it with Codespaces."

How to add your dotfiles to GitHub Codespaces

 

Travis Weston notes that: “one of the first lessons you learn when getting into business is that there are two types of debt: Good debt and bad debt. Technical debt is no different. We’ll never avoid technical debt entirely, but we can prevent bad technical debt.”

The (Technical) Debt Snowball: Pay down technical debt without going bankrupt in the process.

 

I learned a lot about edge servers from this post by Kinsta.

How Do Edge Servers Work? Everything You Need to Know
 

 

Docker has the details on Docker Desktop 4.2 and its expanded capabilities.

Docker Desktop 4.2 Release: Save Your Battery with Pause / Resume, and Say Goodbye to the Update Pop-up
 

 

Have you published or seen something related to Symfony or PHP that we missed? If so, please contact us.

 

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, so you get each week's communique directly in your inbox (a day early). And follow us on Twitter at @symfonfystation.

 

Visit our Communiqué Library

You can find a vast array of curated evergreen content.

 

Author

Reuben Walker photo

 

Reuben Walker

Founder
Symfony Station

 

 

 


 

Subscribe to SensioLabs

 

 

Follow Symfony Station on Mastodon Mastodon Icon Twitter Twitter Icon Flipboard Flipboard Icon or Our Newsletter Newsletter Icon