Skip to content

Comments

Update code for PHP 8.4 and replace abandoned dependency#17

Open
skyler544 wants to merge 1 commit intokevinsmith:masterfrom
skyler544:replace-narrowspark-http-emitter
Open

Update code for PHP 8.4 and replace abandoned dependency#17
skyler544 wants to merge 1 commit intokevinsmith:masterfrom
skyler544:replace-narrowspark-http-emitter

Conversation

@skyler544
Copy link

Thanks for the great blog post!

I'm using PHP 8.4 and found that I only needed to make minor changes to get the code working:

  1. Update laminas/laminas-diactoros:
composer require laminas/laminas-diactoros:^3.8 --with-all-dependencies
  1. Replace narrowspark/http-emitter (abandoned, not installable with PHP 8.4):
composer require laminas/laminas-httphandlerrunner
composer remove narrowspark/http-emitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant