slimphp / Slim-Skeleton

Slim Framework 4 Skeleton Application
http://www.slimframework.com
MIT License
1.58k stars 477 forks source link

PHP version bump #344

Open JimTools opened 6 months ago

JimTools commented 6 months ago

With the recent... ish release of PHP 8.3, I think the project can bump the version. this wouldn't break backwards compatibility as the skeleton is only used to create a new Slim App and would also allow for other packages to be upgraded.

Supported Versions

carlosmintfan commented 4 months ago

Hmm, but what if somebody wants to create a new app that should also be compatible with older PHP versions?

JimTools commented 4 months ago

I guess theirs an argument for both side, if you creating something new then newest language features are preferable and the performance gains form newer versions.

But if you’re constrained by your production environment would also be nice to have that option.

can you can tell I’m in the first camp, if your making something new use update things it also means you can make more assumptions as a maintainer (rightly or wrongly.)

Ultimately this is a decision is for the maintainers.

carlosmintfan commented 4 months ago

What I'd suggest (yes, not a maintainer) is: if you want to drop something, drop 7.4. But not everything until 8.3. I'm using the latest Linux Mint distro, based on Ubuntu Jammy, I think, and there I've 8.1, I think. So please don't make the latest version of this package useless/hard for people just using the php version of their distro.