Those are PHP packages, they should not affect client side. You probably have PHP errors (possibly PHP version issues) so the outputted HTML is malformed and therefore the client side JavaScripts are affected. You should:
Install PHP packages by Tools → Composer packages, (no need to install “firebase/php-jwt” yourself as it is used by PHPMaker already)
Press F12 in your browser and go to the Console panel check for client side JavaScript error.
Enable debug and check the log files for server side erors, also see check HTTP response.
I mean I need to upload a video to youtube. To do this, I need to install the package google/apiclient. I add packages via Tools → Composer. When I start to generate the project, I get an error. The firebase/php- jwt package that is being used is incompatible with the google api. I have to install a later version. After installing these 2 packages, the functionality about which I started this topic stops working for me. If I remove those 2 packages everything works fine again.
v2023 uses firebase/php-jwt: ^6.3.0, but “google/apiclient” uses firebase/php-jwt: ~6.0, so you simply add firebase/php-jwt: ~6.0 or firebase/php-jwt: 6.0.0 under Tools → Composer Packages.
Running composer update -n --ignore-platform-req php...
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires google/apiclient ^2.15.0 -> satisfiable by google/apiclient[v2.15.0].
- google/apiclient v2.15.0 requires firebase/php-jwt ~6.0 -> found firebase/php-jwt[v6.0.0, ..., v6.8.0] but it conflicts with your root composer.json require (^5.2.0).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Note that in your case you should specify exactly “2.14.0” (without “^”, not “^2.14.0”). The caret version, ^1.2.3 permits versions from 1.2.3 all the way up to, but not including, the next major version, 2.0.0. If you want to learn more, read Semantic Versioning.
What did you see from Tools → Composer Packages? Which Packages are already listed in there, and what version for each Package?
Here I see only those packages that I myself add. I am changing the version. Packages that were already initially installed on the system, I do not see here.