After executing composer require, in composer.lock, plugin-api-version changes from 2.3.0 to 2.2.0
1. After executing composer require, in composer.lock, plugin-api-version changes from 2.3.0 to 2.2.0 . as shown in Figure 1
2. The plugin-api-version attribute in the file helps ensure compatibility between dependencies and plugins, which is essential for maintaining stability and efficiency. Decided to avoid changes to plugin-api-version as much as possible. Execute composer self-update to update the composer version. as shown in Figure 2
PS E:\wwwroot\xxx\platform> composer self-update
Upgrading to version 2.5.5 (stable channel).
Use composer self-update --rollback to return to version 2.2.6
3. After executing composer require again, in composer.lock, plugin-api-version will no longer change. as shown in Figure 3


