tomw,
@tomw@mastodon.social avatar

Is Composer just completely stuffed in PHP8 or am I doing something wrong?

(Composer's website seems to list 7.2 as the most recent supported version.)

stof,
@stof@phpc.social avatar

@tomw composer lists 7.2 as the minimum supported version of Composer 2.3+, not as the maximum version.

dragonmantank,
@dragonmantank@phpc.social avatar

@tomw Composer itself should be fine, but you might get deprecation warnings for old plugins and stuff in individual projects.

bdsl,

@tomw I think you're seeing "7.2+", not just "7.2". It means 7.2 and anything higher.

Crell,
@Crell@phpc.social avatar

@tomw The latest release of Composer works great on PHP 8.x. It just has 7.2 as a minimum.

OldTroll,
@OldTroll@phpc.social avatar

@tomw the deprecations are probably expected. Shifting from 7 to 8 on all of my projects saw similar. Updating the managed packages resolved most of it. My own code needed some updates as well. It is a bit overwhelming at first though.

ramsey,
@ramsey@phpc.social avatar

@tomw It works for me. What problems are you running into?

artabazoom,

@tomw have you tried "composer selfupdate"? Sometimes you're stuck with an ancient version that got installed by another package manager :-(

tomw,
@tomw@mastodon.social avatar

@artabazoom I'll give it a go

michael,
@michael@thms.uk avatar

@tomw working for me on 8.2.

Any specific issues?

tomw,
@tomw@mastodon.social avatar

@michael 'composer install' spewed out miles of deprecation warnings and didn't install anything. I know that's not really specific enough to debug, will have another try with it

michael,
@michael@thms.uk avatar

@tomw make sure you got the latest version as well

tomw,
@tomw@mastodon.social avatar

@michael Ah, it's because I used the version from apt isn't it? Ugh

derickr,
@derickr@phpc.social avatar

@tomw @michael Likely, I wouldn't ever run that from apt

michael,
@michael@thms.uk avatar

@tomw ah. could well be. never used that one 😆

bohwaz,
@bohwaz@mamot.fr avatar

deleted_by_author

  • Loading...
  • tomw,
    @tomw@mastodon.social avatar

    @bohwaz @michael Yes I think that's exactly what I did

    artabazoom,

    @tomw https://github.com/composer/composer says PHP 7.2.5 or above is needed for the latest version of composer. I'm using it with PHP 8.1 since ages without problems. Do you get an error message?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • Durango
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • Leos
  • kavyap
  • modclub
  • ethstaker
  • JUstTest
  • everett
  • GTA5RPClips
  • cubers
  • khanakhh
  • ngwrru68w68
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • normalnudes
  • lostlight
  • All magazines