We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
To update the PHP version in the composer.json
file, you need to peform two steps.
First, you need to update the php version in the composer.json
file:
{
"require": {
"php": "^8.4"
}
}
Then you can update the composer.lock
file by running:
composer update php
Done!
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.