Closed malpaso closed 2 years ago
As mentioned on Discord, you don't have PHP 8 installed.
I'm receiving this error too: " [InvalidArgumentException] Could not find package filament/filament in a version matching "2.0" and a stability matching "dev"
I do have PHP 8.1.2
Screenshots below including Composer Diagnose:
Try just composer require filament/filament
Yes, that worked perfectly: composer require filament/filament
I wonder why it didn't work with this: composer require filament/filament:^2.0 from here: https://filamentadmin.com/docs/2.x/admin/installation
We were getting lots of questions asking why v1 was installing when they hadn't followed the v2 system requirements properly 😂 :^2.0
works well for most people I think, not sure why its different for some people. Maybe it's Windows?
Package
filament/filament
Package Version
v2.0
Laravel Version
v8.6.10
Livewire Version
v2.8
PHP Version
PHP 8.1.1
Bug description
Unable to install Filament, receive the message below `composer require filament/filament:^2.0
[InvalidArgumentException] Could not find package filament/filament in a version matching "2.0" and a stability matching "dev".
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...`
Steps to reproduce
composer require filament/filament:^2.0
Taken from Filament Installation
Relevant log output
No response