Trying to install Filament

Hello, I am trying to install Filament for my project. I ran the following command as per the instructions in the docs: PS C:\laragon\www\Ookma-Kyi-Core> composer require filament/filament:"^3.2" -W and I got the following output:
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.16] but these were not loaded, likely because it conflicts with another require.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\Ookma-Kyi-Core>
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.16] but these were not loaded, likely because it conflicts with another require.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\Ookma-Kyi-Core>
As per the docs the requirements are: Filament requires the following to run: PHP 8.1+ Laravel v10.0+ Livewire v3.0+ Which I meet. It seems I met the other requirements but it failed to load for some reason.
22 Replies
awcodes
awcodes5mo ago
Windows will strip the ^ sometimes. Try just composer require filament/filament -W If that doesn’t work. Just add ”filament/filament”: “^3.2” directly in composer.json and run composer update
Ookma-Kyi Project Leader
Adding it to the composer.json worked after enabling the zip extension. How do I request an update to the documentation to mention this gotcha in the getting started section of the documentation?
LeandroFerreira
LeandroFerreira5mo ago
in the footer pages
No description
Ookma-Kyi Project Leader
GitHub
Added instructions for Windows developers by Ookma-Kyi · Pull Reque...
Description I have included detailed instructions for Windows developers who are attempting to install the package. Visual changes No visual changes Functional changes [X ] Code style has been fi...
Dennis Koch
Dennis Koch5mo ago
What terminal are you using?
LeandroFerreira
LeandroFerreira5mo ago
Laravel Herd
Laravel Herd
Laravel Development perfected - One click PHP development environment.
Ookma-Kyi Project Leader
I can't afford it. Right now I am getting my Jetbrain license for free as an open source developer ( https://www.jetbrains.com/community/opensource/ ).
JetBrains
Licenses for Open Source Development
JetBrains supports development of non-commercial open-source projects by providing core project contributors with a set of best-in-class developer tools.
LeandroFerreira
LeandroFerreira5mo ago
Herd basic is free
Dennis Koch
Dennis Koch5mo ago
That's a bit unrelated, though, right? 😅
LeandroFerreira
LeandroFerreira5mo ago
yep, off topic 😅
Dennis Koch
Dennis Koch5mo ago
@Ookma-Kyi Project Leader Can you try a fresh install but use single quotes? composer require 'filament/filament:^3.2' -W I think it's some escaping with Powershell
Ookma-Kyi Project Leader
How do I do a fresh install?
Dennis Koch
Dennis Koch5mo ago
Can you quickly create a new Laravel project and install Filament and see whether it works?
Ookma-Kyi Project Leader
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
Nope, using single quotes composer require 'filament/filament:^3.2' -W on a fresh project didn't work.
Dennis Koch
Dennis Koch5mo ago
Probably composer require "filament/filament:^3.2" -W doesn't work either? What about: composer require filament/filament:^^3.2 -W?
Ookma-Kyi Project Leader
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
Nope And also no to the last one:
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
PS C:\laragon\www\filament> 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.16] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\laragon\www\filament>
Dennis Koch
Dennis Koch5mo ago
Powershell is really not liking carets ^
LeandroFerreira
LeandroFerreira5mo ago
composer require filament/filament="3.2.95" -W works?
Dennis Koch
Dennis Koch5mo ago
It's just the caret that being stripped by Powershell
Ookma-Kyi Project Leader
Stack Overflow
Using a caret(^) when using Git for Windows in PowerShell
I'm using git at the command line with PowerShell, and I'm trying to use something like git difftool HEAD^ Powershell seems to treat this as if I typed git difftool HEAD so the caret symbol is ...
Want results from more Discord servers?
Add your server