Error message when installing
PS C:\laragon\www\MindMap> 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
- filament/support v3.2.0 requires ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- filament/filament v3.2.0 requires filament/support v3.2.0 -> satisfiable by filament/support[v3.2.0].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run
Alternatively, you can run Composer with
- filament/support v3.2.0 requires ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- filament/filament v3.2.0 requires filament/support v3.2.0 -> satisfiable by filament/support[v3.2.0].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run
php --ini
in a terminal to see which files are used by PHP in CLI mode.Alternatively, you can run Composer with
--ignore-platform-req=ext-intl
to temporarily ignore these required extensions.Versions and constraints - Composer
A Dependency Manager for PHP
11 Replies
just enable intl module in php.ini
Read the output of composer. Problem 1.
i did enable it
hollup it's using the wrong php thing
i think i've fixed it
Problem 1
- illuminate/console[v10.0.0, ..., v10.48.4] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.15.1] but these were not loaded, likely because it conflicts with another require.
- filament/filament v3.2.0 requires illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.4].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
- illuminate/console[v10.0.0, ..., v10.48.4] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.15.1] but these were not loaded, likely because it conflicts with another require.
- filament/filament v3.2.0 requires illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.4].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].
Sounds like somethings blocks the Laravel 10 install. Did you install anything else? What's your PHP version?
Why do you need both Laragon && Xampp though?
i used to have it for school, but i uninstalled it now
newest, and I'm using laravel 11, could that be the problem?
it's working now! https://github.com/filamentphp/filament/issues/11239
the last comment fixed it i believe
GitHub
Cannot be installed with Laravel 11 (release date Feb 6) · Issue #1...
Package filament/filament Package Version v3.2 Laravel Version v11.0 Livewire Version v.3.4.4 PHP Version PHP 8.3.1 Problem description Filament cannot be installed with Laravel 11. composer requir...
That's a bad advice because you lock Filament to a certain version
ohh wdym? like i cant update it?
You need to manually look for the latest version and run that command again. Otherwise you are fixed to the version you selected even though you run
composer update
ahh okay
ill try to do that tysm man :)