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?4 Replies
This is the error I'm currently having with my project
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.@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
Seems like something in your environment then.