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

Dream Universal, Develop Local: A look at PHP Local Development Tools.

A white paragraph.

 


 

 


 

Illustration of deconstructed gears emerging from a desktop all-in-one computer.

Introduction

There is a plethora of local development tools to use with your PHP projects. In this article, we will explore the ones optimized for WordPress, Drupal, Laravel, and Symfony.

As a content creator and web designer who has to do some coding periodically, I look for simplicity. So, out-of-the-box functionality is vital. Specificity is another one. Some local dev tools have these, and others don’t. But all of them are striving for it.

In my real-life work with Mobile Atom Code, I starting several WordPress site creation and migration projects. I will be creating the new block-based themes that allow full site editing. So, I thought it’s an appropriate time to explore local PHP development solutions.

Most local development tools provide you with a dev environment that includes a server, database, admin, and live browser preview of your project.

Local PHP Development Tools

MAMP Logo

But, before we look at KISS options for people like me, let’s take a quick look at more full-featured ones.

Certain local dev tools work with any PHP development use case. They include MAMP, XAMPP, and Docker Desktop. I have worked with all of these to various degrees of frustration. Especially before I finished my full-stack boot camp.

If you are a veteran programmer, you should be able to handle them with ease. If you are a newbie, not so much.

Alright, let’s get started.

MAMP

MAMP has a Pro version and works with Windows and Mac. It also works with other programming languages like Python, Ruby, and Perl. It has quick setup options for WordPress and the Symfony-based CMSs Drupal and Joomla.

Like most of the tools we will explore, it provides Apache or Nginx, PHP, and MySQL to use locally for your project development. MAMP lets you run the PHP version of your choice and has a built-in IDE.

An automated live preview in a browser is not one of its strengths.

Learn more about MAMMP at their site.

Access the documentation here.

XAMPP

XAMPP is a stripped-down alternative to MAMP. According to Apache Friends, “it is an easy to install Apache distribution containing MariaDB, PHP, and Perl.” Downloads are available for Windows, Linux, or Macs.

XAMPP is bare bones although Bitnami does provide a module that loads WordPress on top.

Again, an automated live preview in a browser is not one of its strengths. Neither is documentation.

They do have FAQs for your operating system.

Illustration of Docker Mascots using computers

Docker Desktop

As you would expect, Docker Desktop lets you containerize your local development environment. It is available for Windows, Linux, and Mac. It’s the full mac daddy option. If you are building the next Spotify, this is for you. Several alternatives we will look at below, wrap Docker for ease of use.

Access the manual here.

DDEV Logo

DDEV

DDEV simplifies integrating the power and consistency of containerization into your workflows.”

It’s wrapped around Docker.

A quick aside is warranted. Mobile Atom Code is moving into Drupal services so I am quite interested in DDEV. I have a theme development course purchased from Drupalize.me that I need to finish. It uses DDEV.

This option lets you develop locally with:

  • PHP
  • WordPress
  • Drupal
  • Backdrop (Drupal 7)
  • TYPO3
  • Magento

It has its sights on Node, React, Vue, Python, and Ember development as well.

Experienced developers should be comfortable with using DDEV.

Read the docs here.

Now, for some simpler and easier to use solutions.

PHP Sandbox Logo

PHP Sandbox

PHP Sandbox lets you “quickly prototype or share PHP Projects, without setting up a local environment.”

As the name implies it sets up online notebooks for you. You can expand these with Composer packages hosted on Packagist. Currently, it works with PHP 7.4 and 8.

A nice bonus is that you can embed the notebooks in your content creation process.

Notebooks are specialized for:

  • Generic PHP
  • PHP CLI
  • React PHP
  • Symfony
  • Slim
  • Laravel

You can use GitHub for imports and exports.

PHP Sandbox is great for general experimentation and exploration. It has added many features since I last explored it and appears headed toward being a solid production-friendly solution.

Access the documentation here.

Framework Specific Development Tools

Symfony Logo

Symfony

