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:
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
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
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?in the footer pages
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...
What terminal are you using?
you should try Herd: https://herd.laravel.com/windows
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.
Herd basic is free
That's a bit unrelated, though, right? 😅
yep, off topic 😅
@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 PowershellHow do I do a fresh install?
Can you quickly create a new Laravel project and install Filament and see whether it works?
Nope, using single quotes
composer require 'filament/filament:^3.2' -W
on a fresh project didn't work.Probably
composer require "filament/filament:^3.2" -W
doesn't work either?
What about: composer require filament/filament:^^3.2 -W
?
Nope
And also no to the last one:
Powershell is really not liking carets
^
composer require filament/filament="3.2.95" -W
works?It's just the caret that being stripped by Powershell
That worked
Found this: https://stackoverflow.com/questions/9600549/using-a-caret-when-using-git-for-windows-in-powershell
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 ...