illuminate/console
Hi, I'm new in Filament, and i have problems with composer intall
composer require filament/filament:"^3.2" -W
The "3.2" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
- filament/filament v3.2.0 requires illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., v10.48.22] but these were not loaded, likely because it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
π§
Versions and constraints - Composer
A Dependency Manager for PHP
8 Replies
I experienced this since 2 days i still cant installed it
It's a common issue that Windows Shell removes the
^
character and therefore it tries to install 3.2
instead of ^3.2
Try
1) composer require "filament/filament:^3.2" -W
or 2) composer require filament/filament:"^^3.2" -W
or 3) According to Composer page it's composer require filament/filament:"^^^^3.2" -W
https://getcomposer.org/doc/articles/versions.md#caret-version-range-In my case, in my local dev environment, I updated my PHP and the ext-zip was no longer enabled .. Gave that exact error.
That should give you an error about
ext-zip
though? π€Yes, you would think so. But I think depends on the terminal used. Because this is what I got from the VSCode terminals:
I guess it's exactly the same issue as above. You are in Windows, too, right?
Yes sir π
On Windows, the error messages are not always telling the whole truth.
But also on Windows, in another terminal, I got the error where it tells that ext-zip extension.
But also on Windows, in another terminal, I got the error where it tells that ext-zip extensionYes. So you probably had 2 different issues in those terminals. First one because it modified to constraint and then because it didn't but the extension was missing.