Symfony provides a local web server. It is not so much a local dev solution as an exploration tool that requires lots of configuration on your part.

“Although this server is not intended for production use, it supports HTTP/2, TLS/SSL, automatic generation of security certificates, local domains, and many other features that sooner or later you'll need when developing web projects. Moreover, the server is not tied to Symfony and you can also use it with any PHP application and even with HTML or single page applications.” says Symfony.

If interested, peruse the documentation here.

Laravel logo

Laravel

Obviously, Laravel is not our thing. But here are some resources if it’s yours:

Drupal logo

Drupal

As mentioned above, I am exploring Drupal local development.

Lando

So, Lando looks very promising to me. It provides “push-button development environments hosted on your computer or in the cloud.”

It too is wrapped around Docker. And it has extensive integration with your other development tools. If you love PHP Storm, Elasticsearch, or Platform.sh you’ll be happy. Lando also has hosting integration with Platform.sh, Acquia, Pantheon, and Lagoon.

It can work with WordPress, Drupal, Laravel and Symfony recipes as well.

See the documentation for details.

Drupal VM logo

Drupal VM

“Drupal VM makes building Drupal development environments quick and easy, and introduces developers to the wonderful world of Drupal development on virtual machines or Docker containers.”

It is Linux based so there’s that. Obviously, this is not a simple solution but it’s an option I want to present.

You can learn more about Drupal VM here.

Find the docs here.

Acquia Logo

Acquia Cloud IDE

“Cloud IDE offers a best in class visual code editor and integrated Drupal development environment with everything you could need: Composer, Drush, Xdebug, code quality tools, Git support, and more.”

This is an expensive solution from Drupal host Acquia. But, if you know what you are doing, host with Acquia, and money is no object, this is the way to go. No local machine headaches are required.

That’s not me yet, unfortunately.

WordPress logo

WordPress

@wordpress/env

This WordPress package “lets you easily set up a local WordPress environment for building and testing plugins and themes. It’s simple to install and requires no configuration.” @wordpress/env does require Docker on your computer as well as Node.js and NPM.

This is a solution for the experienced developer. And the most challenging to use. Again, not simple but I wanted to share it.

Local logo

Local

Local by WP Engine, is a solution I have used several times. They want you to host with them and provide this tool which deploys to their hosting very well. So if you are using them, this is the way to go.

However, there has been a fortunate development in WordPress dev. You can now export any theme you have activated and customized as a new theme within the WordPress admin itself. This means you can create your theme on any local development tool and export it to use with any hosting provider.

But, back to Local. As they say, it really is “an effortless way to develop WordPress sites locally.

You select a few options and it spins up a local WP development environment with everything you need. This includes an Apache or NGINX server, MySQL database, WP Admin (backend), and a live preview. You can back it up to Dropbox or Google Drive.

Get all the details here.

Dev Kinsta logo

Dev Kinsta

I recently used Dev Kinsta to test some theme options for a project. I was quite happy with the results.

It too is wrapped around Docker and optimized for deploying to Kinsta hosting. Nginx and MariaDB are used as the server and database. Adminer is included as a database management tool. Dev Kinsta has HTTPS, error logging, and email testing.

It allows you to “design, develop, and deploy WordPress sites from the comfort of your local machine. DevKinsta is free forever, and available for macOS, Windows, and Ubuntu.”

Explore the documentation here.

InstaWP logo

InstaWP

InstaWP as a sandboxing solution like PHP Sandbox. However, you have to work quickly. The free option for notebooks expires after 48 hours. Paid plans can bump it to seven or fifteen days.

It’s perfect for testing themes and plugins or if you have two full days to work on a single project. You can deploy to any hosting solution if you want to use it for production rather than testing.

I am definitely going to check InstaWP out for my upcoming projects.

Take a look at the documentation.

WP Stagecoach

Lastly, we have WP Stagecoach. It's a staging solution rather than a local dev tool. But I wanted to share it as you can use it to develop a new theme for an existing site.

