crater icon indicating copy to clipboard operation
crater copied to clipboard

PHP8.2 Support

Open shinsenter opened this issue 2 years ago • 7 comments

Is your feature request related to a problem? Please describe. PHP8.2 is officially released few days ago. So it would be great if Crater is ready for a newer (and safer) running environment.

Describe the solution you'd like Crater should support PHP8.2 environments.

Describe alternatives you've considered Fix some issue with deprecated features in PHP8.2.

Related discussion: https://github.com/shinsenter/php/discussions/17

shinsenter avatar Dec 12 '22 23:12 shinsenter

We can add support for PHP8.2 early next. I think it's still a bit new and I haven't really updated my projects on 8.2 yet tbh.

mohitpanjwani avatar Dec 17 '22 12:12 mohitpanjwani

Current workaround to get this project running on PHP 8.2:

  • Remove this line: https://github.com/crater-invoice/crater/blob/master/composer.json#L38
  • Remove this lines: https://github.com/crater-invoice/crater/blob/master/composer.json#L42-L43
  • Remove this lines: https://github.com/crater-invoice/crater/blob/master/composer.json#L45-L48
  • Remove this line: https://github.com/crater-invoice/crater/blob/05d5ce26fdd8d9466009163444e944259bc0cc2a/config/app.php#L172
  • run composer update --no-dev

Not all functionality has been tested.

madc avatar Aug 24 '23 08:08 madc

The only thing I had to do was to update vendor/nestbot/carbon with a newer version. Seems to be working fine.

miguelcobain avatar Sep 22 '23 23:09 miguelcobain

I'd love to see Laravel upgraded as well, at the moment PHP 8.0 is at end of life and 8.1 has entered security fixes only with PHP 8.2 and 8.3 being the only currently supported PHP versions.

At the moment I am having issues installing Crater because of the old packages on a modern server.

adampatterson avatar Dec 03 '23 19:12 adampatterson

The Pixxet fork hasn't Seen any Activity so far. Would it be possible to add some maintainers to the Main repo so we can ensure newer PHP compatibility

swiffer avatar Dec 03 '23 20:12 swiffer

I'm a bit sceptical of Craters direction at the moment, with the account creation on the website and payments being a paid add on.

The number of issues has steadily been climbing. The last commit was from me nearly a year ago.

I'm hoping that the community can keep the project going but I fear that it's been forged and being worked on privately as a PaaS product.

adampatterson avatar Dec 03 '23 20:12 adampatterson

2024

shinsenter avatar Jan 10 '24 09:01 shinsenter