CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

Dev: drop PHP 7.4 support

Open kenjis opened this issue 3 years ago • 5 comments

PHP 7.4 reached the end of life on 28 Nov 2022. https://www.php.net/supported-versions.php

  • [x] update minimum version to PHP 8.0
    • #7924
  • [x] update PSR\Log to v3. See #4936
  • [x] update PSR\Log to v2
    • #7967
  • [ ] refactor for PHP 8.0
    • #8354
    • #7964

kenjis avatar Nov 29 '22 00:11 kenjis

Good option, need mind on news updates made from php8.2 not old dangerous versions on php7

juanma386 avatar Jan 10 '23 21:01 juanma386

I would like to drop 7.4 support in v4.5.

kenjis avatar Sep 08 '23 02:09 kenjis

I like. But do you think it is necessary to include features from 8.0 - 8.2? Enum, read only.. and update the old features? As in my case str_starts_with

neznaika0 avatar Sep 08 '23 02:09 neznaika0

If we drop 7.4, we can use new features in 8.0. But all code must run in PHP 8.0, so we cannot use new features in 8.1 or 8.2.

kenjis avatar Sep 08 '23 03:09 kenjis

Now PHP 7.4's share is 25%. Screenshot 2024-02-15 14 09 01 https://packagist.org/packages/codeigniter4/framework/php-stats#all

kenjis avatar Feb 15 '24 05:02 kenjis

Now PHP 7.4's share is 25%. Screenshot 2024-02-15 14 09 01 https://packagist.org/packages/codeigniter4/framework/php-stats#all

Greetings,

Could you share any information on when PHP 7.4 support will end for CodeIgniter 4? I'm facing challenges installing new packages because of dependency issues related to older versions, notably with psr/log. Your insight would greatly help in planning for future project upgrades and overcoming these installation hurdles.

Thank you.

aslanutku avatar Mar 07 '24 21:03 aslanutku

@aslanutku v4.5.0 will drop PHP 7.4 support. I do not know when that can be released, but I personally would like to do it as soon as possible. I hope to release it within a month or at the latest within a couple of months. However, if the reviews do not proceed, the release cannot be made.

kenjis avatar Mar 07 '24 22:03 kenjis

Now PHP 7.4 is 10.9%, and 8.0 is 8.2%. Screenshot 2024-04-06 9 56 08

kenjis avatar Apr 06 '24 00:04 kenjis

Closed by #8354

kenjis avatar Apr 07 '24 09:04 kenjis