“WP Stagecoach is the easiest, fastest way to set up a WordPress staging site. It can then ‘push to live’ all (or some) of your site changes—again, with one click.”

Explore the documentation here.

Summing it up

As you have seen, there are many solutions for local PHP development. The easiest to use are targeted to WordPress and Drupal. But others work for any project.

I hope you found this article useful and discovered some new local dev options to explore.

Personally, I am impressed with PHP Sandbox, DDEV, Lando, Local, Dev Kinsta, and InstaWP.

So, go build something to conquer the universe! But before launching start developing it locally.

 

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é - 11 February 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. 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, if I present any, will be in bold.

 

SYMFONY

 

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

Highlight -> "This week, the upcoming Symfony 6.1 version added context builders to simplify the creation of serialization contexts. In addition, SymfonyCon announced that it's coming back as a physical conference at Disneyland Paris later this year (November 15-18, 2022)."

A Week of Symfony #788 (31 January - 6 February 2022)

 

Currently, the Call for Papers for SymfonyWorld Online 2022 Summer Edition and SymfonyCon Disneyland Paris 2022 are both open. You can submit your talk and workshop proposals in English for both conferences. Those for the Summer Edition end on February 14th.

Call for Papers open for SymfonyWorld Online 2022 Summer Edition and SymfonyCon Disneyland Paris 2022

 

And they announced the first set of speakers and talks for SymfonyCon. (en francais)

First selected talks at SymfonyLive Paris 2022

 

Featured Item Graphic

 

FEATURED ITEM

 

MIT Tech Review notes “Something has changed for the tech giants. Even as they continue to hold tremendous influence in our daily lives, a growing accountability movement has begun to check their power. Led in large part by tech workers themselves, a movement seeking reform of how these companies do business, treat their employees, and conduct themselves as global citizens has taken on unprecedented momentum, particularly in the past year.”

Why the balance of power in tech is shifting toward workers

 

This Week

 

I know I just shared one of these last week, but this one has details, statistics, and illustrations.

Laravel vs Symfony: the Key Differences in 2022

 

Coding CEO writes “People use to say Laravel apps do not scale well, but after working with Laravel for some time are reviewing a lot of projects, I think is not totally Laravel's fault. Indeed, you can do great apps with Laravel the same as with Symfony, but is easier to succeed with Symfony than using Laravel. The problem? Laravel “magic”.”

Why Laravel apps don’t scale well (I)

 

Martin Schindler says, “During a project cycle, there are always situations that feel like deadlocks or circular dependencies… only seen on an organizational level.” He shares:

Decoupling frontend and backend development — The easy way!

 

Benjamin Ellis shows us how to generate a nice and human-readable changelog with API Platform (2.6).

Managing a changelog with API Platform & OpenAPI

 

Zumata has this for us” “As of version 6, the Symfony routing package supports Attributes. If there is one place where metadata is interesting to use, it is routing. In previous versions of PHP, this could be solved using comments (annotations). With attributes, the dependency on doctrine/annotations is not needed anymore.”

Symfony Routing with Attributes

 

Alen Pokos writes “If you either love AWS services already or are looking for a good option to use with your multiplatform products, AWS Cognito seems to be a good candidate to adopt into your technical stack.”

Fastest Symfony authentication - AWS Cognito integration

 

Yannic Chenot asks “PHP doesn’t have to be web-only — how about you start creating your own CLI tools?”

How to Build and Distribute Beautiful Command-Line Applications with Symfony, PHP, and Composer

 

Drupal revealed how they will handle PHP requirements for the upcoming Drupal 10 release.

Drupal 10 PHP requirements will be announced at least five months before Drupal 10.0.0

 

Devin Katz shares nine tasks awaiting you at the end of a Drupal migration.

9 Tasks at the End of Your Drupal Migration

 

We shared some Lando items last week and in this article Specbee looks at:

Getting Started with Lando and Drupal 9

 

Last week I shared a short tutorial from Lindevs. They have many of them. So, instead of selecting one each week, here they all are.

