Filament Upgrade Composer Error

I just upgraded to the latest filament version using the composer update command. This means that other dependencies where upgraded as well such as Symfony. And it seems that some Symfony packages now require a minimum of php8.2. This automatically mean that Laravel & Filament projects will require same version. Is anyone experiencing this?
No description
4 Replies
stanwarri
stanwarriOP12mo ago
This is the error I'm currently having with my project
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.18. in /Users/myprojects/code/lifebank/vendor/composer/platform_check.php on line 24
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.18. in /Users/myprojects/code/lifebank/vendor/composer/platform_check.php on line 24
DrByte
DrByte12mo ago
Laravel specifies the version of symfony dependencies it is built for. So it won't try to use something newer than the Laravel version dependency supports. So that means perhaps you have hardcoded something else that's creating the error? Perhaps post your whole composer.json file? And maybe also the output of composer outdated ? Sometimes it's helpful to delete the entire /vendor folder and the composer.lock file before doing a big composer update ... that way it doesn't get confused by anything already downloaded. And runs faster too.
stanwarri
stanwarriOP12mo ago
@DrByte Thanks for your response. I actually tried a fresh install of Laravel yesterday and got the same error. Not sure if it's a composer global thing
DrByte
DrByte12mo ago
Seems like something in your environment then.
Want results from more Discord servers?
Add your server