Closed Shaz3e closed 4 months ago
Hey @Shaz3e! We're sorry to hear that you've hit this issue. 💛
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
Thank you for providing reproduction steps! Reopening the issue now.
@Shaz3e I just used composer require filament/filament -W
and it installed OK. I had the same error with the 3.2 constraint.
Do you maybe use Windows? The ^
is an escape character in the Windows terminal and is therefor removed before executing composer. You could try it with filament/filament:^^3.2
or filament/filament:^^^^3.2
. This should not be filament specific, and should happen with any composer package which defined a constraint.
Yes when I install without any extra flag it works and following is working fine
composer require filament/filament
I have same error too and i use command like this. Maybe because i use laragon
composer require filament/filament --ignore-platform-req=ext-zip
I am getting the same problem i cant install filament. when i use
composer require filament/filament
Your requirements could not be resolved to an installable set of packages.
Problem 1
To enable extensions, verify that they are enabled in your .ini files:
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.Installation failed, reverting ./composer.json and ./composer.lock to their original content.
help :(
I have same error too and i use command like this. Maybe because i use laragon
composer require filament/filament --ignore-platform-req=ext-zip
thanks it's work
I too had these errors installing Filament on Windows 10 using Herd.
Running composer require filament/filament --ignore-platform-req=ext-zip
as recommended above solved the issue.
i have same error when i install without version like that composer require filament/filament the error was resolve
@Shaz3e I just used
composer require filament/filament -W
and it installed OK. I had the same error with the 3.2 constraint.
YO THANKYOU SO MUCH
just enable zip extension in php.ini
Package
filament/filament
Package Version
v3.2
Laravel Version
v11.9
Livewire Version
v3.0.0
PHP Version
PHP 8.2.13
Problem description
When I run the following command
I showed the following logs
Expected behavior
Expected behavior was to install the filament but installation stopped due to log mentioned log
Steps to reproduce
Install fresh laravel
without breeze and mysql
Reproduction repository (issue will be closed if this is not valid)
repo
Relevant log output
Donate 💰 to fund this issue