Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Argonaut Dto Laravel Package

yorcreative/laravel-argonaut-dto

Laravel Argonaut DTO transforms arrays, objects, and collections into structured, immutable DTOs with deep nested casting, type-safe conversion, Laravel validation, attribute prioritization, and clean toArray/toJson serialization.

View on GitHub
Deep Wiki
Context7
v1.6.0

What's Changed

Full Changelog: https://github.com/YorCreative/Laravel-Argonaut-DTO/compare/v1.5.0...v1.6.0

v1.5.0

What's Changed

Full Changelog: https://github.com/YorCreative/Laravel-Argonaut-DTO/compare/v1.4.0...v1.5.0

v1.4.0

What's Changed

  • Refactor ArgonautDTO internals into reusable traits (HasCasting, HasSerialization, HasValidation)
  • Adds ArgonautImmutableDTO base class with readonly property support via reflection
  • Adds BackedEnum casting support for single properties, arrays, and collections
  • Adds only(), except(), and merge() serialization helpers
  • Adds PHP 8.5 to CI matrix and PHPStan (level 5) to the pipeline
  • Bumps actions/checkout from v2 to v4

Full Changelog: https://github.com/YorCreative/Laravel-Argonaut-DTO/compare/v1.3.0...v1.4.0

v1.3.0

What's Changed

  • ArgonautImmutableDTO - New base class for creating readonly DTOs that cannot be modified after construction
  • Trait-based architecture - Extracted HasCasting, HasValidation, and HasSerialization traits for code reuse
  • PHPStan static analysis - Added level 5 static analysis with CI integration
  • PHP 8.5 support - Added PHP 8.5 to composer requirements and CI test matrix

Bug Fixes

  • getAttributesToUpdate() now properly excludes nestedAssemblers property (previously only excluded casts and prioritizedAttributes)

Improvements

  • Test coverage improved from 99.10% to 100%
  • Added test for from<ClassName> assembler method pattern
  • Updated actions/checkout to v4 in CI workflow
  • Fixed documentation typos in README

Full Changelog: https://github.com/YorCreative/Laravel-Argonaut-DTO/compare/v1.2.0...v1.3.0

v1.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/YorCreative/Laravel-Argonaut-DTO/compare/v1.0.0...v1.1.0

v1.0.0

Initial Release Notes

Laravel Argonaut DTO is a lightweight, highly composable package for transforming arrays, objects, or collections into structured DTOs (Data Transfer Objects), with built-in support for:

🧱 Deep nested transformation and casting 🔁 Type-safe data conversion ✅ Validation using Laravel’s validator 🧠 Explicit attribute prioritization 📦 Clean serialization (toArray, toJson) ♻️ Consistent data shape enforcement across boundaries

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings