Skip to content

chore(deps): remove explicit laravel/serializable-closure dependency#136

Open
easytzb wants to merge 1 commit into
webman-php:mainfrom
easytzb:main
Open

chore(deps): remove explicit laravel/serializable-closure dependency#136
easytzb wants to merge 1 commit into
webman-php:mainfrom
easytzb:main

Conversation

@easytzb

@easytzb easytzb commented Jul 24, 2026

Copy link
Copy Markdown

背景

composer require -W webman/admin ~2.0 时出现依赖冲突:

  • webman/admin require laravel/serializable-closure ^1.0(最初是为了解决 illuminate/database 未声明该依赖的兼容问题)
  • illuminate/database ^13.20 require laravel/serializable-closure ^2.0.10

修复

删除 composer.json 中的 "laravel/serializable-closure": "^1.0",因为 illuminate/database 现在已正确声明自己的依赖,不再需要此 workaround。

验证

移除后,composer require -W webman/admin ~2.0 可正常安装,依赖由 illuminate/database 自行管理。

illuminate/database ^13.20 now depends on laravel/serializable-closure ^2.0.10,
which conflicts with webman/admin's pinned ^1.0 constraint.

Since illuminate/database properly declares its own dependency now, the
workaround is no longer needed and should be removed to resolve the conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants