Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 30 of 427

How To Downgrade Composer, PHP, and NPM

TL;DR: If you’re working on a variety of projects each of which requires different versions of PHP, Composer, and/or NPM you may need to change the version of all or any permutation of any of these utilities.

This article outlines what steps need to be taken to downgrade Composer, PHP, or NPM when working on any given project.

Continue reading

Building Backcast, Part 6

TL;DR: I’m tired of writing code without consistent standards (I often work on code that changes between WordPress or PSR2) so this is how I installed PHP Coding Standards via Composer and a few extra extensions for the project. This also details how to automatically format the code on save.

Continue reading
« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