F
Filamentβ€’2w ago
ericmp

Can't install Filament on Laravel 12 fresh app

[Edit] WIP -> https://github.com/filamentphp/filament/pull/15695 [Original question]: Steps to reproduce it: 1- Install a fresh Laravel v12 project 2- Do: composer require filament/filament:"^3.2" -W:
./composer.json has been updated
Running composer update filament/filament --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/filament ^3.2 -> satisfiable by filament/filament[v3.2.0, ..., v3.2.142].
- Root composer.json requires laravel/framework ^12.0 -> satisfiable by laravel/framework[v12.0.0, v12.0.1].
- filament/filament[v3.2.0, ..., v3.2.35] require illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.28].
- illuminate/queue[v10.0.0, ..., v10.48.28] require illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.28].
- filament/filament[v3.2.39, ..., v3.2.142] require illuminate/auth ^10.45|^11.0 -> satisfiable by illuminate/auth[v10.45.0, ..., v10.48.28, v11.0.0, ..., v11.44.0].
- filament/filament[v3.2.36, ..., v3.2.38] require illuminate/console ^10.45 -> satisfiable by illuminate/console[v10.45.0, ..., v10.48.28].
- illuminate/auth[v10.0.0, ..., v10.48.28] require illuminate/queue ^10.0 -> satisfiable by illuminate/queue[v10.0.0, ..., v10.48.28].
- illuminate/console[v10.17.0, ..., v10.48.28] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.17.0] but these were not loaded, likely because it conflicts with another require.
- Conclusion: don't install illuminate/auth v11.44.0 (conflict analysis result)


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
./composer.json has been updated
Running composer update filament/filament --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/filament ^3.2 -> satisfiable by filament/filament[v3.2.0, ..., v3.2.142].
- Root composer.json requires laravel/framework ^12.0 -> satisfiable by laravel/framework[v12.0.0, v12.0.1].
- filament/filament[v3.2.0, ..., v3.2.35] require illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.28].
- illuminate/queue[v10.0.0, ..., v10.48.28] require illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.28].
- filament/filament[v3.2.39, ..., v3.2.142] require illuminate/auth ^10.45|^11.0 -> satisfiable by illuminate/auth[v10.45.0, ..., v10.48.28, v11.0.0, ..., v11.44.0].
- filament/filament[v3.2.36, ..., v3.2.38] require illuminate/console ^10.45 -> satisfiable by illuminate/console[v10.45.0, ..., v10.48.28].
- illuminate/auth[v10.0.0, ..., v10.48.28] require illuminate/queue ^10.0 -> satisfiable by illuminate/queue[v10.0.0, ..., v10.48.28].
- illuminate/console[v10.17.0, ..., v10.48.28] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.17.0] but these were not loaded, likely because it conflicts with another require.
- Conclusion: don't install illuminate/auth v11.44.0 (conflict analysis result)


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
GitHub
Laravel 12 support by danharrin Β· Pull Request #15695 Β· filamentphp...
Laravel 12 supportΒ AnourValar/eloquent-serialize#21
38 Replies
ericmp
ericmpOPβ€’2w ago
composer.json:
ericmp
ericmpOPβ€’2w ago
ericmp
ericmpOPβ€’2w ago
how would u fix it? also, r u having this issue or its only me?
! SEFA !
! SEFA !β€’2w ago
i have this problem too
Chan Lay
Chan Layβ€’2w ago
I’ve faced the same issues you just experienced recently.
! SEFA !
! SEFA !β€’2w ago
Since Laravel 12 was released recently, there might be compatibility issues. Hopefully, it will be fixed soon.
ericmp
ericmpOPβ€’2w ago
yeah hope so πŸ™ not sure if we should ping someone from the staff or something
stursby
stursbyβ€’2w ago
yea, those errors just look like Composer can't satisfy specific package versions that are pinned down in both Laravel 12 and Filament
! SEFA !
! SEFA !β€’2w ago
I'm not sure either, but getting a quick response would be great.
ericmp
ericmpOPβ€’2w ago
i wanna ping dan 😭 but im afraid of doing so
Dan Harrin
Dan Harrinβ€’2w ago
patience
ericmp
ericmpOPβ€’2w ago
(:
! SEFA !
! SEFA !β€’2w ago
Tagging someone is against the rules.
Dan Harrin
Dan Harrinβ€’2w ago
packages take time to upgrade. it takes human work
ericmp
ericmpOPβ€’2w ago
sure!
Dan Harrin
Dan Harrinβ€’2w ago
we are waiting on a dependency to upgrade so we can do it ourselves i have already submitted a PR to the dependency and to Filament please just be patient. laravel 12 has been out for a matter of hours install Laravel 11 if you need to use Filament, its basically the same anyway
ericmp
ericmpOPβ€’2w ago
thanks for letting us knowwww
! SEFA !
! SEFA !β€’2w ago
Thanks ❀️
stursby
stursbyβ€’2w ago
Can I use it with Laravel 13? lolol I'm kidding πŸ˜‚
! SEFA !
! SEFA !β€’2w ago
I was about to start learning Filament, that's why I'm excited.
Dan Harrin
Dan Harrinβ€’2w ago
considering there are no BCs, I wish Laravel didnt release a new major. its just a ton of work for all the package maintainers for 0 benefit
stursby
stursbyβ€’2w ago
is it just because of their release cycle?
Dan Harrin
Dan Harrinβ€’2w ago
but what does that really mean though? just prolong the life of l11 theres no technical releason behind "release cycle"
stursby
stursbyβ€’2w ago
πŸ€·β€β™‚οΈ I feel like they now have a specific cadence where they release majors on a schedule
Dan Harrin
Dan Harrinβ€’2w ago
yeah they do, but whats the point in this case
stursby
stursbyβ€’2w ago
Just do this for now!
composer create-project laravel/laravel="^11" my-project
composer create-project laravel/laravel="^11" my-project
! SEFA !
! SEFA !β€’2w ago
yea i did
DarkMatter
DarkMatterβ€’7d ago
The problem seems to be in the illuminati/console required by filament 3.2: - filament/filament v3.2.0 requires illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.28]. - illuminate/console[v10.17.0, ..., v10.48.28] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.17.0] but it conflicts with your root composer.json require (^2.3). We just need to wait the filament update to accept the new requirements.
Dan Harrin
Dan Harrinβ€’7d ago
A L12-compatible version is released, but you're gonna have to wait for https://github.com/ryangjchandler/blade-capture-directive/pull/23 before upgrading
GitHub
Laravel 12.x Compatibility by laravel-shift Β· Pull Request #23 Β· ry...
This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 12.x. Before merging, you need to: Checkout the l12-compatibility branch Rev...
LJ
LJβ€’6d ago
Any word on Minimal Theme getting v12 compatibility? πŸ™ˆ It was throwing composer errors for me too on upgrade
Dan Harrin
Dan Harrinβ€’6d ago
@Zep Fietje
Zep Fietje
Zep Fietjeβ€’6d ago
Minimal Theme should be compatible with Laravel 12 already. Could you please send me the exact error you run into at [email protected]?
LJ
LJβ€’6d ago
It does not want to accept my email from my 'work' email nor gmail;
LJ
LJβ€’6d ago
No description
LJ
LJβ€’6d ago
Problem 1
- Root composer.json requires filament/minimal-theme ^3.1 -> satisfiable by filament/minimal-theme[3.1.0, 3.1.1, 3.1.2, 3.2.0].
- Root composer.json requires laravel/framework ^12.0 -> satisfiable by laravel/framework[v12.0.0, v12.0.1].
- filament/minimal-theme[3.1.0, ..., 3.1.1] require illuminate/support ^10.0|^11.0 -> satisfiable by illuminate/support[v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0].
- Conclusion: don't install laravel/framework v12.0.1 (conflict analysis result)
- Conclusion: don't install filament/minimal-theme 3.2.0 (conflict analysis result)
- Only one of these can be installed: illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0, v12.0.0, v12.0.1], laravel/framework[v12.0.0, v12.0.1]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Only one of these can be installed: spatie/once[3.1.0, 3.1.1], illuminate/support[v11.0.0, ..., v11.44.0, v12.0.0, v12.0.1], laravel/framework[v12.0.0, v12.0.1]. [illuminate/support, laravel/framework] replace spatie/once and thus cannot coexist with it.
Problem 1
- Root composer.json requires filament/minimal-theme ^3.1 -> satisfiable by filament/minimal-theme[3.1.0, 3.1.1, 3.1.2, 3.2.0].
- Root composer.json requires laravel/framework ^12.0 -> satisfiable by laravel/framework[v12.0.0, v12.0.1].
- filament/minimal-theme[3.1.0, ..., 3.1.1] require illuminate/support ^10.0|^11.0 -> satisfiable by illuminate/support[v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0].
- Conclusion: don't install laravel/framework v12.0.1 (conflict analysis result)
- Conclusion: don't install filament/minimal-theme 3.2.0 (conflict analysis result)
- Only one of these can be installed: illuminate/support[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0, v12.0.0, v12.0.1], laravel/framework[v12.0.0, v12.0.1]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Only one of these can be installed: spatie/once[3.1.0, 3.1.1], illuminate/support[v11.0.0, ..., v11.44.0, v12.0.0, v12.0.1], laravel/framework[v12.0.0, v12.0.1]. [illuminate/support, laravel/framework] replace spatie/once and thus cannot coexist with it.
The theme seems to have a require for illuminate/support 10|11, but Laravel 12 uses v12 of it;
anand2852
anand2852β€’6d ago
I am also encountering the same error when trying to update to Laravel version 12.
prowler
prowlerβ€’5d ago
same here
Zep Fietje
Zep Fietjeβ€’5d ago
Whoops, I mistyped my email, sorry. πŸ˜‚ Should've been [email protected] @LJ @anand2852 @prowler thanks for letting me know. I just checked and it seems something went wrong when tagging the release (I had actually made the change to support Laravel 12). v3.2.1 of the Filament Minimal Theme has just been released (which actually includes that change πŸ˜‚) with proper Laravel 12 support. Sorry for the inconvenience, and thanks again for reporting the issue! πŸ˜ŠπŸ’›

Did you find this page helpful?