How can i use spatie translatable in v4 ?

composer require filament/spatie-laravel-translatable-plugin -W
./composer.json has been updated
Running composer update filament/spatie-laravel-translatable-plugin --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/spatie-laravel-translatable-plugin * -> satisfiable by filament/spatie-laravel-translatable-plugin[v3.2.80, ..., 3.x-dev].
  • filament/spatie-laravel-translatable-plugin[v3.2.80, ..., 3.x-dev] require filament/filament ^3.0 -> found filament/filament[v3.0.0-alpha1, ..., 3.x-dev] but it conflicts with your root composer.json require (~4.0).
You can also try re-running composer require with an explicit version constraint, e.g. "composer require filament/spatie-laravel-translatable-plugin:*" to figure out if any version is installable, or "composer require filament/spatie-laravel-translatable-plugin:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

i put
"repositories": [
{
"type": "github",
"url": "https://github.com/lara-zeus/translatable"
}
],
and
"minimum-stability": "dev",

on my composer.jsom
Was this page helpful?