Lindev Symfony Content

 

In this post, Kinsta looks a WordPress-based WooCommerce and Symfony-based Magento.

Magento vs WooCommerce: Which One Is Better?

 

Speaking of Symfony-based e-commerce platforms, Aimeos announced “Since 2022.01 beta, the Aimeos core is using Upscheme for updating the database schema and migrating data between new releases. Upscheme is composer package for schema management based on Doctrine DBAL which offers an easy-to-use API. You can also integrate Upscheme it in your own application easily and this article explains the differences and how you can write migrations with only a few lines of code”

Aimeos 2022 news

 

And contrary to the title, here is a a quick overview of Prestashop.

Ultimate Guide to PrestaShop: Everything You Need To Know!

 

 

Last Week

 

Suzanne Dergacheva writes “I believe any Drupal developer can use this advice: everyone who contributes to building a website also contributes to UX. When we all incorporate UX design thinking into our work, the quality of our output can only get better.

In this article, we'll discuss the goals of UX design, how users evaluate it, and, specifically, how developers can do their part to build a better user experience.”

Making Better UX Choices: Advice for Drupal Developers

 

Nathaniel Catchpole discusses long-term Drupal support and how it ties in with Symfony’s release cycle.

Long(er)-Term Support for Drupal 10

 

Somehow, I missed this one last week from Jolicode.

(Re)discover XPath selectors

 

Timeless

Inspector logo

Sponsored Article

We published our second sponsored article on Symfony Station exploring how code-driven monitoring helps you deliver successful Symfony products. Like all our articles it is now available via audio.

How code-driven monitoring helps you deliver successful Symfony products

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

 

Tomas Votruba presents “Software engineering principles, from Robert C. Martin's book Clean Code, adapted for PHP. This is not a style guide. It's a guide to producing readable, reusable, and refactorable software in PHP.

Not every principle herein has to be strictly followed, and even fewer will be universally agreed upon. These are guidelines and nothing more, but they are ones codified over many years of collective experience by the authors of Clean Code.

Inspired from clean-code-javascript.”

“Clean Code” concepts adapted for PHP

 

Backend Developer takes a look at:

SOLID Principles in PHP

 

Zvonimir Spajic writes “If you follow Michael Feathers’ definition of legacy code (every code not covered with tests) then the first line of business in dealing with some legacy code that needs updating is to put it in a test harness (write a test for it). But this is often easier said than done. It can be surprisingly hard just to instantiate a (legacy) class in a test, due to the way it handles its dependencies.”

Testing Legacy Troubles

 

The February edition of PHP Architect is out.

February Edition

 

Matt Glaman “recently did a deep dive into command authoring with Drush, which is where I discovered two amazing new features: auto-discovery of commands via autoloading and the addition of attributes for defining your commands.

What are attributes? Attributes were added in PHP 8, and the overview on the PHP website is a great resource. So, if you are new to PHP 8 and have been living on PHP 7.4, still, or haven't tried out PHP 8's coolest feature, this blog will be a great introduction!”

Writing Drush commands with PHP attributes

 

PHP Monitor, the native Mac app for managing PHP, has released version 5.

PHP Monitor

 

Dariusz Gafka shows us how to:

Implement an Event Sourcing PHP Application in 15 minutes

 

William Donizetti writes (in Spanish) “If you deal with databases in your day-to-day life you may have already noticed how data is often exposed, in such a structured and easy-to-exploit way. However, this is not always interesting and through encryption we can minimize some of this data exposure and provide greater security for our applications.”

AES e PHP: criptografia de dados.

Code logo

OTHER

 

Let’s start this section with a good reminder piece.

What is the htaccess file?

 

Smashing Mag (a fantastic design resource) writes “Statoscope is an instrument that analyses your webpack-bundles. Created by Sergey Melukov, it started out as an experimental version in late 2016, which has now become a full-fledged toolkit for viewing, analyzing, and validating webpack-bundles.”

