refactor(dto): replace spatie/data-transfer-object with plain readonly class (#46)

The spatie/data-transfer-object package is abandoned. Replace it with a
native PHP 8.4 final readonly class using a static factory method,
removing the dependency entirely.
This commit is contained in:
2026-02-24 21:36:21 +02:00
committed by GitHub
parent a706aac668
commit 728388b473
4 changed files with 30 additions and 85 deletions

View File

@@ -23,8 +23,7 @@
},
"require": {
"php": "^8.4",
"illuminate/http": "^12.17",
"spatie/data-transfer-object": "^3.7"
"illuminate/http": "^12.17"
},
"require-dev": {
"captainhook/captainhook": "^5.28",