Skip to main content

BelongsTo: Dropdown for Voucher Product

Premium
5:11

The Full Lesson is Only for Premium Members

Want to access all of our courses? (31 h 16 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

RS
ramin sherwani ✓ Link copied!

hi i get this error when try to instal filament v.2

PS C:\Users......\Desktop\filatest> composer require filament/filament:"^2.0" The "2.0" 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 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 2.0, found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.

Installation failed, reverting ./composer.json and ./composer.lock to their original content. PS C:\Users\Ramin\Desktop\filatest> composer require filament/filament:"^2.0" -w The "2.0" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints

PK
Povilas Korop ✓ Link copied!

I would recommend installing v3 now, is there a specific reason why you need an older version?

RS
ramin sherwani ✓ Link copied!

hi yes i want us v2 because some filament plugins not compatible with v3

PK
Povilas Korop ✓ Link copied!

Maybe it's worth contributing to those plugins to support vę instead? Sorry, as for your error, hard to say, seems like it's the same as in the docs. Maybe try to use "2.0.0" instead of "^2.0"?