top of page

Hbcf

Public·73 members
Daniel Hall
Daniel Hall

Composer Pro 2.2.4: The Best Version for Control4 Dealers and Installers


This installer script will simply check some php.ini settings, warn you if they are set incorrectly, and then download the latest composer.phar in the current directory. The 4 lines above will, in order:




Composer Pro 2.2.4



By default the installer and composer self-update will download the latest stable version only. You may select a different download channel though. If you would like to help test pre-release versions you can use the --preview flag on either the installer or self-update. For snapshot builds, which are done from the latest Composer commit, you can use the --snapshot flag. To programmatically install specific major versions you can use the --1 or --2 flag. To select the latest 2.2 LTS you can use --2.2.


This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available plugin updates. When I check composer.json everything is already updated.


Composer 2.2 introduced a security feature that requires merchants to identify trusted plugins in their composer.json file before the plugins will be executed. Currently, plugins that are included in the composer.json file but not marked as trusted are automatically installed. However, as of July 2022, Composer will not load plugins unless they have been explicitly allowed. See the Composer plugins issues when upgrading to Adobe Commerce 2.4.4 Knowledge Base article for instructions on how to modify the composer.json file to explicitly allow plugin loading.


i.e. phpspec/prophecy:1.7.0 seemed fine. So, a quick hard coding of 1.7.0 in my composer.json fixed things up. The mind exercise of Why did this beak now but not then remains a powerful debugging technique.


Magento 2.4.3 made upgrades and improvements in performance, security and platform. Core composer dependencies and third-party libraries were also upgraded to compatible versions of PHP 8.x. Page builder became part of the bundle extension, and also the default editing tool.


<