1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: Robin Gustafsson <robin@rgson.se>
Date: Sat, 4 Oct 2025 21:47:47 +0200
Subject: Remove spatie/once from composer.json
The spatie/once library can be functionally replaced by functionality
in illuminate/support, but it's not exactly contained within.
The other "replaces" packages are contained within the Laravel source
code and we split them into separate binary packages.
There's no real relation to spatie/once here and its sources aren't
contained within Laravel, so we drop this "replaces" relation to
avoid complicating the handling of "replaces" when packaging.
Forwarded: not-needed
---
composer.json | 3 +--
src/Illuminate/Support/composer.json | 3 ---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/composer.json b/composer.json
index a1d065c..ecc979f 100644
--- a/composer.json
+++ b/composer.json
@@ -91,8 +91,7 @@
"illuminate/testing": "self.version",
"illuminate/translation": "self.version",
"illuminate/validation": "self.version",
- "illuminate/view": "self.version",
- "spatie/once": "*"
+ "illuminate/view": "self.version"
},
"require-dev": {
"ext-gmp": "*",
diff --git a/src/Illuminate/Support/composer.json b/src/Illuminate/Support/composer.json
index 493ce84..f283fbc 100644
--- a/src/Illuminate/Support/composer.json
+++ b/src/Illuminate/Support/composer.json
@@ -29,9 +29,6 @@
"conflict": {
"tightenco/collect": "<5.5.33"
},
- "replace": {
- "spatie/once": "*"
- },
"autoload": {
"psr-4": {
"Illuminate\\Support\\": ""
|