Statoscope: A Course Of Intensive Therapy For Your Webpack Bundle

 

The ReadMe Project shares “The client-side made a comeback over the past decade as developers built “single-page applications” (SPAs) with JavaScript. But a new crop of tools is sending the pendulum swinging back towards the server.”

Obviously, for Symfony this would be implemented with Turbo, Mercure, and Stimulus. And we are particularly excited about Viewi.

Move over JavaScript: Back-end languages are coming to the front-end

 

Speaking of the backend, Kinsta notes “Most applications and programs in the modern era need somewhere to store data. For web apps, a database is a crucial cog in the wheel. An open-source database is your best bet for many reasons.”

The Best in Open-Source Database Software: Top 10 Picks

 

Last week I shared some Web3 content. Here’s some more worth checking out if you haven’t made up your mind.

Fast Company writes “the Web3 wave has a long way to go before proving it can produce technology with the functionality, reliability, security, and scale needed to disrupt the internet we have now. O’Reilly is one of a handful of influencers who have begun to raise doubts about its chances of doing that. After all, he’s seen this movie before—twice.”

Tim O’Reilly helped bring us Web 1.0 and 2.0. Here’s why he’s a Web3 skeptic.

 

The global managing partner of Flourish Ventures, Tilman Ehrbeck, shares his perspective on a digital future that could expand economic opportunity—if innovators and society can harness its potential.

I’m an advocate for inclusive capitalism. Here’s why I’m intrigued by Web3

 

The Atlantic writes “Web3 is making some people very rich. It’s making other people very angry.”

The Crypto Backlash Is Booming

 

Docker says, “They’re excited to announce the release of Docker Desktop 4.5 which includes enhancements we’re excited for you to try out.”

New Docker Menu & Improved Release Highlights with Docker Desktop 4.5

 

Have you published or seen something related to Symfony or PHP that we missed? If so, please get in touch.

 

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. ;)

 

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 Communiqué - 4 February 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. 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, 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.37, 5.3.14, 5.4.3 and 6.0.3 maintenance versions were released. In addition, a potential security vulnerability related to CSRF tokens in forms was found and fixed in security releases for all maintained versions."

A Week of Symfony #787 (24-30 January 2022)

 

The team fixed a security issue. “The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled.

In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks.”

CVE-2022-xxxx: CSRF token missing in forms

 

They also fixed an issue with Twig. "When in a sandbox mode, the arrow parameter of the sort filter must be a closure to avoid attackers being able to run arbitrary PHP functions."

Twig security release: disallow non closures in the sort filter

 

SymfonyCasts unveiled a Symfony 6 track with courses on Symfony 6, EasyAdmin, and Upgrading to Symfony 6. The Harmonious Development with Symfony 6 course is free!

Learn Symfony 6: Unlock new possibilities with PHP's most powerful framework

 

Via SensioLabs: at Symfony World Winter 2021, two experts from SensioLabs were speakers. Following this online conference where more than 1,000 people attended in two days, they shared with us their experience and talked about their topic. A glimpse behind the scenes of the SymfonyWorld!

Symfony World Winter 2021: the interview with two speakers from SensioLabs

 

Platform.sh consolidates its management team with appointment of Ori Pekelman and Fabien Potencier as CSO and CPO. Don’t worry, Fabien isn’t leaving Symfony.

Platform.sh consolidates its management team with appointment of Ori Pekelman and Fabien Potencier as CSO and CPO

 

Symfony is excited to announce the organization of the international Symfony conference as initially planned at Disneyland Paris from November 15 to 18, 2022 for a full week of Symfony. Join us at SymfonyCon Disneyland Paris 2022 to learn and share the latest about Symfony while having fun at Disneyland Paris with us! The conference will be held at the newly redesigned Disney's Hotel New York - Art of Marvel!

Excited to announce SymfonyCon Disneyland Paris 2022

 

Featured Item Graphic

 

Featured Item

 

Block Protocol is a new project that aims to build a block system for embedding interactive blocks in any web application. The goal is to create a more interoperable and open web where these blocks can be shared through a standardized protocol. The initial draft of the Block Protocol spec is being incubated by the team at HASH, an open source data, modeling, and simulation platform.

Making the web better. With blocks!

By the way we are currently moving a site from WordPress site to Drupal and will be using HASH’s Web Components block module along with Gutenberg blocks module for the content creation. There is more on this below.

 

This Week

 

These type of posts are a dime a dozen, but this is a comprehensive one.

Symfony vs Laravel: Choosing The Right PHP Framework

 

Mert Simseck (great name) writes “I don’t know where to start but I was excited to write this post. I haven’t been developing applications with PHP and Symfony for a few years. Luckily I’ve built my latest API with Symfony 6 and PHP 8 and I feel like I’m back home.”

Voila! Symfony and PHP 8.1

 

.com Software says “Today we’re going to write a Symfony validator using the Test-Driven-Development technique. As you may know, it requires writing the test first, only then the code itself.”

Designing a Symfony Validator - the TDD way

 

Mike Milano explores:

Symfony Development with Lando

There will be more on PHP local development tools below.

 

Fabio Hiroki has another solid article for us. He says “in this article I'll show basic concepts for handling concurrent requests by building a banking web application. When coding there are some traps we need to pay attention specially because it's not a scenario easy to test.”

Database concurrency as simple as possible

 

Smaine Milianni always has something useful to share. Here he asks “emojis are part of our way of communicating, what about adding them to your Symfony form when a user needs to select a country?”

Emoji flag in the Symfony CountryType

 

Cool Zero parle the Power of the interface in Symfony. (en francais)

Le pouvoir de l’interface

 

Lindevs shows us:

2 Methods to Clear Cache using Console Command in Symfony 6

 

Cory Weinberg writes “although Drupal is not the most popular CMS, it is by far the best solution for non-standard and highly loaded services. Drupal is a free and open-source system that boasts high engine power, solid security, and reliability. Therefore, it is highly popular with many companies, regardless of the niche your business operates in.

With Drupal, you get the limitless possibilities of a framework and the convenience of a full-fledged CMS.”

Drupal Website Development – Key Features & Specs

Many of his points are why Symfony Station uses it.

 

PHP annotations will be replaced by attributes in upcoming versions according to Danial Sipos. “PHP 8 came with a lot of cool new features in the language. Among them, we finally have a native way of “annotating” classes, methods and all sorts of things. I used quotes because of the very ubiquitous Annotations library from Doctrine which we are using now to do similar things. PHP attributes are on their way to slowly replace those. I think. Don’t hold me to it though.”

PHP 8 attributes: Drupal 9 plugin discovery proof of concept

 

Mathias Noback writes about technical writing in:

Millennials doing things everyone should know about

 

Timeless

Inspector logo

Sponsored Article

We published our second sponsored article on Symfony Station exploring how code-driven monitoring helps you deliver successful Symfony products. Like all our articles it is now available via audio.

How code-driven monitoring helps you deliver successful Symfony products

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

 

Erik the Coder continues his look at modern PHP.

PHP crash course : require, include, files manipulation and enumerations

 

Ajay Kapoor notes “With PHP being the most widely used web programming language, it’s easy to forget that it will be twenty-eight years old in 2022. In the tech world, that’s an eternity, but in business, it’s barely any time at all. If you’re currently using PHP or considering using it in the future, you might be wondering what the top benefits of using this technology are.”

Top Business Benefits of PHP for Web Development in 2022

 

Andrea Pollastri shares his PHP development stack.

PHP Developer Tools (2022)

 

Speaking of tools, for local development I have long used Local for WordPress projects. I am moving our parent organization, Mobile Atom Code’s, site over to Drupal. I am using Lando to convert the backend and DDEV to build a new theme for the frontend.

This article shows you how to use DDEV with GitPod.

DDEV and GitPod

 

Vonage Dev writes “it may surprise some readers that asynchronous PHP is nothing new. PHP5.5 introduced generators way back in 2014 which set us on this path, and since then we have seen the creation of amphp, ReactPhp, and OpenSwoole.”

Asynchronous PHP With Revoltphp & Vonage Voice API

 

Will Earp has a two-part series for us on PHP minification.

The State of Minification in PHP – How 1 Project Grew into 6

The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)

I plan on testing his Torque WordPress plugin.

 

Ostell notes “when you think of command-line applications, PHP doesn't immediately come to mind. Yet the language powers many popular tools, either as independent programs or intended to be used within projects. Be it through its vast ecosystem of libraries and frameworks, its ability to interact with the host, or the versatility of its dependency manager, PHP features everything you need to build and ship powerful CLI applications.”

How to build and distribute beautiful command-line applications with PHP and Composer

 

Doğukan Akkaya shares:

How did we reduce Memcached memory usage in PHP

 

Anders Björkland continues his exploration of SilverStripe CMS.

Configure Email over SMTP with SilverStripe

 

Exakat notes “While doing a crowd review of naval battle code at @afup_rennes , it appeared that the ‘no array_merge() in loops’ rule was known but not clear. Indeed, why is it that this function in particular, should be avoided in loops. Hence, this article, with a journey to memory management, coding and classic PHP features. Here we go.

Speeding up array_merge()

 

The Backend Developer says “today I want to write about new 2 features about array that are newly added in php 8.1. Array unpack method was added PHP in 7.4 version but we could only use it for integers. But now we can use it for all types of arrays. This is a good 8.1 development for us.

Php 8.1-New Features | Array is a list? & Array Unpack

 

This one is self-explanatory.

PhpStorm 2021.3.2 is released

 

Last Week

 

Kateryna Shlyakhovetska writes “when you’re tired of endless code reviews and debugging, you may start wondering if there are ways to automate tedious tasks without it backfiring on you later in development. If this is something you or your team are interested in, you may want to take a closer look at server-side static analysis.”

Cut Time on Code Reviews and Project Planning With Static Analysis

Code logo

Other

 

Michael Cobb notes “API security cannot be overlooked. Learn how security testing can detect API vulnerabilities and weaknesses before attackers can take advantage of them.

Protect APIs against attacks with this security testing guide

 

Aaron Francis writes “paginating records across large datasets in a web application seems like an easy problem that can actually be pretty tough to scale. The two main pagination strategies are offset/limit and cursors. We'll first take a look at the two methods and then a slight modification that can make offset/limit extremely performant.”

Efficient Pagination Using Deferred Joins

 

MySQL has multiple storage engines, and one of those is the blackhole engine. It acts as a "black hole" that accepts data but throws it away and does not store it*.*

Safer Staging Environments with Blackhole Storage

 

GitHub has a new way to monetize your repositories.

GitHub launches Sponsors-only repositories to help foster engagement with project backers

 

A deeper integration between Microsoft Sentinel and GitHub is a win for application security, marking a major step toward helping companies address security challenges in the software supply chain, cybersecurity industry executives told VentureBeat.

Microsoft adds ‘critical’ feature for GitHub security

 

Tanvir Safar says “Cloud computing and blockchain industries may very well have one property in common; both are growing rapidly while having the potential to revolutionize their respective fields. However, up until now, pioneers within the two industries have not yet found a common interest. That could soon change as projects have started embracing the idea of integrating the blockchain into the cloud computing sector, and we could soon see a future of endless possibilities.”

Integration of the Blockchain is a Game Changer in the Cloud Computing Sector

 

So what exactly is Web3, and why is everyone in Silicon Valley obsessed with it?

Web3 is the future, or a scam, or both

I don’t know myself, but the “art” perpetrated in NFTs is horseshit. And I grew up on a cattle farm so I know what I’m talking about. ;)

 

Have you published or seen something related to Symfony or PHP that we missed? If so, please get in touch.

 

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. ;)

 

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

 

 

 


 

Subscribe to Lando

 

 

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